v1

latestOpenAPI 3.1.02026-07-261450274.9 KB

Get Order Items

Retrieve all items (products or services) for a specific order.

get/orders/{order_id}/items

Path parameters

order_idinteger required

Order ID

Response

200

idinteger
created_atstring
assignee_idinteger
quantitystring
pricestring
coststring
{"stackTrail":"paths:/orders/{order_id}/items:get:responses:200:content:application/json:schema:items:properties:margin_id","oasType":"schema","type":"unknown"}
is_deduction_requiredboolean
commentstring
{"stackTrail":"paths:/orders/{order_id}/items:get:responses:200:content:application/json:schema:items:properties:write_offs","oasType":"schema","type":"unknown"}
is_refundedboolean
{"stackTrail":"paths:/orders/{order_id}/items:get:responses:200:content:application/json:schema:items:properties:expiration_date","oasType":"schema","type":"unknown"}

Example response

[
  {
    "id": 78870627,
    "created_at": "2025-05-09T12:52:32Z",
    "assignee_id": 206039,
    "quantity": "1.000",
    "price": "20.00",
    "cost": "100.00000",
    "entity": {
      "id": 38527538,
      "type": "service",
      "title": "Diagnostics",
      "uom": {
        "id": 1,
        "title": "pcs",
        "description": "Pieces"
      }
    },
    "discount": {
      "type": "value",
      "amount": "0.00",
      "sponsor": "staff"
    },
    "warranty": {
      "period": 2,
      "period_units": "days"
    },
    "taxes": [
      {
        "id": 5628,
        "name": "State taxes",
        "rate": 10
      }
    ]
  }
]