Credit points

Credit points to a loyalty member based on its card code.

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

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"
}
Path Params
string
required

Individual fidelity card code.

Body Params

Points quantity to credit to the individual.

string
^\d\d\d\d-(0?[1-9]|1[0-2])-(0?[1-9]|[12][0-9]|3[01]) (00|[0-9]|1[0-9]|2[0-3]):([0-9]|[0-5][0-9]):([0-9]|[0-5][0-9])$
integer
required
integer
required
string
required
boolean
required
string
Responses
202

Credit event creation is successful.

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