request Line Item Report

POST {{baseUrl}}/2022-04/retail-media/reports/line-items

Request a line item report

Request Body

{"data"=>{"type"=>"<string>", "attributes"=>{"reportType"=>"<string>", "startDate"=>"<date>", "endDate"=>"<date>", "clickAttributionWindow"=>"<string>", "format"=>"json", "id"=>"<string>", "ids"=>["<string>", "<string>"], "timeZone"=>"<string>", "viewAttributionWindow"=>"<string>"}}}

HEADERS

KeyDatatypeRequiredDescription
Content-Typestring
Acceptstring

RESPONSES

status: OK

{&quot;data&quot;:{&quot;type&quot;:&quot;mollit&quot;,&quot;id&quot;:&quot;in proident&quot;,&quot;attributes&quot;:{&quot;status&quot;:&quot;failure&quot;,&quot;createdAt&quot;:&quot;1998-02-21T04:17:51.504Z&quot;,&quot;expiresAt&quot;:&quot;1973-11-04T00:00:30.843Z&quot;,&quot;fileSizeBytes&quot;:-51904070,&quot;md5Checksum&quot;:&quot;consectetur irure&quot;,&quot;message&quot;:&quot;reprehenderit id ipsum&quot;,&quot;rowCount&quot;:80906644}}}