Skip to main content

Link Loyalty Cross Rewards Program

  • Loyalty

Link/Unlink a loyalty partner program with ALL loyalty program.

Version
1.0.4
Status
Live
Incident
No incident

How to use it?

HTTP Methods

The API is accessible only through the Https protocol and only accepts HTTP POST requests.
It's made to modify information.

UAT base URL: 
"https://rec-api.accor.com/loyalty/"
PRO base URL: 
"https://api.accor.com/loyalty/"

UAT Example: 

"https://rec-api.accor.com/loyalty/v1/members/{pmid}/link"

"https://rec-api.accor.com/loyalty/v1/members/{pmid}/unlink"

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.

LOYALTY_ACCOUNT_ERROR

ANOTHER_ONGOING_LINK_ACCOUNT

ELIGIBLE_CHANGE_FOR_ONGOING_LINK_ACCOUNT

LOYALTY_ACCOUNT_UNLINKED_COMMITTED

LOYALTY_ACCOUNT_UNICITY_ERROR

LOYALTY_ACCOUNT_EVENT_ERROR

 

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.