Anchor to CustomerUpdatePayloadCustomer
payloadCustomer Update Payload
Return type for mutation.
Anchor to FieldsFields
- customer (Customer)
- userErrors ([UserError!]!)
- Anchor to customercustomer•Customer
The updated 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
- customerUpdate (CustomerUpdatePayload)
- •mutation
Updates a
Customer's attributes including personal information andtax exemptions.Apps using protected customer data must meet Shopify's protected customer data requirements.
- Anchor to inputinput•Customer
Input! required Provides updated fields for the customer. To set marketing consent, use the
ormutations instead.
Arguments
Was this section helpful?