GET
/
sales

Authorizations

Authorization
string
headerrequired

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Query Parameters

id
integer

The ID of the sale to retrieve

affiliateId
string

The affiliate ID associated with the sale

affiliateEmail
string

The email of the affiliate associated with the sale

referralId
string

The referral ID associated with the sale

saleExternalId
string

The external ID of the sale

Response

200 - application/json
id
integer

The sale ID

affiliateId
string

The affiliate ID associated with the sale

referralId
string

The referral ID associated with the sale

externalId
string

The external ID of the sale

externalInvoiceId
string

The external invoice ID of the sale

name
string

Name of the sale

email
string

Email associated with the sale

totalEarned
number

Total amount earned from the sale

commissionRate
number

Commission rate for the sale

createdAt
string

Creation timestamp of the sale