Create shipment
documentedCreate a new shipment.
POST /shipments/createShipments (Companion)no implementation yet0 runsNo implementation yet. Run it to have the agent write one, or open a pull request with your own.
Seed example (keychains curl)
npx -y keychains@latest curl "https://ssapi.shipstation.com/shipments/create" \
-X POST \
-H "Authorization: Basic {{SHIPSTATION_API_KEY}}:{{SHIPSTATION_SECRET}}" \
-H "Content-Type: application/json" \
-H "Accept: application/json" \
-d '{"carrierCode":"{{$carrierCode}}","serviceCode":"{{$serviceCode}}","packageCode":"{{$packageCode}}","shipDate":"{{$shipDate}}","weight":{"value":{{$weightValue}},"units":"{{$weightUnits}}"},"dimensions":{"length":{{$length}},"width":{{$width}},"height":{{$height}},"units":"inches"},"shipFrom":{"name":"{{$fromName}}","street1":"{{$fromStreet1}}","city":"{{$fromCity}}","state":"{{$fromState}}","postalCode":"{{$fromPostalCode}}","country":"{{$fromCountry}}","phone":"{{$fromPhone}}"},"shipTo":{"name":"{{$toName}}","street1":"{{$toStreet1}}","city":"{{$toCity}}","state":"{{$toState}}","postalCode":"{{$toPostalCode}}","country":"{{$toCountry}}","phone":"{{$toPhone}}"},"orderNumber":"{{$orderNumber}}","items":[{"sku":"{{$sku}}","name":"{{$itemName}}","quantity":{{$itemQty}}}]}'"