OrderShipmentItem
Type: schema
Description
A line in an order shipment.
TypeScript Definition
typescript
OrderShipmentItem: {{
product_id: string;
product_name: string | null;
product_image_url: string | null;
variant_id: string | null;
variant_name: string | null;
quantity: number;
free_quantity: number;
is_free_item: boolean;
allowed_return_quantity: number;
};
/**
* OrderShipmentLine
* @description A line included in an order shipment.
*/
}OpenAPI Schema
json
{
"description": "A line in an order shipment.",
"type": "object",
"properties": {
"product_id": {
"type": "string"
},
"product_name": {
"type": [
"string",
"null"
]
},
"product_image_url": {
"type": [
"string",
"null"
]
},
"variant_id": {
"type": [
"string",
"null"
]
},
"variant_name": {
"type": [
"string",
"null"
]
},
"quantity": {
"type": "integer"
},
"free_quantity": {
"type": "integer"
},
"is_free_item": {
"type": "boolean"
},
"allowed_return_quantity": {
"type": "integer",
"minimum": 0
}
},
"externalDocs": {
"url": "https://llm-docs.commercengine.io/admin-pos/schemas/OrderShipmentItem"
},
"required": [
"allowed_return_quantity",
"product_id",
"product_name",
"product_image_url",
"variant_id",
"variant_name",
"quantity",
"free_quantity",
"is_free_item"
],
"title": "OrderShipmentItem"
}Auto-generated from OpenAPI spec and TypeScript definitions