get https://api.splio.com/loyalty/v1/programs//members
Get loyalty memberships of a program.
Error cases
Wrong type in query param (400)
{
"status": 400,
"errors": [
{
"error_key": "per_page",
"error": "wrong_type",
"error_description": "This value should be of type numeric."
},
{
"error_key": "per_page",
"error": "wrong_value",
"error_description": "This value should be greater than 0."
}
]
}
Program ID does not exist
{
"status": 404,
"errors": [
{
"error_key": "id",
"error": "wrong_value",
"error_description": "Program not found for id 2."
}
]
}