Loyaltey

App · 6 actions

Look up your Loyaltey programs, members, stamp cards and the rewards customers have claimed.

Actions

ActionWhat it does
Get cardGet one loyalty card with its balance.
Get customerGet one loyalty member.
List cardsList one page of customers' loyalty cards.
List customersList one page of your loyalty members.
List programsList one page of your stamp and points programs.
List redemptionsList one page of rewards customers have claimed.

Get card

Get one loyalty card with its balance.

Inputs

Card IDidtextRequired
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 IDidtextRequired
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

Pagepagenumber
Which page to read, starting at 1.At least 1.
Page sizepageSizenumber
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

Pagepagenumber
Which page to read, starting at 1.At least 1.
Page sizepageSizenumber
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

Pagepagenumber
Which page to read, starting at 1.At least 1.
Page sizepageSizenumber
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

Pagepagenumber
Which page to read, starting at 1.At least 1.
Page sizepageSizenumber
How many to return on each page.At least 1.

Outputs

dataobject
The response from Loyaltey.
Example output
{
  "data": {
    "data": [
      {
        "id": "a1b2c3d4"
      }
    ],
    "success": true
  }
}

On this page