Method GET/distributor-portal/shipments

List your own shipments: status, units, lots. Distributor contact account session.

On this page

You list your own B2B orders (your shipments), never another distributor's of the same brand nor another brand's. Each entry carries the number of allocated units, the lots shipped, and whether a goods-in confirmation already exists.

#Authorization

Session of a distributor contact account. See GET /distributor-portal/me for the session rules and the 401/403 refusals.

#Rate limit

30 calls a minute, shared with the rest of the distributor portal.

#Query parameters

ParameterTypeDescription
brand_idintegerWhich brand to list shipments for. Required when you are an active contact at several brands; optional otherwise (the only accessible brand is used).
pageintegerPage, starting at 1. Defaults to 1.
page_sizeintegerPage size, 1 to 200. Defaults to 25.
statusstringopen, closed or cancelled. Omitted: every shipment.

#Example request

curl
curl -i "https://api.sealtrust.io/v1/distributor-portal/shipments?page=1&page_size=25" \
  -H "Authorization: Bearer eyJhbGciOiJIUzI1NiJ9.0000000000000000000000000000.0000000000000000000000000000"

#Example response

JSON
{
  "items": [
    {
      "id": 318,
      "order_ref": "SO-2026-0318",
      "status": "closed",
      "ship_date": "2026-10-01",
      "units_allocated": 240,
      "lots": ["LOT-2026-09-A", "LOT-2026-09-B"],
      "received": false,
      "created_at": "2026-09-28T09:12:00Z"
    }
  ],
  "total": 1,
  "page": 1,
  "page_size": 25,
  "total_pages": 1
}

#Response fields

FieldTypeDescription
units_allocatedintegerActive units allocated to this shipment.
lotsarrayDistinct lot codes among the shipment's units.
receivedbooleanAt least one goods-in confirmation was recorded for this shipment.

#Errors

CodeConditionWhat to do
401Token missing, unreadable or expired.Sign in again.
403Account with no active distributor access at all, at any brand.See GET /distributor-portal/me.
400Several brands accessible and brand_id omitted.Call GET /distributor-portal/brands and pass brand_id.
404brand_id given, but no active contact for that brand (including a brand that does not exist). Same answer either way.Check the id.
429Rate limit exceeded.Wait the delay in Retry-After.

#See also

Your answer opens a pre-filled email in your mail app, addressed to contact@sealtrust.io. You read it over before sending it.

Suggest a correctionReport a problem