Order stop cargo
Use order_stop_cargo to record goods per order stop.
Endpoints
| Operation | Endpoint | Scope |
|---|---|---|
| List | GET /v1/{scopeId}/order_stop_cargo | routix:orders:read |
| Detail | GET /v1/{scopeId}/order_stop_cargo/{id} | routix:orders:read |
| Create | POST /v1/{scopeId}/order_stop_cargo | routix:orders:write |
| Update | PATCH /v1/{scopeId}/order_stop_cargo/{id} | routix:orders:write |
| Delete | DELETE /v1/{scopeId}/order_stop_cargo/{id} | routix:orders:write |
The API verifies that order_stop_id and order_id belong together and fall within the same organization and branch.
Writable fields
| Field | Type | Notes |
|---|---|---|
order_stop_id, order_id | UUID | Both required when creating |
item_id | UUID | Optional Routix item |
description | string | Cargo description |
quantity | integer | Greater than 0; defaults to 1 |
weight_kg | number | Weight in kg, at least 0 |
package_type_id_master_data | UUID | Packaging type |
length_m, width_m, height_m | number | Dimensions in metres |
manual_volume_m3, manual_ldm | number | Manual volume/loading metres |
volume_source, ldm_source | string | calculated or manual |
unit_id_master_data | UUID | Handling unit |
stackable | boolean | If true, max_stacks is required |
max_stacks | integer | At least 1 when stackable |
requires_adr | boolean | Dangerous goods flag |
adr_class, adr_un_number | string | ADR details |
temperature_control_id_master_data | UUID | Temperature regime |
constraints_notes | string | Other constraints |
calculated_volume_m3, effective_volume_m3, calculated_ldm and effective_ldm are read-only.
curl -X POST "https://api.routix.com/v1/BRANCH_UUID/order_stop_cargo" \
-H "Authorization: Bearer ACCESS_TOKEN" -H "Content-Type: application/json" \
-d '{"order_stop_id":"STOP_UUID","order_id":"ORDER_UUID","description":"8 pallets","quantity":8,"weight_kg":2400,"stackable":true,"max_stacks":2}'Call order and cleanup
POST /orders- One or more
POST /order_stopscalls - One or more
POST /order_stop_cargocalls
Together these calls are not atomic. Retain returned IDs. If a later step fails, delete the order created by the current integration request with DELETE /orders/{id}; its stops and cargo are removed through database cascade. Never delete a pre-existing order as cleanup.
Last updated on

