Skip to content

API overview ​

Trackbay has a public integration API for customer systems (ERP, WMS), authenticated with an API key in the X-API-Key header. Keys are created by a TenantAdmin (see API keys).

Public endpoints ​

MethodPathRolesDescription
GET/api/public/v1/deliveries/{id}API keyA single delivery with its full tracking history. 404 if it does not exist or belongs to a different tenant (indistinguishable by design).
PATCH/api/public/v1/deliveries/{id}/statusAPI keyUpdates a delivery's status. 400 on an invalid transition, 404 if the delivery doesn't exist/belongs to another tenant.
GET/api/public/v1/ordersAPI keyLists every order for the key's tenant, newest first. Product lines are omitted here - fetch a single order for those.
POST/api/public/v1/ordersAPI keyCreates an order for the key's tenant. 409 if the order number is already used within that tenant.
GET/api/public/v1/orders/{id}API keyA single order, including its product lines with picked/remaining quantities. 404 if it does not exist or belongs to a different tenant (indistinguishable by design).
PATCH/api/public/v1/orders/{id}/statusAPI keyUpdates an order's status. 400 on an invalid transition, 404 if the order doesn't exist/belongs to another tenant, 409 if the order is currently blocked or archived.
GET/api/public/v1/orders/{orderId}/deliveryAPI keyThe delivery for a given order (orders and deliveries are 1:1). 404 if the order has no delivery, doesn't exist, or belongs to a different tenant (all indistinguishable by design).

Generated table

The table is produced by yarn generate from the API's OpenAPI specification. Do not edit it by hand.