Orders

Get an order

GET/orders/{order}

Returns one order with its lines, taxes, and payment and delivery methods. These never change after checkout; the statuses, the paid and refunded amounts and the progress times do, and each change sets a new updated_at. All amounts are numbers in the order's currency.

When the shop deletes a material, a pattern or a frame, the lines that used it keep its codes and titles, but their material_id and the source ids in their design become null. This does not set a new updated_at.

Request Headers

Bearer <token>

Path Parameters

order*string

The order's id.

Formatuuid

Response Headers

200, 400, 401, 404, 429, default

200, 400, 401, 404, 429, default

200, 400, 404, 429, default

200, 400, 404, 429, default

429

Response Body

application/json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

curl -X GET "https://example.com/orders/497f6eca-6276-4993-bfeb-53cbbbba6f08" \  -H "Authorization: Bearer ff_shop_…"
{  "result": {    "id": "string",    "number": "string",    "customer": {      "id": "string",      "first_name": "string",      "last_name": "string",      "email": "string",      "phone": "string"    },    "status": "draft",    "payment_status": "deferred",    "fulfillment_status": "on_hold",    "paid_amount": 0,    "refunded_amount": 0,    "grand_total_amount": 0,    "currency": "string",    "created_at": "string",    "approved_at": "string",    "paid_at": "string",    "settled_at": "string",    "manufactured_at": "string",    "dispatched_at": "string",    "cancelled_at": "string",    "updated_at": "string",    "items_subtotal": 0,    "lines": [      {        "source_url": "string",        "description": "string",        "material_code": "string",        "material_description": "string",        "quantity": 0,        "currency": "string",        "material_price": 0,        "item_material_area_m2": 0,        "cut_price": 0,        "item_cut_length_m": 0,        "piercing_price": 0,        "item_piercing_count": 0,        "engraving_price": 0,        "item_engraving_length_m": 0,        "setup_fee": 0,        "frame_profile_length_m": 0,        "frame_profile_price_ncu_m": 0,        "frame_building_price_ncu_m": 0,        "frame_setup_fee": 0,        "bend_count": 0,        "bend_price": 0,        "weld_length_m": 0,        "weld_price_ncu_m": 0,        "trellis_post_length_m": 0,        "trellis_post_price_ncu_m": 0,        "bending_setup_fee": 0,        "welding_setup_fee": 0,        "finishing_area_m2": 0,        "finishing_material_price_ncu_m2": 0,        "finishing_application_price_ncu_m2": 0,        "finishing_setup_fee": 0,        "sheet_parts": [          {            "kind": "whole",            "count": 0,            "part_width_mm": 0,            "part_height_mm": 0,            "consumed_width_mm": 0,            "consumed_height_mm": 0,            "cut_length_m": 0,            "piercing_count": 0,            "engraving_length_m": 0          }        ],        "id": "string",        "material_id": "string",        "item_price": 0,        "total_price": 0,        "design": {          "kind": "file",          "scale": 0,          "material_kind_title": "string",          "material_thickness_mm": 0,          "material_color": "string",          "layer_roles": [            {              "layer_color": "string",              "role": "string"            }          ],          "finishing": {            "finishing_material_id": "string",            "finishing_material_code": "string",            "finishing_material_title": "string",            "finishing_kind_id": "string",            "finishing_kind_code": "string",            "finishing_kind_title": "string"          }        }      }    ],    "taxes": [      {        "title": "string",        "code": "string",        "percentage": 0,        "amount": 0,        "inclusion": "included",        "currency": "string"      }    ],    "payment_method": {      "payment_method_id": "string",      "title": "string",      "code": "string",      "description": "string",      "adjustment": {        "label": "string",        "percentage": 0,        "amount": 0      },      "currency": "string"    },    "delivery_method": {      "delivery_method_id": "string",      "title": "string",      "code": "string",      "description": "string",      "kind": "pickup",      "price": {        "kind": "fixed",        "amount": 0      },      "destination": {        "country": "US",        "region": {          "kind": "us_state",          "value": "string"        },        "city": "string",        "street_line": "string",        "supplement_line": "string",        "postal_code": "string"      },      "currency": "string"    }  }}