# Calculate price Calculate a transport price, based on loadings, unloadings and items Endpoint: POST /price Version: 1.0.0 Security: bearerAuth ## Request fields (application/json): - `items` (array) - `items.quantity` (integer) Example: 3 - `items.length` (integer) Example: 120 - `items.width` (integer) Example: 100 - `items.height` (integer) Example: 80 - `items.weight` (integer) Example: 320 - `loadings` (array, required) - `loadings.name` (string) - `loadings.zip_code` (string) - `loadings.country` (string) - `unloadings` (array, required) - `loading_date` (string, required) - `ftl_timeslot_duration` (integer) The FTL timeslot duration must be either 6, 3, or 0. Enum: 6, 3, 0 ## Response 200 fields (application/json): - `message` (string, required) Example: "Success!" - `data` (array, required) - `data.vehicle_type` (integer) Example: 11 - `data.value` (number) Example: 407.15 - `data.driving_time` (integer) Example: 23575 - `data.estimated_loading_times` (array) - `data.estimated_loading_times.start` (string) Example: "2024-09-19T09:00:00+02:00" - `data.estimated_loading_times.end` (string) Example: "2024-09-19T09:00:00+02:00" - `data.estimated_unloading_times` (array) - `data.available_extra_services` (array) - `data.available_extra_services.label` (string) Example: "loadingThroughDriver" - `data.available_extra_services.cost` (number) Example: 29.9 ## Response 401 fields (application/json): - `message` (string, required) A descriptive error message. Example: "Bad Request" - `errors` (object, required) ## Response 422 fields (application/json): - `message` (string, required) A descriptive error message. Example: "Bad Request" - `errors` (object, required)