Loyaltey
App · 6 actions
Look up your Loyaltey programs, members, stamp cards and the rewards customers have claimed.
Actions
| Action | What it does |
|---|---|
| Get card | Get one loyalty card with its balance. |
| Get customer | Get one loyalty member. |
| List cards | List one page of customers' loyalty cards. |
| List customers | List one page of your loyalty members. |
| List programs | List one page of your stamp and points programs. |
| List redemptions | List one page of rewards customers have claimed. |
Get card
Get one loyalty card with its balance.
Inputs
- Card ID
idtextRequired - The card's Loyaltey ID, from List cards.
Outputs
dataobject- The response from Loyaltey.
Example output
{
"data": {
"data": {
"id": "a1b2c3d4"
},
"success": true
}
}Get customer
Get one loyalty member.
Inputs
- Customer ID
idtextRequired - The customer's Loyaltey ID, from List customers.
Outputs
dataobject- The response from Loyaltey.
Example output
{
"data": {
"data": {
"id": "a1b2c3d4"
},
"success": true
}
}List cards
List one page of customers' loyalty cards.
Inputs
- Page
pagenumber - Which page to read, starting at 1.At least 1.
- Page size
pageSizenumber - How many to return on each page.At least 1.
Outputs
dataobject- The response from Loyaltey.
Example output
{
"data": {
"data": [
{
"id": "a1b2c3d4"
}
],
"success": true
}
}List customers
List one page of your loyalty members.
Inputs
- Page
pagenumber - Which page to read, starting at 1.At least 1.
- Page size
pageSizenumber - How many to return on each page.At least 1.
Outputs
dataobject- The response from Loyaltey.
Example output
{
"data": {
"data": [
{
"id": "a1b2c3d4"
}
],
"success": true
}
}List programs
List one page of your stamp and points programs.
Inputs
- Page
pagenumber - Which page to read, starting at 1.At least 1.
- Page size
pageSizenumber - How many to return on each page.At least 1.
Outputs
dataobject- The response from Loyaltey.
Example output
{
"data": {
"data": [
{
"id": "a1b2c3d4"
}
],
"success": true
}
}List redemptions
List one page of rewards customers have claimed.
Inputs
- Page
pagenumber - Which page to read, starting at 1.At least 1.
- Page size
pageSizenumber - How many to return on each page.At least 1.
Outputs
dataobject- The response from Loyaltey.
Example output
{
"data": {
"data": [
{
"id": "a1b2c3d4"
}
],
"success": true
}
}