patch https://api.splio.com/data/v1/products/
Edit a product.
Error cases
Product does not exist (404)
{
"status": 404,
"errors": [
{
"error_key": "id",
"error": "wrong_value",
"error_description": "Record not found for id {ee}."
}
]
}
Update non-editable parameter (400)
{
"status": 400,
"errors": [
{
"error_key": "id",
"error": "not_updatable_field",
"error_description": "The field \"id\" can't be updated."
}
]
}
Product validation KO (400)
See failure cases for Create a product ⇒ they will result in a 400 here