-
-
Notifications
You must be signed in to change notification settings - Fork 2.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore(docs): Updated API Reference (automated) (#10047)
Automated changes by [create-pull-request](https://github.com/peter-evans/create-pull-request) GitHub action Co-authored-by: Oli Juhl <[email protected]> Co-authored-by: Shahed Nasser <[email protected]>
- Loading branch information
1 parent
c3a0123
commit 9e40f34
Showing
8 changed files
with
441 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
87 changes: 87 additions & 0 deletions
87
www/apps/api-reference/specs/admin/components/schemas/AdminBatchUpdateProductVariant.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,87 @@ | ||
type: object | ||
description: The properties to update of a product variant. | ||
x-schemaName: AdminBatchUpdateProductVariant | ||
properties: | ||
title: | ||
type: string | ||
title: title | ||
description: The product variant's title. | ||
sku: | ||
type: string | ||
title: sku | ||
description: The product variant's SKU. | ||
ean: | ||
type: string | ||
title: ean | ||
description: The product variant's EAN. | ||
upc: | ||
type: string | ||
title: upc | ||
description: The product variant's UPC. | ||
barcode: | ||
type: string | ||
title: barcode | ||
description: The product variant's barcode. | ||
hs_code: | ||
type: string | ||
title: hs_code | ||
description: The product variant's HS code. | ||
mid_code: | ||
type: string | ||
title: mid_code | ||
description: The product variant's MID code. | ||
allow_backorder: | ||
type: boolean | ||
title: allow_backorder | ||
description: Whether customers can order the variant even if it's not in stock. | ||
manage_inventory: | ||
type: boolean | ||
title: manage_inventory | ||
description: >- | ||
Whether the Medusa application manages the variant's inventory. If | ||
disabled, the product variant is always considered in stock. | ||
variant_rank: | ||
type: number | ||
title: variant_rank | ||
description: The product variant's rank among its siblings. | ||
weight: | ||
type: number | ||
title: weight | ||
description: The product variant's weight. | ||
length: | ||
type: number | ||
title: length | ||
description: The product variant's length. | ||
height: | ||
type: number | ||
title: height | ||
description: The product variant's height. | ||
width: | ||
type: number | ||
title: width | ||
description: The product variant's width. | ||
origin_country: | ||
type: string | ||
title: origin_country | ||
description: The product variant's origin country. | ||
material: | ||
type: string | ||
title: material | ||
description: The product variant's material. | ||
metadata: | ||
type: object | ||
description: The product variant's metadata, can hold custom key-value pairs. | ||
prices: | ||
type: array | ||
description: The product variant's prices. | ||
items: | ||
$ref: ./AdminCreateProductVariantPrice.yaml | ||
options: | ||
type: object | ||
description: The product variant's options. | ||
id: | ||
type: string | ||
title: id | ||
description: The update's ID. | ||
required: | ||
- id |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
87 changes: 87 additions & 0 deletions
87
www/apps/api-reference/specs/store/components/schemas/AdminBatchUpdateProductVariant.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,87 @@ | ||
type: object | ||
description: The properties to update of a product variant. | ||
x-schemaName: AdminBatchUpdateProductVariant | ||
properties: | ||
title: | ||
type: string | ||
title: title | ||
description: The product variant's title. | ||
sku: | ||
type: string | ||
title: sku | ||
description: The product variant's SKU. | ||
ean: | ||
type: string | ||
title: ean | ||
description: The product variant's EAN. | ||
upc: | ||
type: string | ||
title: upc | ||
description: The product variant's UPC. | ||
barcode: | ||
type: string | ||
title: barcode | ||
description: The product variant's barcode. | ||
hs_code: | ||
type: string | ||
title: hs_code | ||
description: The product variant's HS code. | ||
mid_code: | ||
type: string | ||
title: mid_code | ||
description: The product variant's MID code. | ||
allow_backorder: | ||
type: boolean | ||
title: allow_backorder | ||
description: Whether customers can order the variant even if it's not in stock. | ||
manage_inventory: | ||
type: boolean | ||
title: manage_inventory | ||
description: >- | ||
Whether the Medusa application manages the variant's inventory. If | ||
disabled, the product variant is always considered in stock. | ||
variant_rank: | ||
type: number | ||
title: variant_rank | ||
description: The product variant's rank among its siblings. | ||
weight: | ||
type: number | ||
title: weight | ||
description: The product variant's weight. | ||
length: | ||
type: number | ||
title: length | ||
description: The product variant's length. | ||
height: | ||
type: number | ||
title: height | ||
description: The product variant's height. | ||
width: | ||
type: number | ||
title: width | ||
description: The product variant's width. | ||
origin_country: | ||
type: string | ||
title: origin_country | ||
description: The product variant's origin country. | ||
material: | ||
type: string | ||
title: material | ||
description: The product variant's material. | ||
metadata: | ||
type: object | ||
description: The product variant's metadata, can hold custom key-value pairs. | ||
prices: | ||
type: array | ||
description: The product variant's prices. | ||
items: | ||
$ref: ./AdminCreateProductVariantPrice.yaml | ||
options: | ||
type: object | ||
description: The product variant's options. | ||
id: | ||
type: string | ||
title: id | ||
description: The update's ID. | ||
required: | ||
- id |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.