Skip to content
Loyalty Program Memberships

Create Loyalty Program Membershipsexperimental

POST/api/loyalty-programs/{loyaltyProgramId}/memberships

This endpoint allows you to create Loyalty Program Memberships to onboard users to Loyalty Programs.

If the Account is already a member of the Loyalty Program, the existing membership is returned (and reactivated if it was archived).

Path parameters

  • loyaltyProgramIdrequired string
    The Loyalty Program id.

Request body

  • accountIdrequired string
    The Account that is being onboarded to the Loyalty Program.

Responses

Request
curl -X POST https://service.centrapay.com/api/loyalty-programs/WRhAxxWpTKb5U7pXyxQjjY/memberships \
-H 'content-type: application/json' \
-H 'x-api-key: <TOKEN>' \
-d '{
"accountId": "Jaim1Cu1Q55uooxSens6yk"
}'