Breaking changes to GraphQL product duplicate APIs in version 2024-10
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 duplicate APIs:
The productDuplicateAsyncV2 mutation will be removed.
A new synchronous
boolean parameter will be added to the productDuplicate
mutation, allowing you to choose whether the product duplication should be processed synchronously or asynchronously.
Key Updates:
Asynchronous Duplication: By setting the synchronous
parameter to false
in the productDuplicate mutation, the operation will be performed asynchronously, returning a ProductDuplicateOperation object.
Operation Tracking: You can track the status of the asynchronous duplication by querying the operation ID through the ProductOperation query.
For more detailed information and examples, visit our productDuplicate documentation on Shopify.dev.