Co-authored-by: olivermrbl <olivermrbl@users.noreply.github.com> Co-authored-by: Shahed Nasser <shahednasser@gmail.com>
34 lines
826 B
YAML
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
|