Need help with your APIs? I offer API discovery, governance & evangelism services. Explore services →
API Evangelist API Evangelist
Discovery
Learnings
Guidance
Toolbox
Alignment
API Evangelist LLC

Qargo Use case / Location booking API

Required api role: not applicable (push/push)Purpose: This interface allows an external party to integrate with warehouse management systems and location booking platforms.The location booking uses a push/push model: Qargo pushes a booking dispatch payload to an external endpoint.The third party then updates Qargo with booking status changes using our webhook endpoint:![location booking flow](/docs/static/location_booking_flow.svg)### OperationsEach dispatch payload includes an `operation` field indicating the type of action:| Operation | Description ||-----------|-------------|| `CREATE` | New booking request. The external system should create a time slot reservation. || `UPDATE` | Booking details have changed (e.g. updated time window, different vehicle). || `CANCEL` | The booking is no longer needed and should be released. |### Booking scenariosThe `scenario` field indicates the direction of goods movement at the location:| Scenario | Description ||----------|-------------|| `INBOUND` | Goods are being delivered to the location (e.g. warehouse receiving). || `OUTBOUND` | Goods are being picked up from the location (e.g. warehouse shipping). || `INBOUND_OUTBOUND` | Both pickup and delivery happen at the same location in a single booking. |### Status lifecycleThe external system updates the booking status via the [booking update webhook](/docs/use-case-location-booking/location-booking-update-webhook):| Status | Description ||--------|-------------|| `TO_REQUEST` | Initial state - booking has not yet been sent to the external system. || `REQUESTED` | Booking request sent, awaiting confirmation from the location. || `BOOKED` | Time slot confirmed by the location. || `CANCELLED` | Booking was cancelled. |### Payload structureThe dispatch payload contains:- **Trip information**: trip ID, name, and orders linked to the booking- **Booking details**: booking ID, booking name, location address, and relevant stops- **Resources**: vehicle, trailer, and resource allocations assigned to the tripThe destination of the dispatch can be a RESTful interface or file-based protocol like SFTP.### Update payloadThe [booking update webhook](/docs/use-case-location-booking/location-booking-update-webhook) is the inbound channel the external system uses to send booking confirmations, status changes, and execution status updates back to Qargo. Each update carries:- **Booking reference**: either the Qargo booking `id` or a `match` (matching criteria agreed with the external system)- **Status**: new booking status (`REQUESTED`, `BOOKED`, `CANCELLED`)- **Execution statuses**: fine-grained status tracking with event times and remarks- **Question answers**: answers to questions configured on the booking, mapped onto the order

Qargo Use case / Location booking API is one of 26 APIs that Qargo publishes on the APIs.io network, described by a machine-readable OpenAPI specification.

Tagged areas include Use case / Location booking. The published artifact set on APIs.io includes an OpenAPI specification and an API reference.

This API exposes 2 operations across 2 paths, and defines 107 schemas. It is described by OpenAPI 3.1.0, at version 1.2.0.

Requests are made against a single base URL, https://api.qargo.com.

2 operations 2 paths 107 schemas 2 POST

Metadata

The identity and technical contract details declared by the specification.

Specification
OpenAPI 3.1.0
API Version
1.2.0
Base URL
https://api.qargo.com
Authentication
OAuth 2.0, HTTP Basic
Resource Areas
1

Authentication & Security 2

Qargo Use case / Location booking API declares 2 security schemes for authenticating requests. It supports OAuth 2.0 (oAuth2ClientCredentials) using the clientCredentials flow. It accepts HTTP basic authentication (BasicAuthWebhookCredentials).

Paths & Operations 2

Across 2 paths, the API surfaces 2 operations — 2 POST. Each is listed below with its method, path, parameters, and response codes.

Use case / Location booking 2

Required api role: not applicable (push/push) Purpose: This interface allows an external party to integrate with warehouse management systems and location booking platforms. The l…

POST
/v1/webhook/location-booking-update
Location Booking Update Webhook
location-booking-update-webhook body → 200400401403422429500503
POST
https://
Location Booking Dispatch Payload
location-dispatch-payload body → 200400401403422429500503

Schemas 107

The contract defines 107 schemas that model the data the API accepts and returns. The most detailed are DispatchOrderOutput (29 properties), GoodOutput-Input (28 properties), CompanyOutput-Input (21 properties), StopOutput-Input (19 properties). Each schema is shown below with its type and property counts.

AdditionalExportBorderProcessEnum
string
Incoterm
string
HSCode
object
2 properties
ServiceLevel
object
3 properties
AdditionalImportBorderProcessEnum
string
ExecutionStatusUpdate
object
1 property
BasePaymentTerm
object
1 property 1 required
ValidationErrorResponse
object
2 properties 2 required
TimeWindow
object
7 properties
LocationDispatchOutput
object
2 properties 2 required
VehicleResource-Input
object
17 properties
GenericResource-Input
object
8 properties
Department
object
2 properties
LocationBookingPayload
object
7 properties 3 required
ImportDeclarationTypeEnum
string
StopOutput-Input
object
19 properties 2 required
KuehneNagelExtraFields
object
2 properties
ContainerResource-Input
object
13 properties
HTTPValidationError
object
1 property
ResourceTypeEnum
string
ADR-Input
object
14 properties
PackagedItemCommercialInvoiceExtraField
object
1 property
LocationBookingUpdateResponse
object
Response schema for the location booking update webhook. This schema is used to return errors or success messages.
1 property
DispatchExecution
object
1 property 1 required
TransporeonOrderExtraFields
object
2 properties
TaxTypeEnum
string
BookingMatchTarget
object
1 property
ContainerScenario
string
ConsignmentCustomsTransitInfoOutput
object
9 properties 2 required
ADRPhysicalState
string
PalletforceConsignmentExtraFields
object
1 property
BuyerSellerCompanyOutput-Input
object
10 properties 2 required
ConsignmentTransportNetwork
object
3 properties
LocationBookingDispatchResponse
object
Response schema for the location booking dispatch payload. This schema is used to return errors or success messages.
1 property
ContainerType
object
4 properties
PackagingSize
object
8 properties
ValidationError
object
3 properties 3 required
ImportExportExtraFields
object
3 properties
PackagedItemOutput-Input
object
14 properties 1 required
ADRPackagingType
string
BookingExecutionStatus
object
4 properties 3 required
BookingStatus
string
PalletlineConsignmentExtraFields
object
1 property
PalletlineExtraFields
object
1 property
LocationBookingTripSummary
object
2 properties
TransporeonConsignmentExtraFields
object
1 property
ErrorStatus
object
2 properties 1 required
AdditionalTransitBorderProcessEnum
string
CustomerStatus
string
PackagedItemsImportExportExtraFields
object
7 properties
BookingOperation
string
DispatchResourceAllocation
object
2 properties 1 required
ExtraField
object
3 properties
DachserExtraFields
object
1 property
ConsignmentCustomsExportInfo
object
8 properties
VehicleCategory
object
3 properties
PalletforceExtraFields
object
5 properties
TransitOffice
object
1 property
ErrorType
string
FieldMatchInput
object
1 property
Vehicle
object
17 properties
PackagingType
object
5 properties
Entity
object
2 properties
CustomsMetadata
object
1 property
BarcodeOutput
object
2 properties
HandlingUnitOutput-Input
object
2 properties 1 required
Product
object
4 properties
ExportDeclarationTypeEnum
string
ContactType
string
DispatchOrderOutput
object
29 properties 3 required
PaymentTermCode
string
BankAccount
object
2 properties
BookingMatch
object
2 properties
Position
object
2 properties 2 required
LocationBookingUpdatePayload
object
1 property 1 required
LocationWithTerminalOutput-Input
object
15 properties
TerminalMetadata
object
5 properties
DriverResource-Input
object
16 properties
CentralTransportNetworkConsignmentExtraFields
object
3 properties
ConsignmentImportExportExtraFieldsOutput-Input
object
4 properties
SignatureType
string
ValidationErrorDetail
object
4 properties 1 required
Trailer
object
17 properties
TransitDeclarationTypeEnum
string
LocationOutput
object
13 properties
GoodOutput-Input
object
28 properties 1 required
ADRType
string
LocationBookingUpdate
object
6 properties
ConsignmentBuyerSellerOutput-Input
object
2 properties
ConsignmentCommercialInvoiceExtraField
object
3 properties
AmazonExtraFields
object
8 properties
Gateway
object
1 property 1 required
ConsignmentCustomsImportInfo
object
9 properties
Incident
object
4 properties
CompanyContactOutput
object
6 properties
LocationScenario
string
StopExtra
object
3 properties
CompanyOutput-Input
object
21 properties 3 required
CompanyReferenceNumbers
object
5 properties
OrderPricingOutput
object
5 properties
DispatchConsignmentOutput
object
18 properties 3 required
Signature
object
4 properties 1 required
ContainerExtraFields
object
15 properties
LocationDispatchPayload
object
6 properties 4 required
BarcodeSource
string
StopDepotOutput
object
8 properties
LocationReference
object
1 property 1 required

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

qargo-use-case-location-booking-api-openapi.yml Raw ↑

Other APIs Qargo publishes across the network.

Qargo Subcontractor API
Qargo Customer API
Qargo API / Accounting API
Qargo API / Authentication API
Qargo API / Company API
Qargo API / Document API
Qargo API / Order API
Qargo API / Resource API
Qargo API / Task API
Qargo API / Trip API
Qargo System API
Qargo Use case / Accounting API