Create shipments and purchase labels in ShipStation 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 as the username and API Secret as the password; base URL is https://ssapi.shipstation.com
  2. Create an order in ShipStation via POST /orders/createorder with orderNumber, orderDate, orderStatus, billTo, shipTo, items (each with sku, name, quantity, unitPrice), and weight
  3. Create a shipment and purchase a label by POSTing to /shipments/createlabel with orderId or order details inline, carrierId, serviceCode, packageCode, weight, dimensions, and shipDate
  4. Parse the response to extract labelData (base64-encoded PDF), trackingNumber, shipmentCost, and shipmentId for your records
  5. Void a label if needed via POST /shipments/{shipmentId}/voidlabel within the carrier's void window to recoup the label cost
  6. Retrieve rate quotes before purchasing by POSTing to /shipments/getrates with carrier, service, package, weight, and from/to zip codes to compare costs across services

Known gotchas

Related routes

create orders and purchase shipping labels 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