Calculates the potential points an authenticated customer can earn for a product and its variants. Requires customer authentication headers. Includes customer-specific multipliers (e.g. VIP tiers) and respects segment restrictions.
| Time | Status | User Agent | |
|---|---|---|---|
Retrieving recent requests… | |||
Storefront endpoint with customer authenticationThis endpoint is on
https://storefront.yotpo.com/loyalty, not developers.yotpo.com. Instead of an access token, it takes the shopper's email, store account ID and anX-Customer-Token: the SHA-256 of the email followed by the merchant's Loyalty API key. Your app's access token doesn't give you that API key, so the merchant has to provide it, and you must compute the token on your server. For points that don't depend on the shopper, use Retrieve Product Potential Points, which needs no authentication.
