Skip to main content
Anchor to CustomerDeletePayload

CustomerDeletePayload

payload

Return type for customerDelete mutation.

•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?

Anchor to Mutations with this payloadMutations with this payload

•mutation

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.

Arguments

•CustomerDeleteInput!
required

Specifies the customer to delete.



Was this section helpful?