{"templateId":"markdown","versions":[{"version":"shipengine","label":"ShipStation API (formerly ShipEngine)","link":"/apis/shipengine/docs/sales-orders/create-shipment-from-order","default":false,"active":true,"folderId":"58c9a61d"},{"version":"shipstation-v2","label":"ShipStation V2 API","link":"/apis/shipstation-v2/docs/sales-orders/create-shipment-from-order","default":true,"active":false,"folderId":"58c9a61d"},{"version":"shipstation-v1","label":"ShipStation V1 API","link":"/apis/shipstation-v1/docs/sales-orders/create-shipment-from-order","default":false,"active":false,"folderId":"58c9a61d"}],"sharedDataIds":{"sidebar":"sidebar-apis/@shipengine/sidebars.yaml"},"props":{"metadata":{"markdoc":{"tagList":[]},"type":"markdown"},"seo":{"title":"Create a Shipment from a Sales Order","keywords":"shipping, labels, shipstation, documentation, api","siteUrl":"https://docs.shipstation.com","lang":"en-US","llmstxt":{"hide":false,"title":"ShipStation API LLM Docs","description":"Find links and references to all markdown documentation for use with LLMs","excludeFiles":[]}},"dynamicMarkdocComponents":[],"compilationErrors":[],"ast":{"$$mdtype":"Tag","name":"article","attributes":{},"children":[{"$$mdtype":"Tag","name":"Heading","attributes":{"level":1,"id":"create-a-shipment-from-a-sales-order","__idx":0},"children":["Create a Shipment from a Sales Order"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["ShipEngine provides a convenience method to automatically create a shipment directly from a sales order. The model uses a standard shipment format with specific constraints: ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["ship_to"]}," and ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["ship_date"]}," are not accepted in the shipment object."]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"api-endpoint","__idx":1},"children":["API Endpoint"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["POST /v-beta/shipments/sales_order/:sales_order_id"]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"example-request","__idx":2},"children":["Example Request"]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"http","header":{"controls":{"copy":{}}},"source":"POST /v-beta/shipments/sales_order/a401efda-0d0b-59ce-a47c-392c44890189 HTTP/1.1\nHost: api.shipengine.com\nAPI-Key: __YOUR_API_KEY_HERE__\nContent-Type: application/json\n","lang":"http"},"children":[]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"json","header":{"controls":{"copy":{}}},"source":"{\n  \"carrier_id\": \"se-2565\",\n  \"service_code\": \"usps_priority_mail\",\n  \"warehouse_id\": \"se-1951\",\n  \"advanced_options\": {\n    \"non_machinable\": true\n  },\n  \"packages\": [\n    {\n      \"weight\": {\n        \"value\": 8.0,\n        \"unit\": \"ounce\"\n      }\n    }\n  ]\n}\n","lang":"json"},"children":[]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"example-response","__idx":3},"children":["Example Response"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["The response includes comprehensive shipment details such as:"]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Sales order IDs and items"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Shipment ID and carrier information"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Ship-to and ship-from addresses"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Package details and weight"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Shipment status and timestamps"]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["The response contains fields like ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["shipment_id"]},", ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["carrier_id"]},", ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["service_code"]},", complete address information for both sender and recipient, package specifications, and total weight."]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"key-features","__idx":4},"children":["Key Features"]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Automatically creates shipment from existing sales order data"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Simplifies the shipping process by leveraging order information"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Supports standard shipment options and carrier services"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Returns complete shipment details for tracking and management"]}]}]},"headings":[{"value":"Create a Shipment from a Sales Order","id":"create-a-shipment-from-a-sales-order","depth":1},{"value":"API Endpoint","id":"api-endpoint","depth":2},{"value":"Example Request","id":"example-request","depth":2},{"value":"Example Response","id":"example-response","depth":2},{"value":"Key Features","id":"key-features","depth":2}],"frontmatter":{"seo":{"title":"Create a Shipment from a Sales Order"}},"lastModified":"2026-07-29T23:05:43.000Z","pagePropGetterError":{"message":"","name":""}},"slug":"/apis/shipengine/docs/sales-orders/create-shipment-from-order","userData":{"isAuthenticated":false,"teams":["anonymous"]},"isPublic":true}