key:value pairs for you to use however you see fit. These are queryable fields to get specific results and are returned in the results so you can programatically use these however you need./v1/products/lists| Header | Required | Description |
|---|---|---|
| Authorization | Yes | Bearer token |
| Content-Type | Yes | application/json |
{
"pool_id": 456,
"metadata": {
"category": "tech_products"
},
"name": "Smart Home Devices",
"product_ids": [
"1234567890123456789",
"2345678901234567890"
]
}{
"data": {
"id": "d345e67f-89g0-1h2i-3j45-6k7891lm2345",
"name": "Smart Home Devices",
"metadata": {
"category": "tech_products"
},
"products_count": 2,
"products": [
{
"id": "1234567890123456789",
"barcode": 123456,
"name": "Smart Thermostat Pro",
"description": "Wi-Fi enabled thermostat with voice control",
"commission_url": "https://www.example-affiliate.net/click-123-456789?url=https%3A%2F%2Fwww.example-store.com%2Fproducts%2Fsmart-thermostat-pro",
"direct_url": "https://www.example-store.com/products/smart-thermostat-pro",
"image_url": "https://assets.example-store.com/images/products/thermostat-pro.jpg",
"currency": "USD",
"regular_price": 129.99,
"final_price": 99.99,
"on_sale": true,
"sale_discount": 23,
"availability": "In Stock",
"sku": 123456,
"brand": "SmartHome",
"category": "Home & Garden > Smart Home > Climate Control",
"network": {
"id": 5,
"name": "AffiliateNetwork",
"logo_url": "https://img.affiliate.com/logos/networks/5/logo.png"
},
"merchant": {
"id": 1234,
"name": "Example Store",
"logo_url": "https://img.affiliate.com/logos/merchants/1234/logo.png"
}
},
{
"id": "2345678901234567890",
"barcode": 123456,
"name": "Smart Security Camera",
"description": "1080p HD security camera with night vision",
"commission_url": "https://www.example-affiliate.net/click-123-456789?url=https%3A%2F%2Fwww.example-store.com%2Fproducts%2Fsmart-security-camera",
"direct_url": "https://www.example-store.com/products/smart-security-camera",
"image_url": "https://assets.example-store.com/images/products/security-camera.jpg",
"currency": "USD",
"regular_price": 89.99,
"final_price": 89.99,
"on_sale": false,
"sale_discount": 0,
"availability": "In Stock",
"sku": 123456,
"brand": "SecureTech",
"category": "Home & Garden > Smart Home > Security",
"network": {
"id": 5,
"name": "AffiliateNetwork",
"logo_url": "https://img.affiliate.com/logos/networks/5/logo.png"
},
"merchant": {
"id": 1234,
"name": "Example Store",
"logo_url": "https://img.affiliate.com/logos/merchants/1234/logo.png"
}
}
]
},
"meta": {
"trace_id": "a98b7c65-4d32-1e0f-9g87-6h5432i10j9k"
}
}/v1/products/lists| Header | Required | Description |
|---|---|---|
| Authorization | Yes | Bearer token |
https://api.affiliate.com/v1/products/lists{
"meta": {
"total": 1,
"from": 1,
"to": 1,
"current_page": 1,
"last_page": 1,
"per_page": 100,
"fields": [],
"trace_id": "0195cde4-325d-7376-ab52-48b8f1256dd0"
},
"data": [
{
"id": "9e8465d7-2095-4a9d-8453-73ed666dc14e",
"name": "listnamehere",
"owner_identifier": "ownernamehere",
"metadata": {
"key1": "metavalueiwantreturned"
},
"products_count": 2
}
]
}/v1/products/lists/{list_id}| Parameter | Required | Description |
|---|---|---|
| list_id | Yes | ID of the product list |
| Header | Required | Description |
|---|---|---|
| Authorization | Yes | Bearer token |
{
"data": {
"id": "d345e67f-89g0-1h2i-3j45-6k7891lm2345",
"name": "Smart Home Devices",
"metadata": {
"category": "tech_products"
},
"products_count": 2,
"products": [
{
"id": "1234567890123456789",
"barcode": 123456,
"name": "Smart Thermostat Pro",
"description": "Wi-Fi enabled thermostat with voice control",
"commission_url": "https://www.example-affiliate.net/click-123-456789?url=https%3A%2F%2Fwww.example-store.com%2Fproducts%2Fsmart-thermostat-pro",
"direct_url": "https://www.example-store.com/products/smart-thermostat-pro",
"image_url": "https://assets.example-store.com/images/products/thermostat-pro.jpg",
"currency": "USD",
"regular_price": 129.99,
"final_price": 99.99,
"on_sale": true,
"sale_discount": 23,
"availability": "In Stock",
"sku": 123456,
"brand": "SmartHome",
"category": "Home & Garden > Smart Home > Climate Control",
"network": {
"id": 5,
"name": "AffiliateNetwork",
"logo_url": "https://img.affiliate.com/logos/networks/5/logo.png"
},
"merchant": {
"id": 1234,
"name": "Example Store",
"logo_url": "https://img.affiliate.com/logos/merchants/1234/logo.png"
}
},
{
"id": "2345678901234567890",
"barcode": 123456,
"name": "Smart Security Camera",
"description": "1080p HD security camera with night vision",
"commission_url": "https://www.example-affiliate.net/click-123-456789?url=https%3A%2F%2Fwww.example-store.com%2Fproducts%2Fsmart-security-camera",
"direct_url": "https://www.example-store.com/products/smart-security-camera",
"image_url": "https://assets.example-store.com/images/products/security-camera.jpg",
"currency": "USD",
"regular_price": 89.99,
"final_price": 89.99,
"on_sale": false,
"sale_discount": 0,
"availability": "In Stock",
"sku": 123456,
"brand": "SecureTech",
"category": "Home & Garden > Smart Home > Security",
"network": {
"id": 5,
"name": "AffiliateNetwork",
"logo_url": "https://img.affiliate.com/logos/networks/5/logo.png"
},
"merchant": {
"id": 1234,
"name": "Example Store",
"logo_url": "https://img.affiliate.com/logos/merchants/1234/logo.png"
}
}
]
},
"meta": {
"trace_id": "b12c3d45-e67f-89a0-1b2c-3d4567e8f90a"
}
}/v1/products/lists| Parameter | Required | Description |
|---|---|---|
| metadata[{metadatakey1}] | Yes | Metadata key:value pairs |
| Header | Required | Description |
|---|---|---|
| Authorization | Yes | Bearer token |
https://api.affiliate.com/v1/products/lists?metadata[metadatakey1]=metadatavalue1&[metadatakey2]=metadatavalue2...{
"meta": {
"total": 1,
"from": 1,
"to": 1,
"current_page": 1,
"last_page": 1,
"per_page": 100,
"fields": [],
"trace_id": "f12a3d45-6b78-90c1-2d3e-4f5678901234"
},
"data": [
{
"id": "c234a56b-78c9-4d0e-1f23-456789abcdef",
"name": "Summer Collection",
"metadata": {
"metadatakey1": "metadatavalue1"
},
"products_count": 2
},
{
"id": "c234a56b-78c9-4d0e-1f23-456789agedf",
"name": "Winter Collection",
"metadata": {
"metadatakey2": "metadatavalue2"
},
"products_count": 5
}
]
}/v1/products/lists/{list_id}| Parameter | Required | Description |
|---|---|---|
| list_id | Yes | ID of the product list |
| Header | Required | Description |
|---|---|---|
| Authorization | Yes | Bearer token |
{
"id": "d345e67f-89g0-1h2i-3j45-6k7891lm2345",
"status": "deleted",
"meta": {
"trace_id": "c1d2e3f4-5g6h-7i8j-9k10-l1m2n3o4p5q6"
}
}ignored_product_ids array./v1/products/lists/{list_id}/items| Parameter | Required | Description |
|---|---|---|
| list_id | Yes | ID of the product list |
| Header | Required | Description |
|---|---|---|
| Authorization | Yes | Bearer token |
| Content-Type | Yes | application/json |
{
"product_ids": [
"3456789012345678901",
"4567890123456789012"
]
}{
"list_id": "d345e67f-89g0-1h2i-3j45-6k7891lm2345",
"added_product_ids": [
"3456789012345678901"
],
"ignored_product_ids": [
"4567890123456789012"
],
"meta": {
"trace_id": "d1e2f3g4-5h6i-7j8k-9l10-m1n2o3p4q5r6"
}
}ignored_product_ids array./v1/products/lists/{list_id}/products| Parameter | Required | Description |
|---|---|---|
| list_id | Yes | ID of the product list |
| Header | Required | Description |
|---|---|---|
| Authorization | Yes | Bearer token |
| Content-Type | Yes | application/json |
{
"product_ids": [
"1234567890123456789",
"9876543210987654321"
]
}{
"list_id": "d345e67f-89g0-1h2i-3j45-6k7891lm2345",
"removed_product_ids": [
"1234567890123456789"
],
"ignored_product_ids": [
"9876543210987654321"
],
"meta": {
"trace_id": "e1f2g3h4-5i6j-7k8l-9m10-n1o2p3q4r5s6"
}
}