Files
medusa-store/www/utils/generated/oas-output/schemas/AdminInventoryItem.ts
Shahed Nasser 5eafa5a184 oas: [5/n] improve oas schemas (#9066)
Improve oas schemas [5/n]
2024-09-10 12:03:18 +00:00

77 lines
2.0 KiB
TypeScript

/**
* @schema AdminInventoryItem
* type: object
* description: The inventory item's details.
* x-schemaName: AdminInventoryItem
* required:
* - id
* - requires_shipping
* properties:
* id:
* type: string
* title: id
* description: The inventory item's ID.
* sku:
* type: string
* title: sku
* description: The inventory item's SKU.
* origin_country:
* type: string
* title: origin_country
* description: The inventory item's origin country.
* hs_code:
* type: string
* title: hs_code
* description: The inventory item's HS code.
* requires_shipping:
* type: boolean
* title: requires_shipping
* description: Whether the inventory item requires shipping.
* mid_code:
* type: string
* title: mid_code
* description: The inventory item's MID code.
* material:
* type: string
* title: material
* description: The inventory item's material.
* weight:
* type: number
* title: weight
* description: The inventory item's weight.
* length:
* type: number
* title: length
* description: The inventory item's length.
* height:
* type: number
* title: height
* description: The inventory item's height.
* width:
* type: number
* title: width
* description: The inventory item's width.
* title:
* type: string
* title: title
* description: The inventory item's title.
* description:
* type: string
* title: description
* description: The inventory item's description.
* thumbnail:
* type: string
* title: thumbnail
* description: The URL of the inventory item's thumbnail.
* metadata:
* type: object
* description: The inventory item's metadata, can hold custom key-value pairs.
* location_levels:
* type: array
* description: The inventory item's associated inventory levels.
* items:
* $ref: "#/components/schemas/AdminInventoryLevel"
*
*/