Authorization: Basic <API_KEY> using your raw Shipday API key (not base64-encoded).
Use a company API key for dispatch operations. The three partners.* operations require a separate partner API key. Put that key in the API key slot of a separate connection. Corsair sends it as PARTNER-API-KEY for those routes.
orders.query and partners.queryOrders accept inclusive startCursor and endCursor row positions. Shipday returns the newest matching orders first.
Key integration notes:
orders.progress(/order/progress/{trackingId}) requires a premium Shipday plan and is rate-limited to 3 requests per minute pertrackingId.- Delivery vs. pickup orders: Delivery orders use
orderNo,orderItems,tip, andtotalCostonorders.update, whereasorders.createusesorderNumber,orderItem,tips, andtotalOrderCost. Pickup (takeout) orders live under/pickup-ordersand return HTTP 204 No Content onpickupOrders.delete. - Webhooks: Shipday sends
orders.statusUpdated(POSTon order lifecycle changes, includingORDER_PIKEDUPwith Shipday’s wire spelling) andcarriers.locationUpdated(BetaLOCATION_UPDATEevents). Configure an optional validation token (up to 32 characters) viawebhookSecretorkeys.set_webhook_signatureto verify thetokenheader in constant time.
- 27 typed API operations
- 2 incoming webhook event types
Setup
1
Install
2
Add the plugin
corsair.ts
multiTenancy: true, scope calls with corsair.withTenant(id). See Quick start for KEK + Hub keys, and Multi-tenancy for account isolation.3
Choose authentication
- API Key (Recommended)
Store the Shipday API key before the first call: More: API Key
pnpm corsair setup --plugin=shipday --tenant=acme api_key=<your-key> (leave out --tenant without multiTenancy), or pass it as key in the plugin options. With Hub, each tenant enters their own key on the connect page. See API key auth.4
Connect a tenant
Mint a connect link and send the tenant to it. Hub hosts the page and delivers the result to your app — see Connect / OAuth.
Example API calls
Retrieve active delivery ordersWebhooks
Fires when an order is assigned, started, picked up, delivered, failed, or has POD uploaded.What’s next
API reference
Every
shipday.api.* operation with input and output types.Webhooks
Event paths, payloads, and
webhookHooks examples.Connect / OAuth
createLink, Hub delivery, and tenant connect flows.
Use with agents
Expose this plugin’s operations as MCP tools.