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