OBJECT
Customer
A customer represents a customer account with the shop. Customer accounts store contact information for the customer, saving logged-in customers the trouble of having to provide it at every checkout.
link GraphQL Schema definition
- type Customer {
- # Indicates whether the customer has consented to be sent marketing material via
- # email.
- Boolean! :
- # A list of addresses for the customer.
- #
- # Arguments
- # first: [Not documented]
- # after: [Not documented]
- # reverse: [Not documented]
- Int!, : String, : Boolean): MailingAddressConnection! ( :
- # The date and time when the customer was created.
- DateTime! :
- # The customer’s default address.
- MailingAddress :
- # The customer’s name, email or phone number.
- String! :
- # The customer’s email address.
- String :
- # The customer’s first name.
- String :
- # A unique identifier for the customer.
- ID! :
- # The customer’s last name.
- String :
- # The orders associated with the customer.
- #
- # Arguments
- # first: [Not documented]
- # after: [Not documented]
- # sortKey: [Not documented]
- # reverse: [Not documented]
- # query: Supported filter parameters:
- #
- # - `status`
- #
- # - `financial_status`
- #
- # - `fulfillment_status`
- #
- # - `source_name`
- #
- # - `chargeback_status`
- #
- # - `risk_level`
- #
- # - `customer_id`
- #
- # - `email`
- #
- # - `credit_card_last4`
- #
- # - `processed_at`
- #
- # - `checkout_token`
- #
- # - `cart_token`
- #
- # - `location_id`
- #
- # - `channel_id`
- #
- # - `discount_code`
- #
- # - `tag`
- #
- # - `since_id`
- #
- # - `updated_at`
- #
- # - `created_at`
- (
- Int!, :
- String, :
- OrderSortKeys, :
- Boolean, :
- String :
- ): OrderConnection!
- # The customer’s phone number.
- String :
- # The date and time when the customer information was updated.
- DateTime! :
- }
link Require by
- CheckoutA container for all the information required to checkout items and pay.
- CustomerActivatePayloadnull
- CustomerCreatePayloadnull
- CustomerResetPayloadnull
- CustomerUpdatePayloadnull
- QueryRootThe schema’s entry-point for queries. This acts as the public, top-level API from which all queries must start.