Skip to content
Esc
↑↓navigate↵open⌘Jpreview

Get order lines

Retrieves all order lines for a specific order, including enriched product and variant information such as names, numbers, descriptions, and images.

GET/api/v1/{team_slug}/{app_slug}/orders/{order_id}/lines
Authorization
AuthorizationBearer token · headerrequired

Management API token, sent as Authorization: Bearer <token>.

Path parameters
app_slugstringrequired

App slug

team_slugstringrequired

Team slug

order_idstringrequired

Order ID (UUID)

Responses
200

Order lines retrieved successfully

datainternal_pkg_webserver_v1.OrderLineResponse[]required
Show properties
Array of internal_pkg_webserver_v1.OrderLineResponse
base_price_amountnumber | null
created_atstring
currency_codestring | null
first_image_pathstring
idstring
order_idstring
product_idstring | null
product_namestring
product_numberstring
quantityinteger | null
short_descriptionstring
tax_group_idstring | null
total_discount_amountnumber | null
total_price_amountnumber | null
total_sale_pricenumber | null
total_tax_amountnumber | null
updated_atstring | null
variant_idstring | null
variant_namestring
variant_numberstring
detailsstring[]

Additional contextual information about the response. Used to provide supplementary details beyond the main data payload, such as validation warnings or processing notes

successbooleanrequired
400

Invalid order ID format

detailsstring[]
messagestring
successbooleanrequired
401

Unauthorized access

detailsstring[]
messagestring
successbooleanrequired
404

Order not found

detailsstring[]
messagestring
successbooleanrequired
500

Internal server error

detailsstring[]
messagestring
successbooleanrequired
Try it
Server
Authorization
Parameters
Request
curl -X GET 'https://api.enad.io/api/v1/string/string/orders/string/lines' \
  -H 'Authorization: Bearer YOUR_TOKEN' \
  -H 'Accept: application/json'
Response
{
  "data": [
    {
      "base_price_amount": 0,
      "created_at": "string",
      "currency_code": "string",
      "first_image_path": "string",
      "id": "string",
      "order_id": "string",
      "product_id": "string",
      "product_name": "string",
      "product_number": "string",
      "quantity": 0,
      "short_description": "string",
      "tax_group_id": "string",
      "total_discount_amount": 0,
      "total_price_amount": 0,
      "total_sale_price": 0,
      "total_tax_amount": 0,
      "updated_at": "string",
      "variant_id": "string",
      "variant_name": "string",
      "variant_number": "string"
    }
  ],
  "details": [
    "string"
  ],
  "success": true
}