Authorizations
The access token received from the authorization server in the OAuth 2.0 flow.
Path Parameters
Unique loyalty card assigned to a particular customer.
"MmFAzfDe"
Query Parameters
Limit the results to rewards that the customer can actually afford (only rewards whose price in points is not higher than the loyalty points balance on a loyalty card). Set this flag to true
to return rewards which the customer can actually afford.
Response
Returns a list of rewards for the given member_id
. Returns a filtered list if the query parameter affordable_only
is set to true
.
Response body schema for GET v1/loyalties/members/{memberId}/rewards
The type of the object represented by JSON.
list
Identifies the name of the attribute that contains the array of loyalty reward objects.
data
Contains array of loyalty reward objects.
Total number of loyalty reward objects.
x >= 0