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": "a472d212-ef49-4c27-9dd4-3d05b5cb018b",
      "object": "affiliation_product",
      "affiliation": "07516b56-e25a-4796-9dec-e11b42a3e9d8",
      "product": "8318e6a9-8c51-4645-bb4f-7afb88f11c65",
      "commission_structure": "0cd23ddd-8537-4d4d-a908-665a45ebfb5f",
      "created_at": 1770234837,
      "updated_at": 1770234837
    }
  ]
}

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.