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.

Show input fields

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.

Show fields
•[UserError!]!
non-null

The list of errors that occurred from executing the mutation.

Show fields

Was this section helpful?