POST products/bulk-delete. Principle 3 does not allow a bulk-* endpoint: a write takes one object or an array, on the path of the resource itself. The call names the products with ids. The answer keeps the order of the input, so the caller can match an error to the id it sent.api_key: ********************X-Api-Key: ********************{
"ids": [
"P-5XK1S0NQNO"
]
}curl --location --request DELETE 'https://app.sellerassistant.app/api/v1/sa/inventory/products?api_key=%3Capi-key%3E' \
--header 'Content-Type: application/json' \
--data '{
"ids": [
"P-5XK1S0NQNO"
]
}'{
"data": [
{}
],
"meta": {
"succeeded": 2,
"failed": 1
},
"errors": [
{
"code": "not_found",
"message": "The product [P-1] was not found."
}
]
}