* regenerate oas to fix duplicate keys * fix clean:oas script * fix max-stack errors * fix max-level condition
88 lines
2.1 KiB
TypeScript
88 lines
2.1 KiB
TypeScript
/**
|
|
* @schema CreateProductVariant
|
|
* type: object
|
|
* description: The variant's variants.
|
|
* x-schemaName: CreateProductVariant
|
|
* required:
|
|
* - title
|
|
* properties:
|
|
* product_id:
|
|
* type: string
|
|
* title: product_id
|
|
* description: The variant's product id.
|
|
* title:
|
|
* type: string
|
|
* title: title
|
|
* description: The variant's title.
|
|
* sku:
|
|
* type: string
|
|
* title: sku
|
|
* description: The variant's sku.
|
|
* barcode:
|
|
* type: string
|
|
* title: barcode
|
|
* description: The variant's barcode.
|
|
* ean:
|
|
* type: string
|
|
* title: ean
|
|
* description: The variant's ean.
|
|
* upc:
|
|
* type: string
|
|
* title: upc
|
|
* description: The variant's upc.
|
|
* allow_backorder:
|
|
* type: boolean
|
|
* title: allow_backorder
|
|
* description: The variant's allow backorder.
|
|
* inventory_quantity:
|
|
* type: number
|
|
* title: inventory_quantity
|
|
* description: The variant's inventory quantity.
|
|
* manage_inventory:
|
|
* type: boolean
|
|
* title: manage_inventory
|
|
* description: The variant's manage inventory.
|
|
* hs_code:
|
|
* type: string
|
|
* title: hs_code
|
|
* description: The variant's hs code.
|
|
* origin_country:
|
|
* type: string
|
|
* title: origin_country
|
|
* description: The variant's origin country.
|
|
* mid_code:
|
|
* type: string
|
|
* title: mid_code
|
|
* description: The variant's mid code.
|
|
* material:
|
|
* type: string
|
|
* title: material
|
|
* description: The variant's material.
|
|
* weight:
|
|
* type: number
|
|
* title: weight
|
|
* description: The variant's weight.
|
|
* length:
|
|
* type: number
|
|
* title: length
|
|
* description: The variant's length.
|
|
* height:
|
|
* type: number
|
|
* title: height
|
|
* description: The variant's height.
|
|
* width:
|
|
* type: number
|
|
* title: width
|
|
* description: The variant's width.
|
|
* options:
|
|
* type: object
|
|
* description: The variant's options.
|
|
* properties: {}
|
|
* metadata:
|
|
* type: object
|
|
* description: The variant's metadata.
|
|
* properties: {}
|
|
*
|
|
*/
|
|
|