v2

latestSwagger 2.0raw.githubusercontent.com2020-08-04137.8 KB
Catalog

Create or update products by store

Allow create or update a large batch of products by store. There are two modes of operation, upsert enabled or only update. If the upsertMode param is not present or comed with FALSE, the service only will require the storeReference, and the skus, of the products to update, and additionally the fields which we want to update. Keep in mind to enable product creation in the same endpoint is needed to set upsertMode as TRUE and it's important to include the whole Product payload.

post/api/products/bulkCreateUpdate

Request body

storeReferencestring required

OrderId or equivalent reference created in your backend for the job to be created.

upsertModeboolean required

FALSE: Only update certain fields using the sku and storeReference. TRUE: enable creation of new products and update the existent sku products in the same request.

Response

200 response

productsUpdatednumber

Number of products updated

productsCreatednumber

Number of products created

All 1 operations