diff --git a/api/loyalty-program-memberships/index.html b/api/loyalty-program-memberships/index.html index e26098d60..8b01e6f19 100644 --- a/api/loyalty-program-memberships/index.html +++ b/api/loyalty-program-memberships/index.html @@ -31,7 +31,7 @@ window.addEventListener('beforeunload', () => { localStorage.setItem('sidebar-scroll', leftSidebar.scrollTop); }); -

Loyalty Program Memberships

A Loyalty Program Membership represents an Account’s membership to a Loyalty Program.

+

Loyalty Program Memberships

A Loyalty Program Membership represents an Account’s membership to a Loyalty Program.

Attributes

  • accountId

    stringrequired

    The Account  API  that is being onboarded to the Loyalty Program.

Errors

  • MEMBERSHIP_ALREADY_EXISTS

    403

    A membership has already been created for this account and this loyalty program.

Request
POST/api/loyalty-programs/WRhAxxWpTKb5U7pXyxQjjY/memberships
curl -X POST \
+
  • MEMBERSHIP_ALREADY_EXISTS

    403

    A membership has already been created for this account and this loyalty program.

  • LOYALTY_PROGRAM_ACCOUNT_LIVENESS_MISMATCH

    403

    The account cannot be test if the loyalty program is not test.

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