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": "4583a6d2-71fa-4bd4-aba0-5ea0790fe2c7",
      "object": "affiliation_product",
      "affiliation": "7277d944-446a-4c23-9700-c0e3084d7bc5",
      "product": "7fa702a7-4920-4ca2-8063-2e0ad83ad04e",
      "commission_structure": "1cc2c14b-719a-42d1-be37-7a70c0353c0b",
      "created_at": 1767909660,
      "updated_at": 1767909660
    }
  ]
}

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.