Saltar al contenido principal
POST
Create a Companion Product for an Image Ad Item

Autorizaciones

Authorization
string
header
requerido

API key en el header Authorization: Basic TU_API_KEY. La key va tal cual, sin codificar en base64. Las credenciales se entregan al comenzar la integración.

Parámetros de ruta

ad_item_id
integer
requerido

Identifier of the ad item.

Cuerpo

application/json
catalog
integer
requerido

The ID of the product DB catalog.

Ejemplo:

10001

product_identifier
string
requerido

The product identifier (SKU) within the catalog.

Ejemplo:

"SKU-1001"

Respuesta

200 - application/json

successful operation

object
string

A string denoting the current resource being requested or affected.

Ejemplo:

"ad_item_companion_product"

self
string

The relative URL of the current resource being requested or affected.

Ejemplo:

"/v2/ad-items/image/1234/companions/products/5678"

id
integer
read-only

The current resource identifier (ID).

Ejemplo:

1234

catalog
integer

The ID of the product DB catalog.

Ejemplo:

10001

product_identifier
string

The product identifier (SKU) within the catalog.

Ejemplo:

"SKU-1001"