Skip to main content
GET
Get Order

Overview

Fetch a Shopify order by its order ID. Optionally retrieve the calculated line items (with commission, payout, and cost data) instead of the raw order.

Use Cases

  • Look up order details for customer support workflows
  • Pull calculated line items to verify commission and payout amounts
  • Feed order data into an external accounting or fulfillment system
  • Build a custom order detail page in a third-party dashboard

Path Parameters

string
required
The Shopify order ID (numeric).

Query Parameters

string
Set to "true" to return calculated line items instead of the raw order document. Calculated line items include commission, payout, cost of goods, and other financial fields.

Response

Raw Order (default)

200

Calculated Line Items (?lineItems=true)

200

Example