GET
/
loyalty-programs
/
{program_id}
/
products
curl --request GET \
  --url https://app.levanta.io/api/creator/v1/loyalty-programs/{program_id}/products \
  --header 'Authorization: Bearer <token>'
{
  "program": {
    "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"
  },
  "products": [
    {
      "asin": "<string>",
      "marketplace": "amazon.com",
      "title": "<string>",
      "image": "<string>",
      "inStock": true,
      "pricing": {
        "price": 123,
        "currency": "USD"
      },
      "salesForProgram": 123
    }
  ],
  "cursor": "<string>"
}

Authorizations

Authorization
string
header
required

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

Path Parameters

program_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.