tools/integrations/partnerstack.md
Partner and affiliate program management platform for SaaS companies with deal tracking, rewards, and multi-tier partnerships.
| Integration | Available | Notes |
|---|---|---|
| API | ✓ | Vendor API v2 for partnerships, deals, customers, transactions |
| MCP | - | Not available |
| CLI | ✓ | partnerstack.js |
| SDK | - | No official SDK; REST API with Basic Auth |
Authorization: Basic {base64(public_key:secret_key)}GET https://api.partnerstack.com/api/v2/partnerships?limit=25
Authorization: Basic {base64(public_key:secret_key)}
POST https://api.partnerstack.com/api/v2/partnerships
{
"email": "[email protected]",
"group_key": "affiliates",
"first_name": "Jane",
"last_name": "Smith"
}
GET https://api.partnerstack.com/api/v2/customers?limit=25
POST https://api.partnerstack.com/api/v2/customers
{
"email": "[email protected]",
"partner_key": "prtnr_abc123",
"name": "John Doe"
}
POST https://api.partnerstack.com/api/v2/transactions
{
"customer_key": "cust_abc123",
"amount": 9900,
"currency": "USD",
"product_key": "pro_plan"
}
GET https://api.partnerstack.com/api/v2/deals?limit=25
POST https://api.partnerstack.com/api/v2/deals
{
"partner_key": "prtnr_abc123",
"name": "Enterprise Opportunity",
"amount": 50000,
"stage": "qualified"
}
POST https://api.partnerstack.com/api/v2/actions
{
"customer_key": "cust_abc123",
"key": "signup_completed",
"value": 1
}
POST https://api.partnerstack.com/api/v2/rewards
{
"partner_key": "prtnr_abc123",
"amount": 5000,
"description": "Bonus for Q1 performance"
}
GET https://api.partnerstack.com/api/v2/leads?limit=25
POST https://api.partnerstack.com/api/v2/leads
{
"partner_key": "prtnr_abc123",
"email": "[email protected]",
"name": "Potential Customer",
"company": "Acme Corp"
}
GET https://api.partnerstack.com/api/v2/groups
POST https://api.partnerstack.com/api/v2/webhooks
{
"target": "https://example.com/webhooks/partnerstack",
"events": ["deal.created", "transaction.created", "customer.created"]
}
PartnerStack uses cursor-based pagination. List responses include has_more and item keys for starting_after / ending_before parameters.
All responses follow the format:
{
"data": { ... },
"message": "...",
"status": "2xx"
}
partner_key - Unique partner identifiergroup - Partner tier/groupstatus - active, pending, archivedcreated_at - Partnership start dateamount - Transaction value in centscurrency - Currency codeproduct_key - Associated productcustomer_key - Associated customeramount - Deal valuestage - Deal pipeline stagestatus - open, won, lostamount - Reward amount in centsstatus - pending, approved, paidlimit - Items per page (1-250, default: 10)starting_after - Cursor for next page (item key)ending_before - Cursor for previous page (item key)order_by - Sort field, prefix with - for descendinginclude_archived - Include archived recordshas_sub_id - Filter by sub ID presence