Skip to content

ADB01 - Get billing reports

Request

Pagination

This resource supports seek pagination (see documentation)

Sort fields

sort field can have the following values:

  • createdAt (Default) - Billing report creation date (asc by default)

Query
created_sincestring, (date-time)required

Instant to get the billing from

curl -i -X GET \
  'https://retailmedia.mirakl.net/api/v1/billing-report?created_since=2019-08-24T14%3A15%3A22Z'

Responses

Get billing report ids

Bodyapplication/json
countobjectrequired

Total data count

dataArray of objectsrequired

Page of data

next_page_tokenstring

Token to access the next page. Absent if the current page is the last one.

previous_page_tokenstring

Token to access the previous page. Absent if the current page is the first one.

Response
{ "count": { "capped": true, "counted": 1 }, "data": [ { … } ], "next_page_token": null, "previous_page_token": null }