> ## Documentation Index
> Fetch the complete documentation index at: https://docs.erp.arukz.com/llms.txt
> Use this file to discover all available pages before exploring further.

# List order lines

> Retrieve a paginated list of line items for a specific order



## OpenAPI

````yaml /api-reference/openapi.json get /admin/api/v1/sales/orders/{order_id}/lines
openapi: 3.0.3
info:
  title: ARUKZ ERP API
  version: v1
  description: >-
    The REST API of ARUKZ ERP: sales, purchases, inventory, products, partners,
    accounts, projects and reference data. Every call acts as the user whose
    token it carries and sees only that user's company.
servers:
  - url: https://erp.arukz.com
    description: ARUKZ ERP (hosted)
security:
  - bearerAuth: []
tags:
  - name: Authentication
    description: Sign in for a token and sign out.
  - name: Sales
    description: Quotations, sales orders and their lines, deliveries and invoices.
  - name: Purchases
    description: Purchase orders, receipts, bills, agreements and vendor price lists.
  - name: Inventory
    description: >-
      Warehouses, locations, lots, stock quantities, receipts, deliveries,
      transfers and scrap.
  - name: Products
    description: 'The product catalogue: categories, attributes, variants and packaging.'
  - name: Partners
    description: Customers, vendors, contacts, addresses and bank accounts.
  - name: Accounts
    description: >-
      Invoices, bills, credit notes, refunds, taxes, journals and the chart of
      accounts.
  - name: Projects
    description: Projects, tasks, stages and milestones.
  - name: Reference data
    description: Currencies and rates, banks, countries, states and units of measure.
paths:
  /admin/api/v1/sales/orders/{order_id}/lines:
    get:
      tags:
        - Sales
      summary: List order lines
      description: Retrieve a paginated list of line items for a specific order
      operationId: sales-order-lines-list-order-lines
      parameters:
        - name: order_id
          in: path
          required: true
          schema:
            type: integer
            description: The order ID
            example: 1
          description: The order ID
        - name: include
          in: query
          required: false
          schema:
            type: string
            description: >-
              Comma-separated list of relationships to include.


              **Available options:** product, linkedSaleOrderSale, uom,
              productPackaging, currency, orderPartner, salesman, warehouse,
              route, company, order
            example: product
          description: >-
            Comma-separated list of relationships to include.


            **Available options:** product, linkedSaleOrderSale, uom,
            productPackaging, currency, orderPartner, salesman, warehouse,
            route, company, order
        - name: filter[id]
          in: query
          required: false
          schema:
            type: string
            description: Comma-separated list of line IDs to filter by
          description: Comma-separated list of line IDs to filter by
        - name: filter[product_id]
          in: query
          required: false
          schema:
            type: string
            description: Comma-separated list of product IDs to filter by
          description: Comma-separated list of product IDs to filter by
        - name: sort
          in: query
          required: true
          schema:
            type: string
            description: Sort field
            example: '-id'
          description: Sort field
        - name: page
          in: query
          required: true
          schema:
            type: integer
            description: Page number
            example: 1
          description: Page number
      responses:
        '200':
          description: Success
          content:
            application/json:
              example:
                data:
                  - id: 1
                    sort: 1
                    name: Big Vision 4K Action Camera - Fisheye Lens
                    display_type: null
                    product_uom_qty: 5
                    product_qty: 5
                    qty_delivered: 5
                    qty_invoiced: 5
                    qty_to_invoice: 0
                    product_packaging_qty: 0.5
                    price_unit: 210
                    technical_price_unit: 210
                    discount: 0
                    price_subtotal: 1050
                    price_tax: 157.5
                    price_total: 1207.5
                    price_reduce_taxexcl: 210
                    price_reduce_taxinc: 241.5
                    purchase_price: 100
                    margin: 0
                    margin_percent: 0
                    untaxed_amount_invoiced: 0
                    untaxed_amount_to_invoice: 1050
                    state: sale
                    invoice_status: invoiced
                    qty_delivered_method: stock_move
                    virtual_id: null
                    linked_virtual_id: null
                    is_downpayment: false
                    is_expense: false
                    customer_lead: 0
                    analytic_distribution: null
                    order_id: 1
                    product_id: 2
                    linked_sale_order_sale_id: null
                    product_uom_id: 1
                    product_packaging_id: 1
                    currency_id: 1
                    order_partner_id: 33
                    salesman_id: 1
                    warehouse_id: 5
                    route_id: null
                    company_id: 1
                    created_at: '2026-01-07T11:12:56+00:00'
                    updated_at: '2026-01-08T12:59:31+00:00'
                    product:
                      id: 2
                      type: goods
                      name: Big Vision 4K Action Camera - Fisheye Lens
                      service_tracking: none
                      reference: Action-01-big-vision-4k-action-camera---fisheye-lens
                      barcode: null
                      price: 210
                      cost: 100
                      volume: 0
                      weight: 1.2
                      description: >-
                        <p>A high-quality 4k action camera designed for everyday
                        use.</p><p>The <strong>4K Action Camera</strong> is
                        crafted with premium materials, ensuring durability and
                        functionality. Perfect for those who value quality and
                        innovation in their everyday essentials.</p>
                      description_purchase: null
                      description_sale: null
                      enable_sales: false
                      enable_purchase: false
                      is_favorite: false
                      is_configurable: false
                      images:
                        - 01JR9QKPXFKP1S054PZDM17MEP.png
                        - 01JR9QKPXPX1TJKCH0DMZ29M12.png
                      sort: null
                      parent_id: 1
                      uom_id: 1
                      uom_po_id: 1
                      category_id: 11
                      creator_id: 1
                      company_id: 1
                      created_at: '2025-04-08T03:49:27.000000Z'
                      updated_at: '2025-09-23T07:28:33.000000Z'
                      deleted_at: null
                  - id: 1
                    sort: 1
                    name: Big Vision 4K Action Camera - Fisheye Lens
                    display_type: null
                    product_uom_qty: 5
                    product_qty: 5
                    qty_delivered: 5
                    qty_invoiced: 5
                    qty_to_invoice: 0
                    product_packaging_qty: 0.5
                    price_unit: 210
                    technical_price_unit: 210
                    discount: 0
                    price_subtotal: 1050
                    price_tax: 157.5
                    price_total: 1207.5
                    price_reduce_taxexcl: 210
                    price_reduce_taxinc: 241.5
                    purchase_price: 100
                    margin: 0
                    margin_percent: 0
                    untaxed_amount_invoiced: 0
                    untaxed_amount_to_invoice: 1050
                    state: sale
                    invoice_status: invoiced
                    qty_delivered_method: stock_move
                    virtual_id: null
                    linked_virtual_id: null
                    is_downpayment: false
                    is_expense: false
                    customer_lead: 0
                    analytic_distribution: null
                    order_id: 1
                    product_id: 2
                    linked_sale_order_sale_id: null
                    product_uom_id: 1
                    product_packaging_id: 1
                    currency_id: 1
                    order_partner_id: 33
                    salesman_id: 1
                    warehouse_id: 5
                    route_id: null
                    company_id: 1
                    created_at: '2026-01-07T11:12:56+00:00'
                    updated_at: '2026-01-08T12:59:31+00:00'
                    product:
                      id: 2
                      type: goods
                      name: Big Vision 4K Action Camera - Fisheye Lens
                      service_tracking: none
                      reference: Action-01-big-vision-4k-action-camera---fisheye-lens
                      barcode: null
                      price: 210
                      cost: 100
                      volume: 0
                      weight: 1.2
                      description: >-
                        <p>A high-quality 4k action camera designed for everyday
                        use.</p><p>The <strong>4K Action Camera</strong> is
                        crafted with premium materials, ensuring durability and
                        functionality. Perfect for those who value quality and
                        innovation in their everyday essentials.</p>
                      description_purchase: null
                      description_sale: null
                      enable_sales: false
                      enable_purchase: false
                      is_favorite: false
                      is_configurable: false
                      images:
                        - 01JR9QKPXFKP1S054PZDM17MEP.png
                        - 01JR9QKPXPX1TJKCH0DMZ29M12.png
                      sort: null
                      parent_id: 1
                      uom_id: 1
                      uom_po_id: 1
                      category_id: 11
                      creator_id: 1
                      company_id: 1
                      created_at: '2025-04-08T03:49:27.000000Z'
                      updated_at: '2025-09-23T07:28:33.000000Z'
                      deleted_at: null
        '401':
          description: Unauthenticated
          content:
            application/json:
              example:
                message: Unauthenticated.
components:
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      description: >-
        An API token from [Sign in](/api-reference/authentication), sent as
        `Authorization: Bearer <token>`. Tokens last 30 days.

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.