{"templateId":"markdown","versions":[{"version":"shipengine","label":"ShipStation API (formerly ShipEngine)","link":"/apis/shipengine/docs/reference/get-order-by-id","default":false,"active":true,"folderId":"58c9a61d"},{"version":"shipstation-v2","label":"ShipStation V2 API","link":"/apis/shipstation-v2/docs/reference/get-order-by-id","default":true,"active":false,"folderId":"58c9a61d"},{"version":"shipstation-v1","label":"ShipStation V1 API","link":"/apis/shipstation-v1/docs/reference/get-order-by-id","default":false,"active":false,"folderId":"58c9a61d"}],"sharedDataIds":{"sidebar":"sidebar-apis/@shipengine/sidebars.yaml"},"props":{"metadata":{"markdoc":{"tagList":[]},"type":"markdown"},"seo":{"title":"Get Sales Order By Id","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":"get-sales-order-by-id","__idx":0},"children":["Get Sales Order By Id"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["This endpoint retrieves detailed information about a sales order using its unique identifier."]},{"$$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":["GET /v-beta/sales_orders/: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":"GET /v-beta/sales_orders/32e18d70-52e0-5002-ab7a-ae33843c2187 HTTP/1.1\nHost: api.shipengine.com\nAPI-Key: __YOUR_API_KEY_HERE__\n","lang":"http"},"children":[]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"response-structure","__idx":3},"children":["Response Structure"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["The API returns a comprehensive sales order object containing:"]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["sales_order_id"]},": Unique identifier for the order"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["external_order_id"]}," and ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["external_order_number"]},": External reference IDs"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["order_source"]},": Details about where the order originated (e.g., Shopify)"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["sales_order_status"]},": Payment and fulfillment status information"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["order_date"]},", ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["created_at"]},", ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["modified_at"]},": Timestamp information"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["payment_details"]},": Financial breakdown including subtotal, shipping, tax, and grand total"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["customer"]},": Customer contact information"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["bill_to"]}," and ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["ship_to"]},": Billing and shipping address details"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["sales_order_items"]},": Array of line items with product details, quantities, and pricing"]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"key-response-fields","__idx":4},"children":["Key Response Fields"]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"order-source-information","__idx":5},"children":["Order Source Information"]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["order_source_code"]},", ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["order_source_nickname"]},", ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["order_source_friendly_name"]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Refresh status and last update timestamps"]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"status-information","__idx":6},"children":["Status Information"]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["payment_status"]},", ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["fulfillment_status"]},", ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["is_cancelled"]}]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"line-item-details","__idx":7},"children":["Line Item Details"]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Product name, SKU, weight"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Shipping preferences"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Unit pricing and totals"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Quantity and gift status"]}]}]},"headings":[{"value":"Get Sales Order By Id","id":"get-sales-order-by-id","depth":1},{"value":"API Endpoint","id":"api-endpoint","depth":2},{"value":"Example Request","id":"example-request","depth":2},{"value":"Response Structure","id":"response-structure","depth":2},{"value":"Key Response Fields","id":"key-response-fields","depth":2},{"value":"Order Source Information","id":"order-source-information","depth":3},{"value":"Status Information","id":"status-information","depth":3},{"value":"Line Item Details","id":"line-item-details","depth":3}],"frontmatter":{"seo":{"title":"Get Sales Order By Id"}},"lastModified":"2026-07-29T23:05:43.000Z","pagePropGetterError":{"message":"","name":""}},"slug":"/apis/shipengine/docs/reference/get-order-by-id","userData":{"isAuthenticated":false,"teams":["anonymous"]},"isPublic":true}