Partner API / Changelog
Changelog
Every change to the API, newest first.
Each sale from GET /v1/conversions now carries lineage (program, plan, order, renewal or not, the credited click, link or audience code), gross_commission, commission_rate, refunded_amount, net_commission and adjustments: every change to it, in order, with the amount and the net after. A partial refund is now worked out from the gross every time, so two partial refunds on one sale no longer reduce it twice. commission is unchanged and is the net.
Each sale from GET /v1/conversions now carries path: your counted clicks from the same browser to that program in the 60 days before the sale, with time, channel and which click was credited, plus days_to_convert. GET /v1/stats adds assisted_conversions: sales your clicks led to where another partner had the last click. Commission is unchanged: the last click wins.
POST /v1/links and the make_link tool now return warnings: missing_utm_source or missing_utm_medium when a link has no source or medium. Both stay optional in v1. The dashboard link builder now requires them.
Webhooks moved to Reference, Webhooks, and it and Live stream now list every event name with a full example payload.
A WebSocket at wss://api.affiliatepipe.com:2053/v1/stream pushes clicks, filtered clicks and sale changes within seconds, with since to catch up after reconnecting. See Live stream.
Signed events when a sale is created, approved, paid or clawed back. Set the address on your API key tab. See Webhooks.
GET /v1/conversions?format=csv returns every sale in one file, counted as one call. The dashboard has the same download for sales and clicks.
The programs response now includes your audience code (20% off the first 3 months), or null while it is being set up. Additive; nothing else changes.
Four endpoints (stats, conversions, programs, links), the MCP server with four tools, rate limit headers, and the status page.