Anchor to CustomerDeletePayloadCustomer
payloadCustomer Delete Payload
Return type for mutation.
Anchor to FieldsFields
- deletedCustomerId (ID)
- shop (Shop!)
- userErrors ([UserError!]!)
- Anchor to deletedCustomerIddeleted•ID
Customer Id The ID of the deleted customer.
- Anchor to shopshop•Shop!non-null
The shop of the deleted 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
- customerDelete (CustomerDeletePayload)
- •mutation
Deletes a
Customerfrom the store. You can only delete customers who haven't placed any orders.Apps using protected customer data must meet Shopify's protected customer data requirements.
- Anchor to inputinput•Customer
Delete Input! required Specifies the customer to delete.
Arguments
Was this section helpful?