Skip to main content

Loyalty Partner Enroll

  • Loyalty

Enroll a Customer in the Accor Loyalty Program.

Version
1.0.4
Status
Live
Incident
No incident

HTTP Methods

The API is accessible only through the Https protocol and only accepts HTTPS PUT requests.
Made to put information when a new or existant member has been enrolled, as well as to be able to retrieve in the first call the card member information.

UAT base URL:  "https://rec-api.accor.com/loyalty/v1/partner/enroll"

PROD base URL:  "https://api.accor.com/loyalty/v1/partner/enroll"

UAT Example: "https://rec-api.accor.com/loyalty/v1/partner/enroll"

HTTP Response codes

We use conventional HTTP response codes to indicate the success or failure of an API request.

  • Codes in the 2xx range indicate success.
  • Codes in the 4xx range indicate an error.
  • Codes in the 5xx range indicate an server error.

Some 4xx errors that could be handled programmatically include an error code that briefly explains the error reported.

  • ACCOUNT_STATUS_NOT_OPEN
  • EXTERNAL_ID_ALREADY_REGISTERED

status for the 2xx enrollment :

  • SUCESSFULL : member was enrolled
  • EXTERNAL_ID_UPDATED : member already existed and is now flagged  with his PartnerId (memberExternalId)

Use Accor Loyalty Enrollment on Partner platform in two ways:

  1. Enroll Accor Loyalty  with Partner ID from Partner Platform. 
    {
      "externalId": "Partner ID Number",
      "civility": "MS",
      "lastName": "ZHANG",
      "firstName": "JESSICA",
      "phonePrefix": 86,
      "phoneNumber": 18058130701,
      "country": "CH",
      "language": "en",
      "email": "jessica.zhang@yopmail.com",
      "acceptedTandC": true,
      "optinALL": true,
      "promotionCode": "promotion123"
    }
  2. Self Enroll ALL Loyalty Program with a QR Code (Self Enroll Partner).
    {
      "externalId": "Partner ID Number",
      "civility": "MS",
      "lastName": "ZHANG",
      "firstName": "JESSICA",
      "phonePrefix": 86,
      "phoneNumber": 18058130701,
      "country": "CH",
      "language": "en",
      "email": "jessica.zhang@yopmail.com",
      "acceptedTandC": true,
      "optinALL": true,
      "promotionCode": "promotion123",
      "channel": "qrcode",
      "hotelCode": 3637
    }

About us

We are far more than a worldwide leader. We are 300,000 hospitality experts placing people at the heart of what we do, and nurturing real passion for service and achievement beyond limits. We take care of millions of guests in our 5,000 addresses.