Saltar al contenido principal
POST
Bulk Upload a Catalog CSV

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

multipart/form-data
file
file
requerido

The CSV file to upload. Column names must match the fields submitted to the catalog.

attributes
string

A JSON string of key-value pairs to assist in the bulk upload process.

Currently accepts:

  • overwrite: whether to replace the existing catalog data or add to the existing data. When set to `0`, catalog items in the uploaded CSV that don't exist in the existing data will be added, and changes to existing data from the CSV will be applied. When set to `1`, the existing catalog data will be removed completely and replaced with the CSV contents.

Respuesta

default - application/json

successful operation

object
string

A string denoting the current resource being requested or affected.

Ejemplo:

"product-db-catalog-bulk-upload-response"

status
string

Status of the bulk upload operation.

Ejemplo:

"success"