PartnerBoost API Documentation
Integrate your systems with PartnerBoost's partnership management platform. Our API enables you to manage transactions, generate reports, handle creatives, and manage your product datafeed programmatically.
Authentication
The PartnerBoost API currently supports a number of different actions. All requests should be made as a HTTPS GET or POST (JSON) request to:
Required Parameters
bid- Your brand ID numbertoken- Unique token received when account is set up for API useaction- One of the supported actionsversion- Currently 1.0
Required Headers
Content-Type- application/jsonX-PARTNERBOOST-DATE- The current date in UTC (Universal Time Code)X-PARTNERBOOST-AUTHENTICATION- The calculated authentication hash
Authentication Hash
The Authentication Hash is a SHA-256 Hash in 64 character Hex format of the string:
For the following values:
- API Action: order/new
- Token: a25fb1225425ae360ec2922286e7bd01
- API Secret: 65906f8ecdaf1147bca07dbebf9d29656317a2913783b6ac6f08c6d5713dca5c
- UTC Date: Fri, 07 Jan 2022 07:21:16 GMT
- String to Hash: a25fb1225425ae360ec2922286e7bd01;order/new;Fri, 07 Jan 2022 07:21:16 GMT;65906f8ecdaf1147bca07dbebf9d29656317a2913783b6ac6f08c6d5713dca5c
Correct HTTP Headers
- X-PARTNERBOOST-DATE: Fri, 07 Jan 2022 07:21:16 GMT
- X-PARTNERBOOST-AUTHENTICATION: c0603ea2f4bd66eaac5e6fbbd2093ea6426d7e13e0a8cc4f5550368f55f7e64a
Transaction API
| Key | 职位 | Example | Required | Type |
|---|---|---|---|---|
order_number |
Your unique order number | 201000000001 | Yes | string |
pbtid |
PartnerBoost click track code | x_xxxxx | No | string |
is_new_customer |
Is new customer in brand | false | No | bool |
uid |
User identity in brand | 453215 | No | string |
currency |
Order currency | USD | Yes | string |
trans_time |
Order transaction time | Thu, 20 Jan 2022 05:27:30 GMT | Yes | string |
amount |
Actual order amount | 111.55 | No | double |
quantity |
Quantity of products | 1 | No | int |
remark |
Any message | No | string | |
couponcode |
Comma-delimited list of coupon codes | ZVKD234,ZVKA111 | No | string |
skus |
SKU list (required when order has SKU) | Array | No | array |
| Key | 职位 | Example | Required | Type |
|---|---|---|---|---|
order_number |
Your unique order number | 201000000001 | Yes | string |
| Key | 职位 | Example | Required | Type |
|---|---|---|---|---|
order_number |
Your unique order number | 201000000001 | Yes | string |
| Key | 职位 | Example | Required | Type |
|---|---|---|---|---|
medium_id |
Publisher identity | LDC000123 | Yes | string |
currency |
Order currency | USD | Yes | string |
trans_time |
Order transaction time | Thu, 20 Jan 2022 05:27:30 GMT | Yes | string |
commission |
Commission for publisher | 11.15 | Yes | double |
remark |
Any message | No | string |
Report API
| Key | 职位 | Example | Required | Type |
|---|---|---|---|---|
start_time |
Start timestamp | 1650351153 | No | int |
end_time |
End timestamp | 1670351153 | No | int |
first |
First | 0 | No | int |
page_size |
Page size from 20 to 100 | 20 | No | int |
publisher_id |
Publisher ID | No | string | |
channel_id |
Channel ID | No | string |
| Key | 职位 | Example | Required | Type |
|---|---|---|---|---|
id |
Transfer ID (one of id and pbtid is required) | 720078 | No | int |
pbtid |
Tracking flag from landing URL (one of id and pbtid is required) | pb_xxxx | No | string |
| Key | 职位 | Example | Required | Type |
|---|---|---|---|---|
start_time |
Transaction timestamp | 1650351153 | No | int |
end_time |
Transaction timestamp | 1670351153 | No | int |
page_number |
Page number | 1 | No | int |
page_size |
Page size from 20 to 100 | 20 | No | int |
sort_dir |
enum(desc, asc), default is desc | desc | No | enum |
sort_col |
enum(transid, commission, amount) | transid | No | enum |
status |
enum(new, void, effective) | No | enum | |
type |
Transaction type | No | enum |
| Key | 职位 | Example | Required | Type |
|---|---|---|---|---|
limit |
Amount per page (max 200, default 100) | 100 | No | int |
cursor |
Cursor for pagination | 1 | Yes | string |
start_date |
Start date (YYYYMMDD) | 20241101 | No | string |
end_date |
End date (YYYYMMDD) | 20241101 | No | string |
order_status |
Order status | new, void, mixed, locked, paid | No | string |
sku_status |
SKU/ASIN status | new, void, locked, paid | No | string |
transaction_type |
Transaction type | bonus, manually_added, normal | No | string |
publisher_id |
Publisher ID | No | string | |
group_id |
Group ID assigned to publishers | 323 | No | string |
Creative API
| Key | 职位 | Example | Required | Type |
|---|---|---|---|---|
type |
Type | IMAGE/TEXT/COUPON | Yes | string |
status |
Status | Scheduled/Active/Expired | No | Array |
privacy |
Permission | PUBLIC/PRIVATE | No | Array |
keyword |
Keyword | test | No | string |
page_num |
Page Number | 1 | No | int |
page_size |
Page Size | 10 | No | int |
| Key | 职位 | Example | Required | Type |
|---|---|---|---|---|
type |
Type | IMAGE/TEXT/COUPON | Yes | string |
start_time |
Start Time | 1680241332 | Yes | string |
end_time |
End Time | 1682574132 | Yes | string |
link |
Link (Required when type == TEXT) | https://www.example.com | No | string |
content |
Content (Required when type == TEXT) | test | No | string |
images |
Images (Required when type == IMAGE) | Array | No | Array |
title |
职位 | test | No | string |
privacy |
Privacy | PUBLIC/PRIVATE | No | string |
| Key | 职位 | Example | Required | Type |
|---|---|---|---|---|
id |
ID | 132505 | Yes | string |
title |
职位 | test | No | string |
start_time |
Start Time | 1680241332 | No | string |
end_time |
End Time | 1682574132 | No | string |
privacy |
Privacy | PUBLIC/PRIVATE | No | string |
Datafeed API
| Key | 职位 | Example | Required | Type |
|---|---|---|---|---|
fetch_period |
Fetch Period (NEVER, DAILY, WEEKLY, MONTH) | DAILY | Yes | string |
fetch_url |
Fetch URL | http://www.yousite.com/datafeed.xml | Yes | string |
| Key | 职位 | Example | Required | Type |
|---|---|---|---|---|
name |
Product Name | Product Name | Yes | string |
url |
Product URL | http://www.yousite.com/product/1 | Yes | string |
image |
Product Image | http://www.yousite.com/product/1.jpg | Yes | string |
sku |
Product SKU (unique) | SKU | Yes | string |
price |
Product Price | 100 | Yes | number |
currency |
Currency Code (ISO 4217) | USD | Yes | string |
description |
Product Description | Product Description | No | string |
category |
Product Category | Category | No | string |
old_price |
Product Old Price | 100 | No | number |
brand |
Product Brand | 品牌 | No | string |
gtin |
Global Trade Identification Number | 9783161484100 | No | string |
mpn |
Manufacturer Part Number | CR2032 | No | string |
availability |
Product Availability | In Stock | No | string |
Publisher API
| Key | 职位 | Example | Required | Type |
|---|---|---|---|---|
publisher_id |
Publisher ID | 9527 | No | int |
channel_id |
Channel ID | 9527 | No | int |
status |
Status | joined | No | string |
| Key | 职位 | Example | Required | Type |
|---|---|---|---|---|
userId |
User ID (One of userId and site_ids is required) | 40828 | Yes | string |
site_ids |
Site IDs (One of userId and site_ids is required) | 40828 | Yes | string |
mail_id |
Mail ID | 40828 | No | string |
auto_approve |
Auto Approve | 1 | No | int |
status |
Status (adopt/unblock/terminated/refuse) | adopt | Yes | string |
Authentication
Publisher API requests should be made to the following endpoint:
HTTP Request Methods
- POST application/x-www-form-urlencoded
- POST application/json
- GET
Return Format
- JSON (default)
- XML
Required Parameter
token- Your channel API token (found in your Publisher Dashboard)
Each channel has its own unique API token. You can find your tokens in the Publisher Dashboard under Tools > API.
Common Result Codes
| 编码 | 描述 |
|---|---|
0 |
Success |
1000 |
Publisher does not exist |
1001 |
Invalid token |
1002 |
Call frequency too high |
1003 |
Missing required parameters or incorrect format |
Transaction
Pull detailed transactions, commission status and many more.
Required Parameters
| Key | 描述 | Example |
|---|---|---|
token |
Your channel API token | 79e33f8dac5a0be8579018760cff4cc227fb888d |
begin_date |
Transaction period start. Either transaction period or validation period is mandatory. | 2024-01-01 |
end_date |
Transaction period end | 2024-01-31 |
validation_date_begin |
Validation period start. Either transaction period or validation period is mandatory. | 2024-01-01 |
validation_date_end |
Validation period end | 2024-01-31 |
Optional Parameters
| Key | 描述 | Example |
|---|---|---|
type |
Return format: json (default) or xml | json |
order_id |
Order ID | ORD123456 |
status |
Commission Status: Pending, Approved, Rejected, Normal, All | Approved |
uid |
Your custom tracking variable | tracking123 |
brand_id |
Brand ID | 66303 |
mcid |
Unique identifier for the brand | ulike0 |
page |
Current page index | 1 |
limit |
Number of transactions per page (max 2000) | 100 |
Return Parameters
| Key | 描述 |
|---|---|
channel_id |
Channel ID |
total_page |
Total number of pages |
total_trans |
Total number of sales transactions |
brand_id |
Brand ID |
mcid |
Unique identifier for the brand |
merchant_name |
Brand Name |
order_id |
Order ID |
order_time |
Transaction Time |
sale_amount |
Sale Amount |
sale_comm |
Sale Commission |
status |
Commission Status |
uid |
Your custom tracking variable |
Click Report
Pull detailed click log.
Required Parameters
| Key | 描述 | Example |
|---|---|---|
token |
Your channel API token | 79e33f8dac5a0be8579018760cff4cc227fb888d |
begin_date |
Start date and time | 2024-01-01 00:00:00 |
end_date |
End date and time | 2024-01-01 01:00:00 |
The span of start and end date parameter values cannot exceed one hour. Maximum 10 requests per minute.
Return Parameters
| Key | 描述 |
|---|---|
channel_id |
Channel ID |
total_page |
Total number of pages |
total_items |
Total transactions broken down by items |
brand_id |
Brand ID |
mcid |
Unique identifier for the brand |
merchant_name |
Brand Name |
uid |
Your custom tracking variable |
click_time |
The time the customer clicks your link (UTC+8) |
click_ref |
A unique transaction reference identification |
Commission
Shows approved commission breakdown by brand on a monthly basis.
Required Parameters
| Key | 描述 | Example |
|---|---|---|
token |
Your channel API token | 79e33f8dac5a0be8579018760cff4cc227fb888d |
begin_date |
Start date | 2024-01-01 |
end_date |
End date | 2024-01-31 |
Return Parameters
| Key | 描述 |
|---|---|
brand_id |
Brand ID |
mcid |
Unique identifier for the brand |
sale_comm |
Sale Commission |
settlement_date |
Date when commission is approved and ready for withdrawal |
note |
Time period the amount is generated |
settlement_id |
Unique ID indicates approved commission by merchant |
Use settlement ID to retrieve commission breakdown by transactions per brand.
Required Parameters
| Key | 描述 | Example |
|---|---|---|
token |
Your channel API token | 79e33f8dac5a0be8579018760cff4cc227fb888d |
settlement_id |
Unique ID indicates approved commission by merchant | 12345 |
Return Parameters
| Key | 描述 |
|---|---|
brand_id |
Brand ID |
mcid |
Unique identifier for the brand |
merchant_name |
Brand Name |
order_id |
Order ID |
order_time |
Transaction Time |
sale_amount |
Sale Amount |
sale_comm |
Sale Commission |
status |
Commission Status |
uid |
Your custom tracking variable |
prod_id |
Product ID |
order_unit |
Order Unit Amount |
settlement_id |
Unique ID indicates approved commission |
validation_date |
Date the transaction validated |
付款方式
Shows your payment history.
Required Parameters
| Key | 描述 | Example |
|---|---|---|
token |
Your channel API token | 79e33f8dac5a0be8579018760cff4cc227fb888d |
payment_id |
Payment ID (payment_id or paid_date_begin and paid_date_end are mandatory) | 12345 |
paid_date_begin |
Paid date period start (YYYY-MM-DD) | 2024-01-01 |
paid_date_end |
Paid date period end (YYYY-MM-DD) | 2024-01-31 |
Return Parameters
| Key | 描述 |
|---|---|
payment_id |
The payment ID found under payment history |
request_date |
Date when the payment has been created |
paid_date |
Date when the payment is marked paid |
payment_type |
Payment type |
payment_details |
Account information |
invoice |
Invoice information |
Amount |
Payment amount |
Shows your detailed payment.
Required Parameters
| Key | 描述 | Example |
|---|---|---|
token |
Your channel API token | 79e33f8dac5a0be8579018760cff4cc227fb888d |
payment_id |
Payment ID (payment_id or paid_date_begin and paid_date_end are mandatory) | 12345 |
paid_date_begin |
Paid date period start (YYYY-MM-DD) | 2024-01-01 |
paid_date_end |
Paid date period end (YYYY-MM-DD) | 2024-01-31 |
Return Parameters
| Key | 描述 |
|---|---|
brand_id |
Brand ID |
mcid |
Unique identifier for the brand |
amount |
Commission amount or bonus amount |
validation_date |
Date when commission is approved |
type |
Type could be commission or bonus |
note |
Time period the amount is generated |
settlement_id |
Unique ID indicates approved commission |
merchant_name |
Merchant Name |
payment_id |
The payment ID found under payment history |
paid_date |
Date when the payment is marked paid |
sign_id |
Record unique identifier |
Monetization
Check brand details status and acquire campaign links to monetize your traffic.
Required Parameters
| Key | 描述 | Example |
|---|---|---|
token |
Your channel API token | 79e33f8dac5a0be8579018760cff4cc227fb888d |
Optional Parameters
| Key | 描述 | Example |
|---|---|---|
type |
Return format: json (default) or xml | json |
brand_type |
Brand types: TikTok, DTC, Amazon, Walmart, Indirect | DTC |
approval_type |
Filter by approval type: Auto, Manual | Auto |
offer_type |
Filter by brand pricing model: CPS, CPA, CPC, CPL, CPX, CPM | CPS |
relationship |
Filter by current brand relationship: Joined, Pending, Rejected, No Relationship | Joined |
categories |
Filter by brand categories | Apparel |
Coupon
Get available coupons and deals from brands.
Required Parameters
| Key | 描述 | Example |
|---|---|---|
token |
Coupon Token | 79e33f8dac5a0be8579018760cff4cc227fb888d |
Optional Parameters
| Key | 描述 | Example |
|---|---|---|
brand_type |
3 brand types: D2C, Amazon, Indirect | D2C |
brand_id |
Brand ID | 66303 |
mcid |
Unique identifier for the brand | ulike0 |
track |
Track Code in Tracking Link | track123 |
type |
Coupons are of 2 types: coupon or deal | coupon |
country |
The countries where the coupon can be used | 美国 |
origin_category |
Category of the merchant which offers the coupon | Apparel |
level |
Level 1-4, Level 1 is the highest | 1 |
lang |
Language of the coupon | en |
per_page |
Number of items per page (default 50, max 2000) | 100 |
page |
Current Page Index (starts from 1) | 1 |
created_at |
Create Time (YYYY-MM-DD) | 2024-01-01 |
updated_at |
Update Time (YYYY-MM-DD) | 2024-01-01 |
Return Parameters
| Key | 描述 |
|---|---|
creative_id |
Creative ID |
brand_id |
Brand ID |
restrictions |
Coupon restrictions |
keywords |
Keywords |
image |
Coupon image |
thumbnail |
Thumbnail image |
smart_url |
Smart URL |
Datafeed
Get product datafeed from brands.
Required Parameters
| Key | 描述 | Example |
|---|---|---|
token |
Your channel API token | 79e33f8dac5a0be8579018760cff4cc227fb888d |
Optional Parameters
| Key | 描述 | Example |
|---|---|---|
type |
Return format: json (default) or xml | json |
brand_type |
Brand types: TikTok, DTC, Walmart | DTC |
brand_id |
Brand ID | 66303 |
mcid |
Unique identifier for the brand | ulike0 |
page |
Current Page Index | 1 |
limit |
Number of products per page (max 100) | 50 |
keywords |
Keywords | shirt |
price_range |
One of "0-75", "75-150", "150-300", "300-500", "500-1000", "1000+" | 75-150 |
min_discount |
One of 75, 50, 25, 10 | 25 |
Return Parameters
| Key | 描述 |
|---|---|
name |
Product name |
description |
Product description |
brand_id |
Brand ID |
mcid |
Unique identifier for the brand |
merchant_name |
The name of the merchant selling this product |
url |
The original product url |
image |
The link to the image of the product |
sku |
SKU of the product |
category |
Product category |
price |
Current price of the product |
tracking_url |
Affiliate tracking URL |
tracking_url_short |
Short affiliate tracking URL |
tracking_url_smart |
Smart affiliate tracking URL |
updated_at |
Last update time |
亚马逊
Amazon Publisher API base URL: https://amazon-service.partnerboost.com/amazon_api. All endpoints below use POST with JSON body application/json.
Filter and search Amazon products by criteria (pagination, country, brand, ASINs, promos, etc.).
Generate tracking links from product IDs returned by Get Products API.
Generate product tracking links using ASINs and marketplace.
List Amazon brands you are partnered with (paginated).
Generate storefront tracking links from brand IDs (bids).
Check whether promotion links are still trackable by link_id.
Order conversion / performance report for tracking links (date range, marketplace, ASINs, ad groups, order IDs).
Filter and search Amazon Associates program ASINs (region, pagination).
Filter and search Amazon Creator Connection (ACC) campaign ASINs.
