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.

Show fields
•[UserError!]!
non-null

The list of errors that occurred from executing the mutation.

Show fields

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.

Show payload

Arguments

•CustomerDeleteInput!
required

Specifies the customer to delete.

Show input fields


Was this section helpful?