Skip to main content
Log inSign up
Anchor to ProductDeletePayload

ProductDeletePayload

payload

Return type for productDelete mutation.

•

The ID of the deleted product.

Anchor to productDeleteOperationproductDeleteOperation
•

The product delete operation, returned when run in asynchronous mode.

•
Shop!non-null

The shop associated with the product.

•

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 product, including all associated variants and media.

As of API version 2023-01, if you need to delete a large product, such as one that has many variants that are active at several locations, you may encounter timeout errors. To avoid these timeout errors, you can instead use the asynchronous ProductDeleteAsync mutation.


Was this section helpful?