Loyalty Accounts Caching

V4

The Loyalty Account Caching endpoints provide the ability to add, as well as drop, an account to/from a resilient cache. Unknown account identifiers will generate 404 errors.


Endpoints

Verb Endpoint Description
POST v4/loyalty-accounts/card-{cardNumber}/cache Adds loyalty account information into a resilient cache
POST v4/loyalty-accounts/email-{emailAddress}/cache Adds loyalty account information into a resilient cache

Examples

Loads loyalty account with card number into cache
POST  v4/loyalty-accounts/card-1234567890123456/cache

Response

HTTP/1.1 200 OK
Loads loyalty account with email into cache
POST  v4/loyalty-accounts/email-developer@amctheatres.com/cache

Response

HTTP/1.1 200 OK