--- title: ProductSetInventoryInput - GraphQL Admin description: >- The input fields required to set inventory quantities using `productSet` mutation. api_version: 2024-10 api_name: admin type: input_object api_type: graphql source_url: html: >- https://shopify.dev/docs/api/admin-graphql/2024-10/input-objects/ProductSetInventoryInput md: >- https://shopify.dev/docs/api/admin-graphql/2024-10/input-objects/ProductSetInventoryInput.txt --- # Product​Set​Inventory​Input input\_object The input fields required to set inventory quantities using `productSet` mutation. ## Fields * location​Id [ID!](https://shopify.dev/docs/api/admin-graphql/2024-10/scalars/ID) non-null The ID of the location of the inventory quantity being set. * name [String!](https://shopify.dev/docs/api/admin-graphql/2024-10/scalars/String) non-null The name of the inventory quantity being set. Must be one of `available` or `on_hand`. * quantity [Int!](https://shopify.dev/docs/api/admin-graphql/2024-10/scalars/Int) non-null The values to which each quantities will be set. *** ## Input objects using this input * [Product​Variant​Set​Input.​inventory​Quantities](https://shopify.dev/docs/api/admin-graphql/2024-10/input-objects/ProductVariantSetInput#field-inventoryQuantities) INPUT OBJECT The input fields for specifying a product variant to create or update. *** ## Map ### Input objects using this input * [Product​Variant​Set​Input.inventoryQuantities](https://shopify.dev/docs/api/admin-graphql/2024-10/input-objects/ProductVariantSetInput#field-inventoryQuantities)