Skip to main content
POST
/
preview
/
retail-media
/
retailers
/
{retailer-id}
/
products
/
set-buy-box-winners
/preview/retail-media/retailers/{retailer-id}/products/set-buy-box-winners
curl --request POST \
  --url https://api.criteo.com/preview/retail-media/retailers/{retailer-id}/products/set-buy-box-winners \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "data": {
    "type": "<string>"
  }
}
'
{
  "errors": [
    {
      "code": "<string>",
      "detail": "<string>",
      "instance": "<string>",
      "source": {},
      "stackTrace": "<string>",
      "title": "<string>",
      "traceId": "<string>"
    }
  ],
  "warnings": [
    {
      "code": "<string>",
      "detail": "<string>",
      "instance": "<string>",
      "source": {},
      "stackTrace": "<string>",
      "title": "<string>",
      "traceId": "<string>"
    }
  ]
}

Authorizations

Authorization
string
header
required

The access token received from the authorization server in the OAuth 2.0 flow.

Path Parameters

retailer-id
string
required

The retailer for which these buy box winners will be set

Body

application/json

Updated buy box winners for one or more products

A top-level object that encapsulates a Criteo API request for a single value object.

data
object

A value resource exposed by the API.

Response

200 - application/json

Success

The outcome of an API call.

errors
object[] | null
read-only

Errors that occured during this call.

warnings
object[] | null
read-only

Warnings that occured during this call.