1 type: object
2 description: Update a product variant's association with an inventory item.
3 required:
4 - inventory_item_id
5 - required_quantity
6 - variant_id
7 properties:
8 required_quantity:
9 type: number
10 title: required_quantity
11 description: >-
12 The number of units a single quantity is equivalent to. For example, if a
13 customer orders one quantity of the variant, Medusa checks the
14 availability of the quantity multiplied by the value set for
15 `required_quantity`. When the customer orders the quantity, Medusa
16 reserves the ordered quantity multiplied by the value set for
17 `required_quantity`.
18 inventory_item_id:
19 type: string
20 title: inventory_item_id
21 description: The ID of the inventory item the variant is associated with.
22 variant_id:
23 type: string
24 title: variant_id
25 description: The ID of the variant.
26 x-schemaName: AdminBatchUpdateVariantInventoryItem