Skip to main content
mutation

Requires write_customers access scope.

Deletes a Customer from 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.

CustomerDeleteInput!
required

Specifies the customer to delete.


Was this section helpful?

Anchor to CustomerDeletePayload returnsCustomerDeletePayload returns

ID

The ID of the deleted customer.

Shop!
non-null

The shop of the deleted customer.

[UserError!]!
non-null

The list of errors that occurred from executing the mutation.


Was this section helpful?