Customer
Look up a customer by its ID.
Arguments
id*ID!Returns
- customer
A registered customer.
id*ID!name*String!The customer's full name.
email?StringDeprecatedThe customer's email address.
Use contact instead.
contact?Contact information of the customer.
orders*Orders placed by this customer.
The public profile of a customer.
query CustomerProfile($id: ID!) {
customer(id: $id) {
id
name
}
}{
"id": "cus_42"
}{
"data": {
"customer": {
"id": "1",
"name": "string"
}
}
}