patch https://api.splio.com/data/v3/orders/
Edit an entire order or an abandoned cart with its custom fields.
Error cases
Order 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."
}
]
}
Order validation KO (400)
See failure cases for Create an order/cart ⇒ they will result in a 400 here