Batch
POST/suppliers/products/batch
This API endpoint facilitates the upload of multiple products.
It supports updating, creating, and deleting products, all managed within the main object named entries
.
{ "entries":[
{
"batch_identifier":"",
"method":"",
"product_identifier":"",
"product":{object}
},
//you can add more with different methods
]}
create
- product_identifier must be specified inside the product object (see product param in Main Object Structure). If the product exists already it will be updated.
update
- product_identifier must be specified both outside and inside the product object (see product param in Main Object Structure)
delete
, archive
, restore
- product_identifier only product_identifier needs to be specified.
Note: Archive
is a soft delete while delete
is a permanent deletion. You can only restore archived products.
Request
Responses
- 200
The request is being submitted and there is no specific response.