Skip to main content

Added synchronous Parameter to productDelete Mutation and Introduced ProductDeleteOperation Object for Asynchronous Deletion Tracking

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 the productDelete mutation, allowing you to choose whether the product deletion should be processed synchronously or asynchronously.

Key Updates:

  • Asynchronous Deletion: By setting the synchronous parameter to false 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?