Raw
1 /**
2 * @schema AdminProductVariantInventoryItemLink
3 * type: object
4 * description: An association between a product variant and an inventory item.
5 * x-schemaName: AdminProductVariantInventoryItemLink
6 * required:
7 * - id
8 * - variant_id
9 * - inventory_item_id
10 * properties:
11 * id:
12 * type: string
13 * title: id
14 * description: The ID of the association.
15 * variant_id:
16 * type: string
17 * title: variant_id
18 * description: The associated product variant's ID.
19 * variant:
20 * $ref: "#/components/schemas/AdminProductVariant"
21 * inventory_item_id:
22 * type: string
23 * title: inventory_item_id
24 * description: The associated inventory item's ID.
25 * inventory:
26 * $ref: "#/components/schemas/AdminInventoryItem"
27 * required_quantity:
28 * type: number
29 * title: required_quantity
30 * description: The inventory item's required quantity.
31 *
32 */
33