Get a Range of Products Available for Redemption
Another possible goal you might have is to get a range of products that are available for redemption programmatically using the REST API. These products can be from different associated partners, points and point types, and grouped by the start and end dates for when the products can be redeemed. This use case retrieves a redemption catalog for program name 300100110961159.
Example URL
The following is an example of the resource URL.
GET
https://example.com:port/crmRestApi/resources/11.13.18.05/loyPrograms/300100110961159/child/RedemptionProducts
Example Response
The following is an example of the response body.
{
"items": [
{
"ProdRedempEndDt": "2018-07-21",
"ProdRedempStartDt": "2017-07-21",
"ProdRedemptionPoint": 400,
"ProductName": "Pro 400",
"PointTypeName": "Base",
"InternalName": "PointTypeAVal",
"ItemNumber": "CRMITEM-AS54888-00182745",
"MemberPointBalance": null,
"PartyName": "Avengers Inc",
"PartyNumber": "CDRM_71324",
"ProgramName": "Auto Miles20030846435",
"ProdRedempComments": null,
"ProdRedempURL": null,
"links": [
{
"rel": "self",
"href": "https://example.com:port/crmRestApi/resources/11.13.18.05/loyPrograms/300100110961159/child/RedemptionProducts/00060000000EACED00057708000110F08082CA220000000EACED00057708000110F08082CA070000000EACED00057708000110F08082CA110000000EACED0005770800038D7D3F2FE2A50000000EACED00057708000110F07BE02EAA0000000EACED0005770800000000000000CC",
"name": "RedemptionProducts",
"kind": "item",
"properties": {
"changeIndicator": "ACED0005737200136A6176612E7574696C2E41727261794C6973747881D21D99C7619D03000149000473697A65787000000001770400000001737200116A6176612E6C616E672E496E746567657212E2A0A4F781873802000149000576616C7565787200106A6176612E6C616E672E4E756D62657286AC951D0B94E08B02000078700000000178"
}
},
{
"rel": "canonical",
"href": "https://example.com:port/crmRestApi/resources/11.13.18.05/loyPrograms/300100110961159/child/RedemptionProducts/00060000000EACED00057708000110F08082CA220000000EACED00057708000110F08082CA070000000EACED00057708000110F08082CA110000000EACED0005770800038D7D3F2FE2A50000000EACED00057708000110F07BE02EAA0000000EACED0005770800000000000000CC",
"name": "RedemptionProducts",
"kind": "item"
},
{
"rel": "parent",
"href": "https://example.com:port/crmRestApi/resources/11.13.18.05/loyPrograms/300100110961159",
"name": "loyPrograms",
"kind": "item"
},
{
"rel": "lov",
"href": "https://example.com:port/crmRestApi/resources/11.13.18.05/loyPrograms/300100110961159/child/RedemptionProducts/00060000000EACED00057708000110F08082CA220000000EACED00057708000110F08082CA070000000EACED00057708000110F08082CA110000000EACED0005770800038D7D3F2FE2A50000000EACED00057708000110F07BE02EAA0000000EACED0005770800000000000000CC/lov/ItemPVO1",
"name": "ItemPVO1",
"kind": "collection"
}
]
}
],
"count": 1,
"hasMore": false,
"limit": 25,
"offset": 0,
"links": [
{
"rel": "self",
"href": "https://example.com:port/crmRestApi/resources/11.13.18.05/loyPrograms/300100110961159/child/RedemptionProducts",
"name": "RedemptionProducts",
"kind": "collection"
}
]
}