Console

Shipments

POST
/api/shipments

Seller adds tracking: store it, then fire shipment.created (sealed + routed to Guardian).

Authorization

HTTPBasic
AuthorizationBasic <token>

In: header

Request Body

application/json

ShipmentBody object

invoice_id?|

Invoice id, e.g. INV-0007

tracking_number?|

Carrier tracking number

carrier?string

Shipping carrier, e.g. UPS

Default"OTHER"

Response Body

application/json

application/json

curl -X POST "https://example.com/api/shipments" \  -H "Content-Type: application/json" \  -d '{}'
{  "ok": true,  "sealed": true,  "run_id": "string"}