Hi,
I can update a single product with PUT /api/products/productId and it works, now, I wonder if there is a resource to update multiple products at a time using a single API call?
e.g.
POST /api/products
[
{
"product_id": 1,
"price": "900",
"amount": 10
},
{
"product_id": 2,
"price": "599",
"amount": 5
}
]
Hello
The POST method is for adding products and the PUT method for updating. I am afraid it will not work.
Best regards
Robert
I can update a single product with PUT /api/products/productId and it works, now, I wonder if there is a resource to update multiple products at a time using a single API call?
Unfortunately, current API does not allow multiple products update