Update a member’s tier

Change the a loyalty member's tier based on its card code.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…

Error cases

Cardcode does not exist (404)

{
    "status": 404,
    "errors": [
        {
            "error_key": "card_code",
            "error": "wrong_value",
            "error_description": "Loyalty membership not found for card code test."
        }
    ]
}

Target tier does not exist (400)

{
    "status": 400,
    "errors": [
        {
            "error_key": "tier_change",
            "error": "validation",
            "error_description": "validation & building: find tier: tier with name 'Tiers #28' does not exists"
        }
    ]
}

Event date is before member program_join_date (400)

{
    "status": 400,
    "errors": [
        {
            "error_key": "tier_change",
            "error": "validation",
            "error_description": "validation & building: fetch information needed for tier change : did not find any active status for cardcode '2673935406285' at date '1998-01-01 00:00:00'"
        }
    ]
}

Malformatted value (400)

Generic error for all fields and custom fields values types

{
    "status": 400,
    "errors": [
        {
            "error_key": "tier_name",
            "error": "wrong_type",
            "error_description": "This value should be of type string."
        },
        {
            "error_key": "force_points",
            "error": "wrong_type",
            "error_description": "This value should be of type bool."
        }
    ]
}
Path Params
string
required

Individual fidelity card code.

Body Params

Tier to affect to the loyalty member.

string
string
required
boolean
required
string
required
Responses

401

Authentication failed.

403

Forbidden.

Language
Credentials
Bearer
JWT
URL
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json