From 9165f3214bd526ef89853dce4c41de6d30957ad8 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Wed, 16 Aug 2023 16:59:45 +0300 Subject: [PATCH] chore(docs): Generated API Reference (#4783) Co-authored-by: shahednasser --- .../admin/components/schemas/AdminPostInventoryItemsReq.yaml | 5 +++++ .../specs/admin/paths/admin_inventory-items.yaml | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/www/api-reference/specs/admin/components/schemas/AdminPostInventoryItemsReq.yaml b/www/api-reference/specs/admin/components/schemas/AdminPostInventoryItemsReq.yaml index b45c6018b0..f1b14b3f54 100644 --- a/www/api-reference/specs/admin/components/schemas/AdminPostInventoryItemsReq.yaml +++ b/www/api-reference/specs/admin/components/schemas/AdminPostInventoryItemsReq.yaml @@ -1,5 +1,10 @@ type: object +required: + - variant_id properties: + variant_id: + description: The ID of the variant to create the inventory item for. + type: string sku: description: The unique SKU of the associated Product Variant. type: string diff --git a/www/api-reference/specs/admin/paths/admin_inventory-items.yaml b/www/api-reference/specs/admin/paths/admin_inventory-items.yaml index 248c3cc281..6de9fac40c 100644 --- a/www/api-reference/specs/admin/paths/admin_inventory-items.yaml +++ b/www/api-reference/specs/admin/paths/admin_inventory-items.yaml @@ -152,7 +152,7 @@ get: post: operationId: PostInventoryItems summary: Create an Inventory Item - description: Create an Inventory Item. + description: Create an Inventory Item for a product variant. x-authenticated: true parameters: - in: query