PartnerStack MCP by usefulapi
v1.2.1Read partnerships, leads, deals and rewards; create leads and customers in PartnerStack.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
partnerstack_list_partnerships
List the partnerships of your program: the partners who joined it, with their keys, status and groups. Use it first to find a partnership_key. Returns data.items and data.has_more.
| Parameter | Type | Description |
|---|---|---|
ending_before | string | Item key: return the items before this one (use this or starting_after, not both) |
has_sub_id | string | Only partnerships that use sub IDs (true), do not (false), or are unknown (null) |
include_archived | boolean | Include archived partnerships |
limit | integer | Items to return, 1 to 250 (default 10) |
order_by | string | Sort field; a leading - means descending |
starting_after | string | Item key: return the items after this one (the last key of the previous page) |
partnerstack_get_partnership
Get one partnership by its key or unique identifier: partner, status, group and tags.
| Parameter | Type | Description |
|---|---|---|
unique_identifier * | string | Partnership key or unique identifier |
partnerstack_list_customers
List the customers your program has recorded, with their partner and creation time. Returns data.items and data.has_more.
| Parameter | Type | Description |
|---|---|---|
ending_before | string | Item key: return the items before this one (use this or starting_after, not both) |
limit | integer | Items to return, 1 to 250 (default 10) |
max_created | integer | Only items created at or before this Unix time in milliseconds |
min_created | integer | Only items created at or after this Unix time in milliseconds |
order_by | string | Sort field; a leading - means descending |
partnership_key | string | Only the customers of this partnership |
starting_after | string | Item key: return the items after this one (the last key of the previous page) |
partnerstack_get_customer
Get one customer by its customer key: partner, email, name and metadata.
| Parameter | Type | Description |
|---|---|---|
customer_key * | string | Customer key |
partnerstack_create_customer
Create one customer under a partner in your program. The customer is not linked to a referral click. Use partnerstack_get_customer to check it afterwards.
| Parameter | Type | Description |
|---|---|---|
customer_key * | string | Your key for the customer; unique in your program |
email * | string | Customer email address |
partner_key * | string | Key of the partner responsible for the customer |
member_key | string | Key of the partner team member responsible for the customer |
meta | object | Extra custom fields configured in your program |
name | string | Customer name or company name |
provider_key | string | Payment provider id (Stripe, Recurly, Chargebee, ...) |
partnerstack_list_leads
List leads: introductions that partners submitted to your sales team. Returns data.items and data.has_more.
| Parameter | Type | Description |
|---|---|---|
ending_before | string | Item key: return the items before this one (use this or starting_after, not both) |
group | string | Only partnerships in this group name (spaces and special characters removed) |
lead_key | string | Only the lead with this key |
limit | integer | Items to return, 1 to 250 (default 10) |
max_created | integer | Only items created at or before this Unix time in milliseconds |
max_updated | integer | Only items updated at or before this Unix time in milliseconds |
min_created | integer | Only items created at or after this Unix time in milliseconds |
min_updated | integer | Only items updated at or after this Unix time in milliseconds |
partner_key | string | Only the leads of this partner |
starting_after | string | Item key: return the items after this one (the last key of the previous page) |
partnerstack_get_lead
Get one lead by its key: partner, status, amount, stage and fields.
| Parameter | Type | Description |
|---|---|---|
lead_key * | string | Lead key |
partnerstack_create_lead
Create one lead for a partner: a new introduction to your sales team. external_key must be unique for the lead in your system. Use partnerstack_get_lead to check it.
| Parameter | Type | Description |
|---|---|---|
external_key * | string | Your key for this lead; unique in your system |
partner_key * | string | Key of the partner who submits the lead |
amount | integer | Lead amount in cents |
group_key | string | Group key of the lead |
meta | object | Extra key/value data about the lead (default: none) |
stage_api_name | string | api_name of the pipeline stage the lead should be in |
status | string | Lead status (default: open) |
team_member_email | string | Email of the partner team member who submits the lead |
partnerstack_list_deals
List deals: sales opportunities that resellers and partners share with you. Returns data.items and data.has_more.
| Parameter | Type | Description |
|---|---|---|
customer_key | array | Only the deals of these customer keys (one query value each) |
deal_key | string | Only the deal with this key |
ending_before | string | Item key: return the items before this one (use this or starting_after, not both) |
group | string | Only partnerships in this group name (spaces and special characters removed) |
limit | integer | Items to return, 1 to 250 (default 10) |
max_created | integer | Only items created at or before this Unix time in milliseconds |
max_updated | integer | Only items updated at or before this Unix time in milliseconds |
min_created | integer | Only items created at or after this Unix time in milliseconds |
min_updated | integer | Only items updated at or after this Unix time in milliseconds |
partner_key | string | Only the deals of this partner |
starting_after | string | Item key: return the items after this one (the last key of the previous page) |
partnerstack_get_deal
Get one deal by its key: partner, status, amount and stage.
| Parameter | Type | Description |
|---|---|---|
deal_key * | string | Deal key |
partnerstack_list_transactions
List transactions: payments PartnerStack recorded for your customers. Read only. Returns data.items and data.has_more.
| Parameter | Type | Description |
|---|---|---|
category_key | string | Only the transactions of this category |
customer_email | string | Only the transactions of the customer with this email |
customer_key | string | Only the transactions of this customer |
ending_before | string | Item key: return the items before this one (use this or starting_after, not both) |
include_archived | boolean | Include archived transactions |
limit | integer | Items to return, 1 to 250 (default 10) |
product_key | string | Only the transactions of this product |
starting_after | string | Item key: return the items after this one (the last key of the previous page) |
transaction_key | string | Only the transaction with this key |
partnerstack_list_rewards
List rewards: commissions owed to partners, with amount, status and the transaction they came from. Read only. Returns data.items and data.has_more.
| Parameter | Type | Description |
|---|---|---|
customer_key | string | Only the rewards of this customer |
ending_before | string | Item key: return the items before this one (use this or starting_after, not both) |
limit | integer | Items to return, 1 to 250 (default 10) |
max_created | integer | Only items created at or before this Unix time in milliseconds |
min_created | integer | Only items created at or after this Unix time in milliseconds |
order_by | string | Sort field; a leading - means descending |
partnership_key | string | Only the rewards of this partnership |
starting_after | string | Item key: return the items after this one (the last key of the previous page) |
status | string | Reward status, as PartnerStack uses it (for example pending or ready) |
partnerstack_list_actions
List actions: events that partners or customers took and that PartnerStack recorded (for example a sign-up). Read only. Returns data.items and data.has_more.
| Parameter | Type | Description |
|---|---|---|
action_type | string | Only actions of this type |
customer_key | string | Only the actions of this customer |
ending_before | string | Item key: return the items before this one (use this or starting_after, not both) |
limit | integer | Items to return, 1 to 250 (default 10) |
max_created | integer | Only items created at or before this Unix time in milliseconds |
max_updated | integer | Only items updated at or before this Unix time in milliseconds |
min_created | integer | Only items created at or after this Unix time in milliseconds |
min_updated | integer | Only items updated at or after this Unix time in milliseconds |
partnership_key | string | Only the actions of this partnership |
starting_after | string | Item key: return the items after this one (the last key of the previous page) |
partnerstack_list_groups
List the partner groups of your program (for example tiers or regions). Read only. Returns data.items and data.has_more.
| Parameter | Type | Description |
|---|---|---|
ending_before | string | Item key: return the items before this one (use this or starting_after, not both) |
limit | integer | Items to return, 1 to 250 (default 10) |
max_created | integer | Only items created at or before this Unix time in milliseconds |
max_updated | integer | Only items updated at or before this Unix time in milliseconds |
min_created | integer | Only items created at or after this Unix time in milliseconds |
min_updated | integer | Only items updated at or after this Unix time in milliseconds |
starting_after | string | Item key: return the items after this one (the last key of the previous page) |
partnerstack_list_partnership_links
List the referral links of one partnership. Read only. Returns data.items and data.has_more.
| Parameter | Type | Description |
|---|---|---|
identifier * | string | Partnership key or unique identifier |
ending_before | string | Item key: return the items before this one (use this or starting_after, not both) |
limit | integer | Items to return, 1 to 250 (default 10) |
starting_after | string | Item key: return the items after this one (the last key of the previous page) |
partnerstack_list_products
List the products of your customers, with the partner and click that brought them. Read only. Returns data.items and data.has_more.
| Parameter | Type | Description |
|---|---|---|
click_xid | string | Only the products of this referral click |
customer_key | string | Only the products of this customer |
ending_before | string | Item key: return the items before this one (use this or starting_after, not both) |
limit | integer | Items to return, 1 to 250 (default 10) |
order_by | string | Sort field; a leading - means descending |
stack_key | string | Only the products of this partner team member (stack key) |
starting_after | string | Item key: return the items after this one (the last key of the previous page) |