Sync product data from an external source

Use the productSet mutation to sync the desired state of a product with data from an external source in a single operation

This mutation is suited for apps and use cases where the state of the product model is managed outside of Shopify, for example with an Enterprise Resource Planning (ERP) system or Worksheet, and you want to update Shopify's product model to reflect your external state.

The mutation is available in both asynchronous and synchronous modes. The default is asynchronous.

This guide provides examples of how to create and update products asynchronously and synchronously, with data from an external source..