Get available challenges
When no StoreId or ChainId is provided, all available challenges for the customer are returned. When StoreId and/or ChainId are provided, only the challenges available for the specified store/chain are returned. If both StoreId and ChainId are provided, challenges available in specified store or specified chain are returned. If Challenge is configured with list of chains, but only StoreId is provided in the request, challenges available for the chain are not returned.
Authorizations
Opaque Authorization header using the Bearer scheme. Example: "Authorization: Bearer {token}"
Headers
Current customer id.
Query Parameters
The selected store to retrieve related available cards.
The selected chain to retrieve related available cards.
Response
OK
Configuration to make the challenge card invisible.
Specifies if the card can accumulate progress. True after manual activation, or automatically for preactivated challenges.
Progress accumulated for the specific instance of challenge. Can be integer when calculation types are ProductCount and StoreVisit, or a float value otherwise.
Amount of cards that user has activated in the given challenge. Includes current card, if it was activated.
Populated only if the card was already completed. Such cards no longer accumulate progress, so user can see what they already completed. Closed cards are returned until their challenge expires.
Id of the specific card. If challenge is renewable, this id will be different on each of the cards, while ActivityId will be the same. Will be null, if card is not activated.
The highest tier reached on this card. Null for non-tiered challenges or when no tier has been reached yet.