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": "c492a727-a731-4003-ad71-e0d4e9198fec",
      "object": "affiliation_product",
      "affiliation": "a4f39f20-17c6-4ca7-b02e-7c4f62285674",
      "product": "09edbd0b-4884-47e4-8ec4-0aaa05ffeb32",
      "commission_structure": "19572642-b3b8-4aa9-98fe-a16d0d9db2d9",
      "created_at": 1773903524,
      "updated_at": 1773903524
    }
  ]
}

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.