Page Style Template
Endpoints
Verb | Endpoint | Description |
---|---|---|
GET | /entities/{entityId}/endpoint-path | Gets all items from Entity blablabla |
POST | /entities/{entityId}/endpoint-path | Creates a new item from Entity blablabla |
PUT | /entities/{entityId}/endpoint-path | Updates a specific Entity item blablabla |
{name} Attributes
Attribute | Data Type | Description |
---|---|---|
id * | string | Entity ID, lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi. Acceptable values: int64 Default: NA Writeable? N / Nullable? N |
name | string | Entity name, lorem ipsum dolor sit amet.... Acceptable values: up to 255-chars string Default: NA Writeable? Y / Nullable? N |
entityIds | list | List of Entity ID, lorem ipsum dolor sit amet... Accepted values: list of int32 or strings Writeable? N / Nullable? N |
budget | decimal | Budget cap, lorem ipsum dolor sit amet... Accepted values: equals or greater than zero Default: null Writeable? Y / Nullable? Y |
isAutoDailyPacing * | boolean | Lorem ipsum dolor sit amet... Accepted values: true , false Default: false Writeable? Y / Nullable? N |
clickAttributionWindow * | enum | Post-click attribution window Accepted values: 7D , 14D , 30D Default: 30D Writeable? Y / Nullable? N |
createdAt | timestamp | Timestamp of entity creation, in UTC Accepted values: yyyy-mm-ddThh:mm:ss±hh:mm (in ISO-8601 )Writeable? N / Nullable? N |
* Required
[GET]

https://api.criteo.com/{version}/retail-media/..../...
Sample Request
curl -X GET "https://api.criteo.com/{version}/retail-media/.../..." \
-H "Authorization: Bearer <MY_ACCESS_TOKEN>"
Sample Response
{
"foo": "bar"
}
[POST]

https://api.criteo.com/{version}/retail-media/.../...
Sample Request
curl -L -X POST 'https://api.criteo.com/{version}/retail-media/.../...' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authorization: Bearer <MY_ACCESS_TOKEN>'
-d '{
"foo": "bar"
}'
Sample Response
{
"foo": "bar"
}
Responses
Response | Description |
---|---|
🟢 200 | Call executed with success |
🟢 201 | Entity was created successfully |
🔴 400 | |
🔴 404 | |
🔴 406 | |
🔴 409 | |
🔴 415 |
Updated 23 days ago