Orders

πŸ“˜

GET https://api.kayzen.io/v1/meta/line_items

Returns a list of order names and other attributes. If no specific search query is specified, returns all order details

Field

Param

Required/ Optional

Description

q

string

optional

Search query parameter. Returns result for a specific order. If no value is specified, then all orders data will be returned

per_page

int

optional

Number of rows per page. Default Value- 30 entries

page

int

optional

Returns page number.Default Value- 1 page

curl -X GET \
'https://api.kayzen.io/v1/meta/line_items?page=1&per_page=25&q=CC_iOS_UK_WL' \
-H 'Accept: application/json' \
-H 'Authorization: Bearer ACCESS_TOKEN'
{  
   "data":[  
      {  
         "id":104897,
         "name":"CC_iOS_UK_WL",
         "start_time":"2019-04-29T00:00:00.000Z",
         "end_time":null,
         "day_budget":10000,
         "total_budget":100000,
         "hasoffers_offer_id":null,
         "timezone":11,
         "impression_cap_count":null,
         "impression_cap_days":null,
         "is_active":true,
         "advertiser_id":12251,
         "billing_type":null,
         "billing_price":null,
         "country_ids":[  
            245
         ],
         "os_ids":[  
            12
         ],
         "os_version_ids":null,
         "conversion_object_id":null,
         "block_installed_devices":0,
         "advertiser_mobile_object":null,
         "mobile_object":null
      }
   ],
   "meta":{  
      "current_page":1,
      "total_pages":1,
      "total_entries":1,
      "available_metrics":[  
         "installs",
         "spend"
      ]
   }
}