Skip to main content

Introduction

Our APIs respond with data, errors, and meta/metadata blocks where appropriate. For example:
  • {entityId} are unique across all Retail Media entities
  • data and errors blocks may be contained in responses expected to return multiple entities
  • meta (or metadata) appears only for paginated responses
Response example

Data Attributes


Error Attributes


Pagination

Endpoints that retrieve all entities under a specific context supports pagination to navigate through all existing elements. Currently, there are two different formats to access the different pages that are based on different sets of query parameters and response blocks. Results are returned in ascending order by id Examples of endpoints:
  1. List all Accounts associated with your API credentials
  2. List all Brands associated with the Account
  3. List all Retailers associated with the Account

offset & limit

Response example

pageIndex & pageSize

Response example

Filter by ID

All endpoints that retrieve all entities under a specific context supports an optional query parameter limitToId that can be used to retrieve the respective element. This param can also be combined multiple times to retrieve multiple elements at the same time. Examples:
  1. Retrieve specific Account(s) from endpoint that lists all Accounts
  2. Retrieve specific Brand(s) from endpoint that lists all Brands associated with the Account
  3. Retrieve specific Retailer(s) from endpoint that lists all Retailers associated with the Account
Response example

HTTP Response Codes


What’s Next