It is often necessary to retrieve the Points Catalog for a points program to present the user with a catalogue of available rewards and points required to buy the reward.
Getting The Catalog
GET /mobile/api_v1/stored_value_campaigns/<id>
Replace <id> with the id of the points program of interest.
The list will include all of the items that are available to the Points Program.
{ "data": [{ "id":3,
"type": "stored_value_campaign" "attribrutes":{
"reward_campaign_ids": [ 1,2,3,4,5 ] } }], "meta": { } }
This recordset contains a set of target_type and target_id attributes used to retrieve the reward details available for the program.
Comments
0 comments
Please sign in to leave a comment.