bookings
The booking itself: parties, route, equipment, cargo, contract reference. Created once, changed by amendment.
Create a booking once, in one format based on DCSA booking, SI and VGM fields. Dockflow checks it for the carrier, sends it by the route that carrier offers, and returns the answer by webhook or when you ask.
For forwarders who book containers with several carriers. On your own carrier contracts.
Create a bookingExample
POST /bookings/ { "carrier_scac": "MAEU", "idempotency_key": "fms-B-101", "fields": { "agreement_reference": "SC-4471", "port_of_loading": "BEANR", "port_of_discharge": "KRPUS", "departure_date": "2026-12-19", "equipments": [{ "iso_equipment_code": "45G1", "units": 2 }] } }
The booking itself: parties, route, equipment, cargo, contract reference. Created once, changed by amendment.
Each time a booking, SI, VGM, amendment or cancellation goes to the carrier. Approve and submit act on a submission.
A booking request mail or PDF, read into a booking draft with the source of each value.
The carrier list, with the messages each route carries, so your system knows before it sends.
Sailings with their cut-offs for a port pair, to pick from before booking.
Send the same idempotency key twice and you get the same booking back, not a second one. A submission is claimed before it goes to the carrier, and an unclear carrier answer is read back from the carrier, never resent.
Draft, approved, sent, then confirmed, rejected or needs change. Each change reaches your system by webhook, or you poll the booking.
The carriers resource tells your system which route carries which message: where the VGM goes, when SI can follow, whether amendments and cancellations go the same way. A message a route cannot carry is reported as not available, before anything reaches the carrier.
GET /booking-carriers/Example
{
"scac": "CMDU",
"name": "CMA CGM",
"needs_agreement_reference": true,
"routes": [
{ "route": "direct",
"parts": ["booking", "si", "amendment", "cancellation"] },
{ "route": "web",
"parts": ["booking", "si", "vgm", "amendment", "cancellation"] }
]
}
One format for every carrier, with fields based on DCSA booking, SI and VGM. Dockflow maps it to each carrier’s own format.
With the same idempotency key, you get the existing booking back. A submission is claimed before it is sent, so it never goes to the carrier twice.
By webhook to your system, or by polling the booking. The answer carries the state and the carrier’s booking reference.
Yes, through the same API by MCP. Agent bookings follow the same approval rules as bookings from your system.
One booking API for every carrier.