Anchor to ProductSetInventoryInputProduct
ProductSetInventoryInput
input_object
The input fields required to set inventory quantities using mutation.
Anchor to FieldsFields
- Anchor to locationIdlocation•
Id ID!non-null The ID of the location of the inventory quantity being set.
- Anchor to namename•String!non-null
The name of the inventory quantity being set. Must be one of
available
or.
- Anchor to quantityquantity•Int!non-null
The values to which each quantities will be set.
Was this section helpful?
Anchor to Input objects using this inputInput objects using this input
- •INPUT OBJECT
The inventory quantities at each location where the variant is stocked. If you're updating an existing variant, then you can only update the quantities at locations where the variant is already stocked.
Was this section helpful?