Close Day (Manifests)
The manifest (bordero / distinta) is the end-of-day document handed to the carrier with the shipments collected. Closing the day is required by some carriers before the parcels are picked up. A manifest is created per contract: if the shipments you pass belong to two contracts, two manifests are returned.
Close the day
POST /manifests — rate limit 5 / min
| Field | Type | Required | Description |
|---|---|---|---|
shipmentIds[] | integer[] | One of the two | Internal shipment ids (id of the Shipment object), 1 to 500 |
trackingNumbers[] | string[] | One of the two | LDVs, 1 to 500 |
Only shipments of the client that are not yet in a manifest are included; the others are silently skipped. If none is left, the endpoint answers 404 not_found.
Request
{
"trackingNumbers": ["DEMO05407027", "DEMO05407028", "DEMO05407031"]
}| HTTP | code | When |
|---|---|---|
404 | not_found | No open shipment matches the identifiers |
422 | validation_failed | Neither shipmentIds nor trackingNumbers, or more than 500 items |
502 | carrier_error | The carrier refused the manifest; the reason is in message |
List manifests
GET /manifests?from=&to= — paginated
Manifests created in the period (default: the last 30 days). Items have the same fields as above without pdf.
Manifest detail
GET /manifests/{id}?pdf=1
Returns one manifest. Add pdf=1 to include the PDF in base64.
After the close the shipment’s manifestId is set and the shipment can no longer be cancelled through the API.