CartShipment
Type: schema
Description
Cart shipment model
TypeScript Definition
typescript
CartShipment: {{
id: string;
shipping_provider_id: string | null;
shipping_provider_name: string | null;
courier_company_id: string | null;
courier_company_name: string | null;
/** Format: double */
shipping_amount: number;
/** Format: double */
shipping_tax_amount: number;
/** Format: double */
shipping_amount_including_tax: number;
shipment_items_count: number;
items: components["schemas"]["CartShipmentItem"][];
};
/**
* CartShipmentItem
* @description An item in a cart shipment.
*/
}Component References
| Reference | Resolves To |
|---|---|
components["schemas"]["CartShipmentItem"] | CartShipmentItem |
OpenAPI Schema
json
{
"title": "CartShipment",
"description": "Cart shipment model",
"type": "object",
"externalDocs": {
"url": "https://llm-docs.commercengine.io/storefront/schemas/CartShipment",
"description": "API reference for the CartShipment schema"
},
"required": [
"id",
"shipping_provider_id",
"shipping_provider_name",
"courier_company_id",
"courier_company_name",
"shipping_amount",
"shipping_tax_amount",
"shipping_amount_including_tax",
"shipment_items_count",
"items"
],
"properties": {
"id": {
"type": "string"
},
"shipping_provider_id": {
"type": [
"string",
"null"
]
},
"shipping_provider_name": {
"type": [
"string",
"null"
]
},
"courier_company_id": {
"type": [
"string",
"null"
]
},
"courier_company_name": {
"type": [
"string",
"null"
]
},
"shipping_amount": {
"type": "number",
"format": "double"
},
"shipping_tax_amount": {
"type": "number",
"format": "double"
},
"shipping_amount_including_tax": {
"type": "number",
"format": "double"
},
"shipment_items_count": {
"type": "integer"
},
"items": {
"type": "array",
"items": {
"$ref": "#/components/schemas/CartShipmentItem"
}
}
}
}Auto-generated from OpenAPI spec and TypeScript definitions