Skip to content

ADR02 - Get the status of a report request

Request

Description

Get the status of a specific report based on the report_id field in ADR01 response

Read More
Path
report_idstringrequired

The id of report returned by ADR01

curl -i -X GET \
  'https://retailmedia.mirakl.net/api/reports/status/{report_id}'

Responses

OK

Bodyapplication/json
errorobject

Returned when report can not be generated

statusstring

Report status (PENDING, COMPLETED)

urlsArray of strings

URL of the report to download with ADR03. Can contains successive URLs when the report is too heavy

Response
{ "status": "COMPLETED", "urls": [ "host/api/reports/file/018f3957-62f6-0dd8-1ef2-769fd80226e3?filename=product-report-preview-2024-01-01.csv" ] }