Anchor to CustomerDeletePayloadCustomer
payloadCustomer Delete Payload
Return type for mutation.
Anchor to FieldsFields
- 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
- •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.
Was this section helpful?