Added synchronous
Parameter to productDelete
Mutation and Introduced ProductDeleteOperation
Object for Asynchronous Deletion Tracking
API
Effective July 18, 2024
Action required
In the version 2024-10 release of the Admin GraphQL API, we are making the following changes in the product delete APIs
- The productDeleteAsync mutation will be removed.
- A new
synchronous
boolean parameter will be added to theproductDelete
mutation, allowing you to choose whether the product deletion should be processed synchronously or asynchronously.
Key Updates:
- Asynchronous Deletion: By setting the
synchronous
parameter tofalse
in the productDelete mutation, the operation will proceed asynchronously, returning a ProductDeleteOperation object. - Operation Tracking: You can track the status of the asynchronous deletion by querying the operation ID through the ProductOperation query.
For more detailed information and examples, visit our ProductDelete documentation on Shopify.dev.
Opens in a new window