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

Cargoson Shipments API

Create shipment queries and direct bookings, retrieve labels.

Cargoson Shipments API is one of 5 APIs that Cargoson publishes on the APIs.io network, described by a machine-readable OpenAPI specification.

Tagged areas include Shipments. The published artifact set on APIs.io includes an OpenAPI specification and API documentation.

This API exposes 2 operations across 2 paths, and defines 4 schemas. It is described by OpenAPI 3.0.1, at version 1.

Requests are made against a single base URL, https://www.cargoson.com/api/v1.

2 operations 2 paths 4 schemas 2 POST

Metadata

The identity and technical contract details declared by the specification.

Specification
OpenAPI 3.0.1
API Version
1
Base URL
https://www.cargoson.com/api/v1
Authentication
HTTP Bearer
Terms of Service
Resource Areas
1

Authentication & Security 1

Cargoson Shipments API declares 1 security scheme for authenticating requests. It accepts HTTP bearer tokens (bearerAuth). By default, every request must be authenticated.

  • bearerAuth — API key passed as a Bearer token in the Authorization header (Authorization: Bearer YOURAPIKEY). Requests must also send Accept: application/vnd.api.v1.

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.

Shipments 2

Create shipment queries and direct bookings, retrieve labels.

POST
/queries
Create a shipment query or direct booking
createQuery body → 200401422
POST
/bookings/{reference}/return_labels
Create a return label for an existing shipment
createReturnLabel 1 param → 200401404

Schemas 4

The contract defines 4 schemas that model the data the API accepts and returns. The most detailed are QueryRequest (17 properties), ShipmentRow (4 properties), BookingResponse (1 property). Each schema is shown below with its type and property counts.

BookingResponse
object
Booking, transport, and tracking details. Exact response fields are not published by Cargoson; left open rather than fabricated.
1 property
QueryRequest
object
Shipment query / booking request. Collection and delivery details are supplied inline. Field names reflect Cargoson's documented integration examples.
17 properties
ShipmentRow
object
A single line/row in a shipment.
4 properties
ReturnLabelResponse
object
Return label result. Exact fields are not published by Cargoson.

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

cargoson-shipments-api-openapi.yml Raw ↑

Other APIs Cargoson publishes across the network.

Cargoson Webhooks
Cargoson Carriers API
Cargoson Price Requests API
Cargoson Transports & Tracking API