Skip to main content
GET
/
v1
/
affiliation_products
List
curl --request GET \
  --url https://{defaultHost}/v1/affiliation_products \
  --header 'Authorization: Bearer <token>'
{
  "object": "list",
  "pagination": {
    "count": 1,
    "limit": 20,
    "page": 1,
    "url": "/v1/affiliation_products"
  },
  "data": [
    {
      "id": "f1678d3a-3f45-494b-bf99-e2e77ecd172b",
      "object": "affiliation_product",
      "affiliation": "9b5a586b-31e4-477d-8e0d-0903fde66dda",
      "product": "ffd2a0ce-1e59-45d7-800c-385b8ca1f8b3",
      "commission_structure": "c818b968-c0e0-4693-b4ac-6e77d0bd1e89",
      "created_at": 1772112909,
      "updated_at": 1772112909
    }
  ]
}

Authorizations

Authorization
string
header
required

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

Query Parameters

affiliation_ids[]
string[]

Only return objects that belong to the given affiliations.

ids[]
string[]

Only return objects with the given IDs.

limit
integer

A limit on the number of items to be returned, between 1 and 100.

page
integer

The page of items you want returned.

product_ids[]
string[]

Only return objects that belong to the given products.

Response

200 - application/json

Success

object
string

A string describing the object type returned.

pagination
object
data
array

An array of objects.