Files
medusa-store/docs/api/admin/components/schemas/VariantInventory.yaml
github-actions[bot] 658339767b chore(docs): Generated API Reference (#4706)
Co-authored-by: olivermrbl <olivermrbl@users.noreply.github.com>
Co-authored-by: Shahed Nasser <shahednasser@gmail.com>
2023-08-07 16:54:48 +03:00

34 lines
826 B
YAML

type: object
required:
- id
- inventory
- sales_channel_availability
properties:
id:
description: the ID of the variant
type: string
inventory:
description: The inventory details.
$ref: ./ResponseInventoryItem.yaml
sales_channel_availability:
type: array
description: >-
An array of details about the variant's inventory availability in sales
channels.
items:
type: object
required:
- channel_name
- channel_id
- available_quantity
properties:
channel_name:
description: Sales channel's name
type: string
channel_id:
description: Sales channel's ID
type: string
available_quantity:
description: Available quantity in the sales channel
type: number