# Loyaltey

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

App · 6 actions. Web page: https://docs.lodol.com/docs/integrations/loyaltey

## Actions

### Get card

Get one loyalty card with its balance.

**Inputs**

- Card ID (`id`, text, required): The card's Loyaltey ID, from List cards.

**Outputs**

- `data` (object): The response from Loyaltey.

**Example output**

```json
{
  "data": {
    "data": {
      "id": "a1b2c3d4"
    },
    "success": true
  }
}
```

### Get customer

Get one loyalty member.

**Inputs**

- Customer ID (`id`, text, required): The customer's Loyaltey ID, from List customers.

**Outputs**

- `data` (object): The response from Loyaltey.

**Example output**

```json
{
  "data": {
    "data": {
      "id": "a1b2c3d4"
    },
    "success": true
  }
}
```

### List cards

List one page of customers' loyalty cards.

**Inputs**

- Page (`page`, number): Which page to read, starting at 1. At least 1.
- Page size (`pageSize`, number): How many to return on each page. At least 1.

**Outputs**

- `data` (object): The response from Loyaltey.

**Example output**

```json
{
  "data": {
    "data": [
      {
        "id": "a1b2c3d4"
      }
    ],
    "success": true
  }
}
```

### List customers

List one page of your loyalty members.

**Inputs**

- Page (`page`, number): Which page to read, starting at 1. At least 1.
- Page size (`pageSize`, number): How many to return on each page. At least 1.

**Outputs**

- `data` (object): The response from Loyaltey.

**Example output**

```json
{
  "data": {
    "data": [
      {
        "id": "a1b2c3d4"
      }
    ],
    "success": true
  }
}
```

### List programs

List one page of your stamp and points programs.

**Inputs**

- Page (`page`, number): Which page to read, starting at 1. At least 1.
- Page size (`pageSize`, number): How many to return on each page. At least 1.

**Outputs**

- `data` (object): The response from Loyaltey.

**Example output**

```json
{
  "data": {
    "data": [
      {
        "id": "a1b2c3d4"
      }
    ],
    "success": true
  }
}
```

### List redemptions

List one page of rewards customers have claimed.

**Inputs**

- Page (`page`, number): Which page to read, starting at 1. At least 1.
- Page size (`pageSize`, number): How many to return on each page. At least 1.

**Outputs**

- `data` (object): The response from Loyaltey.

**Example output**

```json
{
  "data": {
    "data": [
      {
        "id": "a1b2c3d4"
      }
    ],
    "success": true
  }
}
```
