Skip to main content

Get all the sales batches that have been imported

Query Parameters
  • offset integer

    The number of items to skip before starting to collect the result set

  • limit integer

    The numbers of items to return. If not present, results will be limited to 100 items

Responses


Schema array
  • id integer

    The batch ID

  • lookback integer

    Possible values: >= 1 and <= 60

    This is the number of months to look back to when matching calls to your sales.

  • status string

    processing|complete|failed

  • successes integer

    The qty of successful matches

  • errors integer

    The qty of failed matches

GET /sales/batches
offset — query
limit — query
curl -L 'https://www.reports.mediahawk.co.uk/rest/v2_0/sales/batches' \
-H 'Accept: application/json' \
-H 'Authorization: Bearer <TOKEN>'