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