Skip to main content
Retrieve the active earning rules a customer can see, with points already boosted for the logged-in customer’s VIP tier and any active bonus campaign. Use this to display how customers earn points. Pass the logged-in customer through the app proxy and the response reflects their personalized earning rates; for guests it returns base rates.

Usage

Response

boolean
Whether the request was successful.
array
List of active earning rules.
string
"points" or "store_credit". In store-credit mode award values are minor currency units. See Loyalty modes.
string
The shop’s ISO currency code.
object | null
Banner context when the customer’s tier boosts earning, or null.
object | null
Banner context for an active bonus campaign ({ name, id }), or null.

Sample response