Saltar al contenido principal
PUT
Update a Product Catalog

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

publisher_id
integer
requerido

Identifier of the Publisher.

catalog_id
integer
requerido

Identifier of the Product Catalog.

Cuerpo

application/json
label
string

A text label used to identify this catalog

Maximum string length: 255
Ejemplo:

"Default Catalog Name"

field_list
string[]

A list of all columns that will be available for submission when adding or uploading catalog items. You may change the 'field_list' values as long as you aren't removing any key fields.

Maximum string length: 255
Ejemplo:

Respuesta

default - application/json

successful operation

label
string

A text label used to identify this catalog

Maximum string length: 255
Ejemplo:

"Default Catalog Name"

source
enum<string>

Source of data used to populate this catalog. Currently only 'database' is supported.

Opciones disponibles:
database,
api
Ejemplo:

"database"

identifier_field
string

CSV column name for the unique identifier field (ie. to uniquely identify a product). Must be defined in the 'field_list' as well.

Maximum string length: 255
Ejemplo:

"sku"

title_field
string

CSV column name for the product title. Must be defined in the 'field_list' as well.

Maximum string length: 255
Ejemplo:

"title"

description_field
string

CSV column name for the product description. Must be defined in the 'field_list' as well.

Maximum string length: 255
Ejemplo:

"description"

seller_id_field
string

CSV column name for the internal seller id (advertiser). Must be defined in the 'field_list' as well.

Maximum string length: 255
Ejemplo:

"seller_id"

gtin_field
string

A column name for the GTIN field (ex. a UPC). Must be defined in the 'field_list' as well.

Maximum string length: 255
Ejemplo:

"upc"

field_list
string[]

A list of all columns that will be available for submission when adding or uploading catalog items.

Maximum string length: 255
Ejemplo:
object
string

A string denoting the current resource being requested or affected.

Ejemplo:

"product-catalog"

self
string

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

Ejemplo:

"/v2/publishers/18667/product-db/catalogs/123456"

id
integer

The current resource identifier (ID).

Ejemplo:

123456

state
enum<string>

The current state of the catalog. Will be one of: 'SETUP', 'IMPORT', 'ACTIVE'

Opciones disponibles:
SETUP,
IMPORT,
ACTIVE
Ejemplo:

"ACTIVE"

publisher_id
integer

The publisher ID that owns this catalog.

Ejemplo:

18667

item_count
integer

The number of items in this catalog.

Ejemplo:

212234