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) ### Operations Each 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 scenarios The `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 lifecycle The 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 structure The 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 trip The destination of the dispatch can be a RESTful interface or file-based protocol like SFTP. ### Update payload The [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

Operations 2

POST /v1/webhook/location-booking-update Location Booking Update Webhook #
POST https:// Location Booking Dispatch Payload #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/qargo:qargo-use-case-location-booking-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

qargo-use-case-location-booking-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Qargo TMS Use case / Location booking API
  description: For support, please contact integrations@qargo.com.
  version: 1.2.0
servers:
- url: https://api.qargo.com
tags:


# --- truncated at 32 KB (112 KB total) ---
# Full source: https://raw.githubusercontent.com/api-evangelist/qargo/refs/heads/main/openapi/qargo-use-case-location-booking-api-openapi.yml