post https://api.splio.com/loyalty/v1/members//credit
Credit points to a loyalty member based on its card code.
Error cases
Wrong value type (400)
{
"status": 400,
"errors": [
{
"error_key": "context",
"error": "wrong_type",
"error_description": "This value should be of type string."
},
{
"error_key": "q_points_quantity",
"error": "wrong_type",
"error_description": "This value should be of type int."
},
{
"error_key": "is_final",
"error": "wrong_type",
"error_description": "This value should be of type boolean."
}
]
}
Event_date before program_start_date (400)
{
"error_key": "",
"error": "",
"error_description": "program not found"
}