Ecommerce
Create products in batch
post/products/batch
Request body
Example request
{
"products": [
{
"id": "P11",
"name": "Iphone 11",
"url": "http://mydomain.com/product/electronics/product1",
"imageUrl": "http://mydomain.com/product-absoulte-url/img.jpeg",
"metaInfo": {
"description": "Shoes for sports",
"brand": "addidas"
},
"deletedAt": "2017-05-12T12:30:00.000+0000",
"isDeleted": true
}
]
}Response
Products created and updated
Example response
{
"createdCount": 7,
"updatedCount": 5
}