Sale Endpoints
Create a Sale
Creates a new sale under the specified affiliate program. Note: a referral and affiliate are required to create a Sale.
POST
Authorizations
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Body
application/json
Sale details
The referral ID associated with the sale
Name of the sale
Email associated with the sale
Total amount earned from the sale
The external ID of the sale
The external invoice ID of the sale
Commission rate for the sale
Response
200
application/json
Sale created successfully
The sale ID
The affiliate ID associated with the sale
The referral ID associated with the sale
The external ID of the sale
The external invoice ID of the sale
Name of the sale
Email associated with the sale
Total amount earned from the sale
Commission rate for the sale
Creation timestamp of the sale