Anchor to CustomerCreatePayloadCustomer
payloadCustomer Create Payload
Return type for mutation.
Anchor to FieldsFields
- customer (Customer)
- userErrors ([UserError!]!)
- Anchor to customercustomer•Customer
The created customer.
- Anchor to userErrorsuser•[User
Errors Error!]! non-null The list of errors that occurred from executing the mutation.
Was this section helpful?
Anchor to Mutations with this payloadMutations with this payload
- customerCreate (CustomerCreatePayload)
- •mutation
Creates a new
Customerin the store.Accepts customer details including contact information, marketing consent preferences, and tax exemptions through the
input object. You can also associatemetafieldsand tags to organize and extend customer data.Apps using protected customer data must meet Shopify's protected customer data requirements.
- Anchor to inputinput•Customer
Input! required The input fields to create a customer.
Arguments
Was this section helpful?