Files
medusa-store/docs-util/oas-output/schemas/CreateProductVariant.ts
Shahed Nasser 4fe28f5a95 chore: reorganize docs apps (#7228)
* reorganize docs apps

* add README

* fix directory

* add condition for old docs
2024-05-03 17:36:38 +03:00

88 lines
2.1 KiB
TypeScript

/**
* @schema CreateProductVariant
* type: object
* description: SUMMARY
* x-schemaName: CreateProductVariant
* required:
* - title
* properties:
* product_id:
* type: string
* title: product_id
* description: The product's product id.
* title:
* type: string
* title: title
* description: The product's title.
* sku:
* type: string
* title: sku
* description: The product's sku.
* barcode:
* type: string
* title: barcode
* description: The product's barcode.
* ean:
* type: string
* title: ean
* description: The product's ean.
* upc:
* type: string
* title: upc
* description: The product's upc.
* allow_backorder:
* type: boolean
* title: allow_backorder
* description: The product's allow backorder.
* inventory_quantity:
* type: number
* title: inventory_quantity
* description: The product's inventory quantity.
* manage_inventory:
* type: boolean
* title: manage_inventory
* description: The product's manage inventory.
* hs_code:
* type: string
* title: hs_code
* description: The product's hs code.
* origin_country:
* type: string
* title: origin_country
* description: The product's origin country.
* mid_code:
* type: string
* title: mid_code
* description: The product's mid code.
* material:
* type: string
* title: material
* description: The product's material.
* weight:
* type: number
* title: weight
* description: The product's weight.
* length:
* type: number
* title: length
* description: The product's length.
* height:
* type: number
* title: height
* description: The product's height.
* width:
* type: number
* title: width
* description: The product's width.
* options:
* type: object
* description: The product's options.
* properties: {}
* metadata:
* type: object
* description: The product's metadata.
* properties: {}
*
*/