Salla Docs
Merchant API
Partner APIs
Storefront
Salla CLI
Salla Docs
    Light Mode

    List Order Items

    GET/orders/items
    Last modified: a month ago

    This endpoint allows you to retrieve the complete details of specific Order items by passing the order_id as query parameter.

    `orders.read` - Orders Read Only

    Request

    Query Params
    order_id
    integer 
    required

    Order ID. List of Order ID can be found here

    Example:
    90828

    Request samples

    Responses

    Success(200)
    Record Not Found(404)
    HTTP Code: 200
    Content Type : JSONapplication/json
    Data Schema
    No schema defined
    Example
    Success | with Options
    {
      "status": 200,
      "success": true,
      "data": [
        {
          "id": 365435777,
          "name": "SSD",
          "sku": "sam-ssd-256g",
          "quantity": 1,
          "currency": "SAR",
          "weight": 0.51,
          "weight_label": "٥١٠ جم",
          "amounts": {
            "price_without_tax": {
              "amount": 150,
              "currency": "SAR"
            },
            "total_discount": {
              "amount": 0,
              "currency": "SAR"
            },
            "tax": {
              "percent": "15.00",
              "amount": {
                "amount": 22.5,
                "currency": "SAR"
              }
            },
            "total": {
              "amount": 150,
              "currency": "SAR"
            }
          },
          "notes": "",
          "options": [
            {
              "id": 675638105,
              "product_option_id": 1902643925,
              "name": "size",
              "type": "radio",
              "value": {
                "id": 1090448197,
                "name": "256G",
                "price": {
                  "amount": 0,
                  "currency": "SAR"
                }
              }
            }
          ],
          "images": [],
          "codes": [],
          "files": [],
          "reservations": []
        }
      ]
    }
    Last modified: a month ago