OrderShipmentLine
Type: schema
Description
A line included in an order shipment.
TypeScript Definition
typescript
OrderShipmentLine: {{
product_id: string;
product_name?: $Read<string>;
/** @description `null` for products without variants. */
variant_id: string | null;
variant_name?: $Read<string | null>;
product_image_url?: $Read<string | null>;
sku?: $Read<string>;
quantity: number;
is_free_item?: boolean;
free_quantity?: number;
/** Format: double */
selling_price?: number;
};
/** OrderShipmentRead */
}OpenAPI Schema
json
{
"description": "A line included in an order shipment.",
"type": "object",
"properties": {
"product_id": {
"type": "string"
},
"product_name": {
"type": "string",
"readOnly": true
},
"variant_id": {
"description": "`null` for products without variants.",
"type": [
"string",
"null"
]
},
"variant_name": {
"type": [
"string",
"null"
],
"readOnly": true
},
"product_image_url": {
"type": [
"string",
"null"
],
"readOnly": true
},
"sku": {
"type": "string",
"readOnly": true
},
"quantity": {
"type": "integer"
},
"is_free_item": {
"type": "boolean"
},
"free_quantity": {
"type": "integer"
},
"selling_price": {
"type": "number",
"format": "double"
}
},
"externalDocs": {
"url": "https://llm-docs.commercengine.io/admin-pos/schemas/OrderShipmentLine"
},
"required": [
"product_id",
"variant_id",
"quantity"
],
"title": "OrderShipmentLine",
"x-tags": [
"Orders"
]
}Auto-generated from OpenAPI spec and TypeScript definitions