ShipmentItem
Type: schema
Description
Shipment item model
TypeScript Definition
typescript
ShipmentItem: {{
product_id?: string;
product_name?: string | null;
product_image_url?: string | null;
variant_id?: string | null;
variant_name?: string | null;
/** @description Present on cart shipment items; omitted from order shipment items. */
sku?: string | null;
quantity?: number;
free_quantity?: number;
is_free_item?: boolean;
};
/**
* ShipmentLine
* @description Line item on a shipment. Seller details are null when no seller information is associated with the item.
*/
}OpenAPI Schema
json
{
"description": "Shipment item model",
"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"
]
},
"sku": {
"description": "Present on cart shipment items; omitted from order shipment items.",
"type": [
"string",
"null"
]
},
"quantity": {
"type": "integer"
},
"free_quantity": {
"type": "integer"
},
"is_free_item": {
"type": "boolean"
}
},
"externalDocs": {
"url": "https://llm-docs.commercengine.io/admin-pos/schemas/ShipmentItem"
},
"title": "ShipmentItem"
}Auto-generated from OpenAPI spec and TypeScript definitions