OrderShipmentSummary
Type: schema
Description
Shipment details returned with an order.
TypeScript Definition
typescript
OrderShipmentSummary: {{
order_number: string;
order_status: components["schemas"]["AdminOrderStatus"];
shipment_number: string;
warehouse_id: string | null;
warehouse_name: string | null;
status: components["schemas"]["AdminShipmentStatus"];
total_weight: number;
total_boxes: number | null;
shipment_items_count: number;
/** Format: double */
shipping_estimated_cost: number;
/** Format: double */
shipping_discount_amount: number;
/** Format: double */
shipping_amount: number | null;
/**
* Format: double
* @description For a single rate, the shipping GST percentage. For mixed-rate GST charges, the highest component rate; use charge_tax_lines for the taxable value and tax at each rate. Earlier sales retain their original shipping rate.
*/
shipping_tax_rate: number | null;
/** Format: double */
shipping_tax_amount: number | null;
/** Format: double */
shipping_amount_including_tax: number | null;
shipping_provider_id: string | null;
shipping_provider_name: string | null;
courier_company_id: string | null;
courier_company_name: string | null;
courier_company_image_url: string | null;
awb_no: string | null;
shipping_label_url: string | null;
eta_delivery: string | null;
estimated_delivery_date: string | null;
promised_delivery_date: string | null;
out_for_delivery_date?: string | null;
shipped_date: string | null;
delivered_date: string | null;
returned_date: string | null;
/** @enum {unknown} */
fulfillment_type: "delivery" | "collect-in-store";
slo: {
/** Format: date-time */
expected_date?: string;
/** Format: date-time */
actual_date?: string;
difference?: number;
/** @enum {unknown} */
slo_status?: "on-time" | "delay" | "early";
} | null;
cancellation_reason: string | null;
customer_id: string;
customer_name: string | null;
shipping_address_line1: string | null;
shipping_address_line2: string | null;
shipping_landmark: string | null;
shipping_pincode: string | null;
shipping_city: string | null;
shipping_state: string | null;
/** Format: date-time */
created_at: string;
/** Format: date-time */
modified_at: string;
shipment_items?: components["schemas"]["OrderShipmentLine"][];
/** @description Shipping and handling taxable value and GST by rate, under the store's charge tax treatment. Null for earlier sales that have no retained breakdown. */
charge_tax_lines?: components["schemas"]["AdminChargeTaxLine"][] | null;
/**
* @description Signed rounding adjustment included in the supply total. Loyalty points and store credit are payments against that total.
* @example -0.04
*/
round_off?: number | null;
} & components["schemas"]["ShipmentPackingAndProgression"];
/**
* OrderStatus
* @enum {string}
*/
}Component References
| Reference | Resolves To |
|---|---|
components["schemas"]["AdminOrderStatus"] | AdminOrderStatus |
components["schemas"]["AdminShipmentStatus"] | AdminShipmentStatus |
components["schemas"]["OrderShipmentLine"] | OrderShipmentLine |
components["schemas"]["AdminChargeTaxLine"] | AdminChargeTaxLine |
components["schemas"]["ShipmentPackingAndProgression"] | ShipmentPackingAndProgression |
OpenAPI Schema
json
{
"description": "Shipment details returned with an order.",
"type": "object",
"properties": {
"order_number": {
"type": "string"
},
"order_status": {
"$ref": "#/components/schemas/AdminOrderStatus"
},
"shipment_number": {
"type": "string"
},
"warehouse_id": {
"type": [
"string",
"null"
]
},
"warehouse_name": {
"type": [
"string",
"null"
]
},
"status": {
"$ref": "#/components/schemas/AdminShipmentStatus"
},
"total_weight": {
"type": "number"
},
"total_boxes": {
"type": [
"integer",
"null"
]
},
"shipment_items_count": {
"type": "integer"
},
"shipping_estimated_cost": {
"type": "number",
"format": "double"
},
"shipping_discount_amount": {
"type": "number",
"format": "double"
},
"shipping_amount": {
"type": [
"number",
"null"
],
"format": "double"
},
"shipping_tax_rate": {
"description": "For a single rate, the shipping GST percentage. For mixed-rate GST charges, the highest component rate; use charge_tax_lines for the taxable value and tax at each rate. Earlier sales retain their original shipping rate.",
"type": [
"number",
"null"
],
"format": "double"
},
"shipping_tax_amount": {
"type": [
"number",
"null"
],
"format": "double"
},
"shipping_amount_including_tax": {
"type": [
"number",
"null"
],
"format": "double"
},
"shipping_provider_id": {
"type": [
"string",
"null"
]
},
"shipping_provider_name": {
"type": [
"string",
"null"
]
},
"courier_company_id": {
"type": [
"string",
"null"
]
},
"courier_company_name": {
"type": [
"string",
"null"
]
},
"courier_company_image_url": {
"type": [
"string",
"null"
]
},
"awb_no": {
"type": [
"string",
"null"
]
},
"shipping_label_url": {
"type": [
"string",
"null"
]
},
"eta_delivery": {
"type": [
"string",
"null"
]
},
"estimated_delivery_date": {
"type": [
"string",
"null"
]
},
"promised_delivery_date": {
"type": [
"string",
"null"
]
},
"out_for_delivery_date": {
"type": [
"string",
"null"
]
},
"shipped_date": {
"type": [
"string",
"null"
]
},
"delivered_date": {
"type": [
"string",
"null"
]
},
"returned_date": {
"type": [
"string",
"null"
]
},
"fulfillment_type": {
"enum": [
"delivery",
"collect-in-store"
]
},
"slo": {
"type": [
"object",
"null"
],
"properties": {
"expected_date": {
"type": "string",
"format": "date-time"
},
"actual_date": {
"type": "string",
"format": "date-time"
},
"difference": {
"type": "number"
},
"slo_status": {
"enum": [
"on-time",
"delay",
"early"
]
}
}
},
"cancellation_reason": {
"type": [
"string",
"null"
]
},
"customer_id": {
"type": "string"
},
"customer_name": {
"type": [
"string",
"null"
]
},
"shipping_address_line1": {
"type": [
"string",
"null"
]
},
"shipping_address_line2": {
"type": [
"string",
"null"
]
},
"shipping_landmark": {
"type": [
"string",
"null"
]
},
"shipping_pincode": {
"type": [
"string",
"null"
]
},
"shipping_city": {
"type": [
"string",
"null"
]
},
"shipping_state": {
"type": [
"string",
"null"
]
},
"created_at": {
"type": "string",
"format": "date-time"
},
"modified_at": {
"type": "string",
"format": "date-time"
},
"shipment_items": {
"type": "array",
"items": {
"$ref": "#/components/schemas/OrderShipmentLine"
}
},
"charge_tax_lines": {
"description": "Shipping and handling taxable value and GST by rate, under the store's charge tax treatment. Null for earlier sales that have no retained breakdown.",
"type": [
"array",
"null"
],
"items": {
"$ref": "#/components/schemas/AdminChargeTaxLine"
}
},
"round_off": {
"description": "Signed rounding adjustment included in the supply total. Loyalty points and store credit are payments against that total.",
"type": [
"number",
"null"
],
"example": -0.04
}
},
"allOf": [
{
"$ref": "#/components/schemas/ShipmentPackingAndProgression"
}
],
"externalDocs": {
"url": "https://llm-docs.commercengine.io/admin-pos/schemas/OrderShipmentSummary"
},
"required": [
"order_number",
"order_status",
"shipment_number",
"warehouse_id",
"warehouse_name",
"status",
"total_weight",
"total_boxes",
"shipment_items_count",
"shipping_estimated_cost",
"shipping_discount_amount",
"shipping_amount",
"shipping_tax_rate",
"shipping_tax_amount",
"shipping_amount_including_tax",
"shipping_provider_id",
"shipping_provider_name",
"courier_company_id",
"courier_company_name",
"courier_company_image_url",
"awb_no",
"shipping_label_url",
"eta_delivery",
"estimated_delivery_date",
"promised_delivery_date",
"shipped_date",
"delivered_date",
"returned_date",
"fulfillment_type",
"slo",
"cancellation_reason",
"customer_id",
"customer_name",
"shipping_address_line1",
"shipping_address_line2",
"shipping_landmark",
"shipping_pincode",
"shipping_city",
"shipping_state",
"created_at",
"modified_at"
],
"title": "OrderShipmentSummary",
"x-tags": [
"Orders"
]
}Auto-generated from OpenAPI spec and TypeScript definitions