Skip to content

Create new products associated to a `clientId` using a JSON file

post
https://api.mercadoe.com/v1/supplier-catalogs/{clientId}/products/bulk

Creates new products associated to a clientId by providing the measurement unit, description, material category, and other details.
The JSON file should contain a list of products, where each product follows the same structure as the unitary product creation request.
The expected JSON structure is:
{ "products": [ { "supplierReferenceProductId": "example1", "supplierProductId": "example1", "description": "example1", ... }, { "supplierReferenceProductId": "example2", ... } ] }
Please make sure that the file is in one of the following formats: .json or .zip (compressed JSON).

Request

Headers

X-ME-CORRELATION-ID
string
Internal client code to be identified in the webhook. It can be, for example, a product code in your ERP, an order number, etc.

Path Parameters

clientId
int32
required

Body

multipart/form-data
file
binary

Responses

202
400
Accepted

Body

application/json
correlationId
string