Skip to main content

New inventory input fields in productSet mutation in version 2024-10

As of GraphQL API version 2024-10, we are adding new inventory capabilities in the productSet mutation, in the form of a new field type ProductSetInventoryInput, which allows setting available or on_hand quantities for new and existing product variants on locations specified.

This type can be used in the following contexts:

  • ProductSetInput.inventoryQuantities field to specify inventory quantities for products with no custom variants.

  • ProductSetVariantInput.inventoryQuantities field to specify inventory quantities for individual custom variants.

For more detailed information and examples, visit our productSet documentation on Shopify.dev.

Was this section helpful?