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

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.