Customer
顧客
type Customer {
id: String!
createdAt: DateTime!
updatedAt: DateTime!
displayName: String!
firstName: String
lastName: String
email: String
phone: String
rankName: String
}
Fields
Customer.id
● String!
non-null scalar
顧客ID
- 説明: 顧客の globally-unique ID
- 例:
"gid://shopify/Customer/1234567890"
Customer.createdAt
● DateTime!
non-null scalar
顧客作成日時
- 例:
"2025-01-21T14:00:00+09:00"
- 備考: JST
Customer.updatedAt
● DateTime!
non-null scalar
顧客更新日時
- 例:
"2025-01-21T14:00:00+09:00"
- 備考: JST
Customer.displayName
● String!
non-null scalar
顧客名(フルネーム)
- 例:
"山田 太郎"
Customer.firstName
● String
scalar
顧客名(名)
- 例:
"太郎"
- 備考: null の場合、未設定
Customer.lastName
● String
scalar
顧客名(姓)
- 例:
"山田"
- 備考: null の場合、未設定
Customer.email
● String
scalar
顧客メールアドレス
- 例:
"test@example.com"
- 備考: null の場合、未設定
Customer.phone
● String
scalar
顧客電話番号
- 例:
"090-1234-5678"
- 備考: null の場合、未設定
Customer.rankName
● String
scalar
会員ランク名
- 例:
"ゴールド会員"
- 備考: null の場合、ランクなし
Example
{
"id": "gid://shopify/Customer/1234567890",
"createdAt": "2025-01-21T14:00:00+09:00",
"updatedAt": "2025-01-21T14:00:00+09:00",
"displayName": "山田 太郎",
"firstName": "太郎",
"lastName": "山田",
"email": "test@example.com",
"phone": "090-1234-5678",
"rankName": "ゴールド会員"
}
Returned By
customers
query
Member Of
SubscriptionContract
object