Introduction
Our APIs respond withdata, errors, and meta/metadata blocks where appropriate.
For example:
-
{entityId}are unique across all Retail Media entities -
dataanderrorsblocks may be contained in responses expected to return multiple entities -
meta(ormetadata) appears only for paginated responses
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 byid
Examples of endpoints:
- List all Accounts associated with your API credentials
- List all Brands associated with the Account
- 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 parameterlimitToId 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:
- Retrieve specific Account(s) from endpoint that lists all Accounts
- Retrieve specific Brand(s) from endpoint that lists all Brands associated with the Account
- Retrieve specific Retailer(s) from endpoint that lists all Retailers associated with the Account
Response example
HTTP Response Codes
What’s Next