Action RequiredAdmin GraphQL API2024-10
Added synchronous
Parameter to productDelete
Mutation and Introduced ProductDeleteOperation
Object for Asynchronous Deletion Tracking
synchronous
Parameter to productDelete
Mutation and Introduced ProductDeleteOperation
Object for Asynchronous Deletion TrackingIn 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 themutation, 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.
Was this section helpful?