chore(docs): Generated API Reference (#4706)

Co-authored-by: olivermrbl <olivermrbl@users.noreply.github.com>
Co-authored-by: Shahed Nasser <shahednasser@gmail.com>
This commit is contained in:
github-actions[bot]
2023-08-07 16:54:48 +03:00
committed by GitHub
parent efdea04963
commit 658339767b
1138 changed files with 11740 additions and 7043 deletions
@@ -1,21 +1,33 @@
type: object
required:
- id
- inventory
- sales_channel_availability
properties:
id:
description: the id of the variant
description: the ID of the variant
type: string
inventory:
description: the stock location address ID
description: The inventory details.
$ref: ./ResponseInventoryItem.yaml
sales_channel_availability:
type: object
description: An optional key-value map with additional details
properties:
channel_name:
description: Sales channel name
type: string
channel_id:
description: Sales channel id
type: string
available_quantity:
description: Available quantity in sales channel
type: number
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