patch https://api.splio.com/loyalty/members/
Update a membership.
Error cases
Cardcode does not exist (404)
{
"status": 404,
"errors": [
{
"error_key": "id",
"error": "wrong_value",
"error_description": "Record not found for id test."
}
]
}
Update non-editable parameter (400)
{
"status": 400,
"errors": [
{
"error_key": "individual_id",
"error": "wrong_value",
"error_description": "You can not change the owner of a loyalty card"
}
]
}
{
"status": 400,
"errors": [
{
"error_key": "program_id",
"error": "not_updatable_field",
"error_description": "The field \"program_id\" can't be updated."
}
]
}
Member validation KO (400)
See failure cases for Add a member to a program ⇒ they will result in a 400 here