Skip to main content
Logistics Costs

Example for logistics costs for Klar API.

Frank Birzle avatar
Written by Frank Birzle
Updated over 3 months ago

⚠️ The logistics costs API is meant to be used only when you're not pushing orders via the orders API, e.g. orders are coming in via Shopware but the logistics costs are provided by an ERP system => Use logistics costs API. Logistics costs as per of an order be provided via the orders API (see totalLogisticsCosts).

  • Orders "2312231241" had logistics costs of 6.90, "2312231242" of 0 and "ABCDEF" of 99.99 (currency has to match the order currency).

  • orderID needs to match the id of the corresponding Order.

{
"items": [
{
"orderId": "2312231241",
"totalLogisticsCosts": 6.90,
},
{
"orderId": "2312231242",
"totalLogisticsCosts": 0,
},
{
"orderId": "ABCDEF",
"totalLogisticsCosts": 99.99,
}
]
}

Did this answer your question?