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": "ad39a707-8aa8-48df-baa7-c662eed7d538",
      "object": "affiliation_product",
      "affiliation": "c3a14ac2-7843-4e97-9461-9f3e3a592f3d",
      "product": "50e6c892-61f7-4731-b05f-f2a80adfe995",
      "commission_structure": "5262242d-de8a-4891-8753-8f371a116aab",
      "created_at": 1771429847,
      "updated_at": 1771429847
    }
  ]
}

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.