--- title: InventorySetQuantityInput - GraphQL Admin description: >- The input fields for the quantity to be set for an inventory item at a location. 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/InventorySetQuantityInput md: >- https://shopify.dev/docs/api/admin-graphql/2024-10/input-objects/InventorySetQuantityInput.txt --- # Inventory​Set​Quantity​Input input\_object The input fields for the quantity to be set for an inventory item at a location. ## Fields * inventory​Item​Id [ID!](https://shopify.dev/docs/api/admin-graphql/2024-10/scalars/ID) non-null Specifies the inventory item to which the quantity will be set. * location​Id [ID!](https://shopify.dev/docs/api/admin-graphql/2024-10/scalars/ID) non-null Specifies the location at which the quantity will be set. * quantity [Int!](https://shopify.dev/docs/api/admin-graphql/2024-10/scalars/Int) non-null The quantity to which the inventory quantity will be set. *** ## Input objects using this input * [Inventory​Set​On​Hand​Quantities​Input.​set​Quantities](https://shopify.dev/docs/api/admin-graphql/2024-10/input-objects/InventorySetOnHandQuantitiesInput#field-setQuantities) INPUT OBJECT The input fields required to set inventory on hand quantities. *** ## Map ### Input objects using this input * [Inventory​Set​On​Hand​Quantities​Input.setQuantities](https://shopify.dev/docs/api/admin-graphql/2024-10/input-objects/InventorySetOnHandQuantitiesInput#field-setQuantities)