GoAffPro MCP by usefulapi
v1.8.1Read affiliates, orders, payouts and traffic; set affiliate status and add coupons in GoAffPro.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
goaffpro_list_affiliates List affiliates
List the affiliates of the program with status, ref code, coupon, group and contact fields. GET /admin/affiliates. Answer: { affiliates: [] }.
| Parameter | Type | Description |
|---|---|---|
coupon | string | Only the affiliate that owns this coupon code. |
created_at_max | string | Only items created at or before this date. Use a date such as 2026-10-01 or 'Sun Jul 26 2019 12:10:07 GMT+0530'. |
created_at_min | string | Only items created at or after this date. Use a date such as 2026-10-01 or 'Sun Jul 26 2019 12:10:07 GMT+0530'. |
email | string | Only the affiliate with this email. |
fields | string | Comma-separated list of fields to return. |
id | string | Comma-separated affiliate ids. |
limit | integer | Maximum number of results. |
offset | integer | Number of results to skip (for paging). |
ref_code | string | Only the affiliate with this ref code. |
since_id | string | Only items with an id greater than this id (paging by id). |
status | string | Comma-separated statuses: pending, approved, invited, rejected. |
updated_at_max | string | Only affiliates updated at or before this date. |
updated_at_min | string | Only affiliates updated at or after this date. |
goaffpro_search_affiliates Search affiliates
Search affiliates by a keyword in name, ref_code, email or coupon. GET /admin/affiliates/search. Answer: a list of affiliates.
| Parameter | Type | Description |
|---|---|---|
in * | string | Comma-separated columns to search: name, ref_code, email, coupon. |
keyword * | string | The text to look for. |
fields | string | Comma-separated list of fields to return. |
limit | integer | Maximum number of results. |
operator | string | How to match (default starts_with). |
sort_column | string | |
sort_direction | string |
goaffpro_list_orders List orders
List orders that are tied to affiliates, with total, commission, status (approved or rejected) and the date. GET /admin/orders. Answer: { orders: [] }.
| Parameter | Type | Description |
|---|---|---|
affiliate_id | string | Only items for this affiliate id. |
created_at_max | string | Only items created at or before this date. Use a date such as 2026-10-01 or 'Sun Jul 26 2019 12:10:07 GMT+0530'. |
created_at_min | string | Only items created at or after this date. Use a date such as 2026-10-01 or 'Sun Jul 26 2019 12:10:07 GMT+0530'. |
customer_email | string | Only orders of this customer email. |
fields | string | Comma-separated list of fields to return. |
id | string | Comma-separated order ids. |
is_new_customer | boolean | |
is_subscription | boolean | |
is_subscription_renewal | boolean | |
limit | integer | Maximum number of results. |
number | string | Comma-separated order numbers. |
since_id | string | Only items with an id greater than this id (paging by id). |
status | string | Comma-separated statuses: approved, rejected. |
goaffpro_list_rewards List rewards
List rewards (bonuses) given to affiliates. GET /admin/rewards. Answer: { rewards: [] }.
| Parameter | Type | Description |
|---|---|---|
affiliate_id | string | Only items for this affiliate id. |
created_at_max | string | Only items created at or before this date. Use a date such as 2026-10-01 or 'Sun Jul 26 2019 12:10:07 GMT+0530'. |
created_at_min | string | Only items created at or after this date. Use a date such as 2026-10-01 or 'Sun Jul 26 2019 12:10:07 GMT+0530'. |
fields | string | Comma-separated list of fields to return. |
id | string | Comma-separated reward ids. |
limit | integer | Maximum number of results. |
order_id | string | Only rewards for this order id. |
since_id | string | Only items with an id greater than this id (paging by id). |
status | string | Comma-separated statuses. |
type | string | Comma-separated reward types. |
goaffpro_list_payments List payments
List the payment history to affiliates (amount, method, date). GET /admin/payments. Answer: { payments: [] }.
| Parameter | Type | Description |
|---|---|---|
affiliate_id | string | Only items for this affiliate id. |
created_at_max | string | Only items created at or before this date. Use a date such as 2026-10-01 or 'Sun Jul 26 2019 12:10:07 GMT+0530'. |
created_at_min | string | Only items created at or after this date. Use a date such as 2026-10-01 or 'Sun Jul 26 2019 12:10:07 GMT+0530'. |
fields | string | Comma-separated list of fields to return. |
id | string | Comma-separated payment ids. |
limit | integer | Maximum number of results. |
offset | integer | Number of results to skip (for paging). |
since_id | string | Only items with an id greater than this id (paging by id). |
goaffpro_list_payment_requests List payment requests
List payment requests that affiliates made from their dashboard. GET /admin/payments/requests. Answer: { PaymentRequests: [] }.
| Parameter | Type | Description |
|---|---|---|
affiliate_id | string | Only items for this affiliate id. |
limit | integer | Maximum number of results. |
since_id | string | Only items with an id greater than this id (paging by id). |
status | string | Filter by status, for example in_progress, paid or rejected. |
goaffpro_get_pending_payouts Get pending payouts
Show the amount due to each affiliate up to a date. GET /admin/payments/pending. Answer: { pending: [{ affiliate_id, amount }], upto }.
| Parameter | Type | Description |
|---|---|---|
affiliate_id | string | Only items for this affiliate id. |
upto | string | Amounts due up to this date. Use a date such as 2026-10-01 or 'Sun Jul 26 2019 12:10:07 GMT+0530'. |
goaffpro_list_transactions List transactions
List the transaction log (commission credits, payouts, balances) per affiliate. GET /admin/transactions. Answer: { transactions, count, limit, offset }.
| Parameter | Type | Description |
|---|---|---|
affiliate_id | string | Only items for this affiliate id. |
id | string | Comma-separated transaction ids. |
is_paid | boolean | true = only paid, false = only unpaid. |
limit | integer | Maximum number of results. |
offset | integer | Number of results to skip (for paging). |
payout_id | string | |
type | string | Entity type filter, comma-separated. |
goaffpro_list_traffic List affiliate traffic
List visits that affiliate links sent to the store (landing page, referrer, time). GET /admin/traffic. Answer: { traffic: [] }. Max limit 1000.
| Parameter | Type | Description |
|---|---|---|
affiliate_id | string | Only items for this affiliate id. |
created_at_max | string | Only items created at or before this date. Use a date such as 2026-10-01 or 'Sun Jul 26 2019 12:10:07 GMT+0530'. |
created_at_min | string | Only items created at or after this date. Use a date such as 2026-10-01 or 'Sun Jul 26 2019 12:10:07 GMT+0530'. |
fields | string | Comma-separated list of fields to return. |
limit | integer | Maximum number of results. |
since_id | string | Only items with an id greater than this id (paging by id). |
goaffpro_list_coupons List coupons
List the coupon codes that are assigned to affiliates. GET /admin/coupons. Answer: { coupons: [] }.
| Parameter | Type | Description |
|---|---|---|
affiliate_id | string | Only items for this affiliate id. |
code | string | Only this coupon code. |
limit | integer | Maximum number of results. |
offset | integer | Number of results to skip (for paging). |
type | string | Only this coupon type. |
goaffpro_list_groups List affiliate groups
List affiliate groups and their commission settings. GET /admin/groups. Answer: { groups: [] }.
| Parameter | Type | Description |
|---|---|---|
fields | string | Comma-separated list of fields to return. |
id | string | Comma-separated group ids. |
goaffpro_list_special_commissions List special commission rates
List the special commission rates set for products and collections. GET /admin/commissions. Answer: { commissions: [] }.
goaffpro_list_connections List affiliate-customer connections
List the links between affiliates and customers. GET /admin/connections.
| Parameter | Type | Description |
|---|---|---|
affiliate_id | string | Only items for this affiliate id. |
customer_email | string | |
limit | integer | Maximum number of results. |
since_id | string | Only items with an id greater than this id (paging by id). |
updated_at_max | string | Only connections updated at or before this date. |
updated_at_min | string | Only connections updated at or after this date. |
goaffpro_set_affiliate_status Set affiliate status
WRITE: approve, reject or set to pending one affiliate. The affiliate may get an email from GoAffPro. PATCH /admin/affiliates/{id}.
| Parameter | Type | Description |
|---|---|---|
affiliate_id * | string | The affiliate id (from goaffpro_list_affiliates). |
status * | string | The new status. |
goaffpro_add_affiliate_coupon Add a coupon to an affiliate
WRITE: add a discount coupon code to one affiliate. This changes the store discounts. A repeat call can create a second coupon. POST /admin/affiliates/{id}/coupons.
| Parameter | Type | Description |
|---|---|---|
affiliate_id * | string | The affiliate id (from goaffpro_list_affiliates). |
code * | string | The coupon code, for example JOHN10OFF. |
discount_type * | string | The kind of discount. |
discount_value | number | The discount amount or percent (not needed for free_shipping). |