Assign sales and commissions to your promoters. To track sales and generate commissions correctly, you need to use this API call each time a non-zero amount sale is processed in your system, even if it comes from a recurring charge or one-time charge.
JPY
, amount
and mrr
parameters should be sent as whole values. amount
and mrr
parameter values should be in cents, i.e., you will need to multiply the value by 100 before sending the request.POST https://v2.firstpromoter.com/api/v2/track/sale
API key passed as a Bearer token in the Authorization header. You can find your API Key on Your FirstPromoter Dashboard. Navigate to Settings → Integrations section → Manage API Keys
Account id. You can find your Account ID on Your FirstPromoter Dashboard. Navigate to Settings → Integrations
Sale tracked successfully
The response is of type object
.