Get Faire Order
GET/api/faire/orders/:order
Get details of a specific Faire order including its line items.
Any valid API token can call this endpoint — no specific scope required. Manage tokens.
Path Parameters:
order— The internal Faire order ID (faire_orders.id)
Response:
Returns the full FaireOrderDetail (Faire order object on show) including raw_data, sales_order, is_archived, archived_at, faire_admin_url, and the line_items array. Each line item includes:
id,faire_line_item_id,faire_product_id,faire_variant_id— Faire-side identifierssku,name,option_values— Product details from Fairequantity,unit_price,total_pricesku_product_id— The matched SKU.ioproducts.id(null when the variant is unmapped)sku_product_route— application UI route path to the matched product (null when unmapped)sku_product— Mapped SKU.io product block{ id, sku, name, type }for the "Linked Product" column on the order detail page (null when unmapped). Mirrors the Shopify line-item shape.
Linked product resolution: All three sku_product* fields are resolved via the explicit FaireProductOption → ProductListing → Product chain (joined on faire_variant_id), populated by the Variants Listing page "Map" button / Smart Match / Bulk Map. String-based SKU matching is NOT used. If a variant has never been mapped, the fields are null even when the line’s sku happens to match a Product’s sku — same behaviour as the Shopify order line resource.
Error Responses:
404 Not Found— Order not found
Request
Responses
- 200
- 401
- 403
- 404
- 429
OK
Response Headers
Unauthenticated — the bearer token is missing, revoked, expired, or malformed. Never retry automatically; fix the credential. See the Errors guide.
Forbidden — the token lacks a required scope, the endpoint is not available to API tokens, or the user behind the token lacks the permission. A human must adjust the token scopes or user permissions; do not retry.
Not found — no record with the given identifier (or the route does not exist). Verify the ID before retrying.
Rate limited — platform limit is 1,000 requests/min; individual tokens may carry lower limits. Honor the Retry-After header before retrying. See the Rate Limits guide.