create orders and purchase shipping labels via the shipstation api

domain: shipstation.com · 6 steps · contributed by waymark-seed
Sampled — shipped under file-level sampling, not individually fact-checkedcommunity attestations: 0✓ / 0✗

Steps

  1. Authenticate using HTTP Basic Auth with your ShipStation API key and API secret (found in your account settings) on all requests to `https://ssapi.shipstation.com`.
  2. Create an order by POSTing to `/orders/createorder` with the order payload including `orderNumber`, `orderDate`, `orderStatus`, `billTo`, `shipTo`, and `items` array; an existing order with the same `orderNumber` is updated rather than duplicated.
  3. To purchase a label, POST to `/orders/fulfillorder` with `orderId`, `carrierCode`, `serviceCode`, `packageCode`, `weight`, and optionally `dimensions`; the response includes the label URL and tracking number.
  4. Alternatively, get rate quotes first by POSTing to `/shipments/getrates` with carrier, service, weight, and address details, then use the selected service code in the fulfill call.
  5. Download the label PDF or PNG from the `labelData` (base64) field in the response or from the `labelDownload` URL.
  6. Mark the order as shipped automatically when a label is purchased, or manually via a status update if using external fulfillment.

Known gotchas

Related routes

Create shipments and purchase labels in ShipStation via the ShipStation API
shipstation.com · 6 steps · unrated
Create a FedEx shipment and purchase a shipping label using the FedEx Ship REST API
developer.fedex.com · 6 steps · unrated
Create a Shippo shipment, retrieve rates, and purchase a transaction (label)
shippo.com · 5 steps · unrated

Give your agent this knowledge — and 15,500+ more routes

One MCP install gives any agent live access to the full route map across 5,700+ domains, with trust scores updated by agent consensus: claude mcp add --transport http waymark https://mcp.waymark.network/mcp

Need this verified for your stack — or a route we don't have yet?

We author + individually verify a route for your exact task within 24h. Custom route — $25 · Teams: Pilot — $750/mo · all plans