Reports a fully or partially shipped order.

Add a shipment to the queue

POST https://onbrightcom.com/gateway/v1/shipment

Accepts either a single shipment object or a JSON array — the request body is sniffed for a leading [. An explicit batch route also exists at POST /shipment/shipments (identical List body) if you’d rather always send arrays.

FieldTypeNotes
idstring (GUID)
externalIdstring
sourcestring
createddatetime
closeddatetime
expectedDeliveryDatedatetime
sourceWarehouseIdstring
targetWarehouseIdstring
statusstring
completelyShippedboolean
completleyReceivedbooleanSpelled exactly like this on the wire (“Completley”) — a typo in the underlying model, not yours to fix
linesarray of objectSee Shipment line below
extendedInfoarraySee Extended Info
checksumstring
sourceNamestring
targetNamestring
reasonCodestring
documentTypestring
trackingUrlstring
trackingNostring

Request

{
  "externalId": "SHP-088310",
  "source": "example-erp",
  "created": "2026-08-26T08:47:12Z",
  "sourceWarehouseId": "MAIN",
  "completelyShipped": true,
  "trackingNo": "1234567890",
  "lines": [
    {
      "partNo": "10023",
      "variantCode": "050-ONE",
      "name": "Outdoor Scarf",
      "quantity": 1,
      "handledQuantity": 1,
      "closedQuantity": 1
    }
  ],
  "extendedInfo": []
}

Response

201 Created
"1 shipment(s) queued"

Shipment line

FieldTypeNotes
idstring (GUID)
externalIdstring
partNostring
variantCodestring
namestring
quantitynumber
handledQuantitynumber
closedQuantitynumber
extendedInfoarraySee Extended Info — Shipment is one of the resources where it appears at both header and line level
statusstring
checksumstring
pricenumber
costnumber
reasonCodestring

Retrieve shipments from the queue

GET https://onbrightcom.com/gateway/v1/shipment
Query parameterNotes
countNumber of entries to retrieve. Default 100 if omitted.
acknowledgeThe acknowledgeToken from your previous batch — pass it to close that batch and advance the queue.
{
  "count": 1,
  "acknowledgeToken": "1a4c8e6f-2b9d-4e33-a0f1-7c5d9e2b4a88",
  "nextLink": "/shipment?acknowledge=1a4c8e6f-2b9d-4e33-a0f1-7c5d9e2b4a88",
  "data": [
    {
      "externalId": "SHP-088310",
      "sourceWarehouseId": "MAIN",
      "completelyShipped": true,
      "trackingNo": "1234567890",
      "extendedInfo": []
    }
  ]
}
A GET /shipment/shipments also exists — don't use it
There’s also a GET /shipment/shipments route that just redirects to the same result as GET /shipment above. It’s hidden from the published API spec and marked in the Gateway’s own source as unexplained leftover (“Todo: why do we have this redirect?”). Use GET /shipment.