Quotation stop cargo
Use quotation_stop_cargo to record goods per quotation stop.
Endpoints
| Operation | Endpoint | Scope |
|---|---|---|
| List | GET /v1/{scopeId}/quotation_stop_cargo | routix:quotations:read |
| Detail | GET /v1/{scopeId}/quotation_stop_cargo/{id} | routix:quotations:read |
| Create | POST /v1/{scopeId}/quotation_stop_cargo | routix:quotations:write |
| Update | PATCH /v1/{scopeId}/quotation_stop_cargo/{id} | routix:quotations:write |
| Delete | DELETE /v1/{scopeId}/quotation_stop_cargo/{id} | routix:quotations:write |
The API verifies that quotation_stop_id and quotation_id belong together and fall within the same organization and branch.
Writable fields
| Field | Type | Notes |
|---|---|---|
quotation_stop_id, quotation_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 | number | Manual volume |
volume_source | string | calculated or manual |
manual_ldm | number | Manual loading metres |
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 fields calculated_volume_m3, effective_volume_m3, calculated_ldm and effective_ldm are read-only.
Create example
curl -X POST "https://api.routix.com/v1/BRANCH_UUID/quotation_stop_cargo" \
-H "Authorization: Bearer ACCESS_TOKEN" \
-H "Content-Type: application/json" \
-d '{
"quotation_stop_id": "STOP_UUID",
"quotation_id": "QUOTATION_UUID",
"description": "Palletised consumer goods",
"quantity": 8,
"weight_kg": 2400,
"length_m": 1.2,
"width_m": 0.8,
"height_m": 1.4,
"stackable": true,
"max_stacks": 2,
"requires_adr": false
}'Recommended call order and cleanup
- Create the quotation with
POST /quotations. - Create pickup and delivery with separate
POST /quotation_stopscalls. - Add cargo with
POST /quotation_stop_cargo.
Together these calls are not a database transaction. Retain every returned ID. If a later step fails, delete the newly created quotation with DELETE /quotations/{id}. Its stops and cargo are removed by database cascade. Only delete records created by the current integration request.
Last updated on

