GET
/
loyalty-programs
curl --request GET \
  --url https://app.levanta.io/api/creator/v1/loyalty-programs \
  --header 'Authorization: Bearer <token>'
{
  "programs": [
    {
      "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
      "name": "<string>",
      "brand": {
        "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
        "name": "<string>"
      },
      "membershipActiveThrough": "<string>",
      "startMonth": "<string>",
      "endMonth": "<string>",
      "target": {
        "sales": 123,
        "bonus": 123
      },
      "accrued": {
        "sales": 123,
        "bonus": 123
      },
      "currency": "USD"
    }
  ],
  "cursor": "<string>"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Query Parameters

limit
number
default:25

The maximum number of items to return

Required range: 1 <= x <= 100
cursor
string

The cursor returned from the last request, if omitted the first page will be returned

Maximum length: 512
status
enum<string>
default:active
Available options:
active,
ended,
all
brand_ids
string

Comma-delimited list of UUIDs representing an array

program_ids
string

Comma-delimited list of UUIDs representing an array

marketplace
enum<string>
default:amazon.com
Available options:
amazon.com

Response

200
application/json

Success

The response is of type object.