List Line Items by Order

GET /lineitems/:orderId

Use this method to get all the line items of an order.

Path Parameters

Name
Type
Description

orderId

Number

ID of the order

Headers

Name
Value

Authorization

Basic <token>

Response

[
  {
    "id": number,
    "name": string,
    "is_archived": boolean,
    "account": {
      "id": number,
      "name": string
    },
    "order": {
      "id": number,
      "name": string
    },
    "status": string, //Options ('needs_creative', 'ready', 'delivering', 'paused', 'completed')
    "mediatype": string, //Options ('banner', 'video', 'native', 'audio')
    "delivery": {
      "start_date": string,
      "end_date": string,
      "rate": number,
      "cur": string, //Options('EUR', 'USD')
      "quantity": number,
      "rate_type": string,
      "ratio": number
    },
    "targetings": [
      {
      'targeting_type': { //Options ('Browser', 'Connection', 'Country', 'Device', 'OS', 'Page', 'Site', 'SupplierSegment', 'TagId')
          "type": string, //Options ('Included', 'Excluded')
          "filters": string[]
        }
      }
    ],
    "comment": string,
  }
]

Last updated

Was this helpful?