GET
/
creator-connections
/
campaigns
/
{campaign_id}
/
loyalty-programs
curl --request GET \
  --url https://app.levanta.io/api/creator/v1/creator-connections/campaigns/{campaign_id}/loyalty-programs \
  --header 'Authorization: Bearer <token>'
{
  "campaign": {
    "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
    "name": "<string>",
    "startDate": "2023-11-07T05:31:56Z",
    "endDate": "2023-11-07T05:31:56Z",
    "status": "<string>",
    "commissionPercentage": 123,
    "brand": {
      "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
      "name": "<string>"
    }
  },
  "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.

Path Parameters

campaign_id
string
required

UUID

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

Response

200
application/json

Success

The response is of type object.