Skip to main content
GET
/
sales
Get all sales or by ID, affiliate, referral, or external ID
curl --request GET \
  --url https://www.pushlapgrowth.com/api/v1/sales \
  --header 'Authorization: Bearer <token>'
[
  {
    "id": 123,
    "affiliateId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
    "referralId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
    "externalId": "<string>",
    "externalInvoiceId": "<string>",
    "name": "<string>",
    "email": "[email protected]",
    "totalEarned": 123,
    "commissionRate": 123,
    "createdAt": "2023-11-07T05:31:56Z"
  }
]

Authorizations

Authorization
string
header
required

Query Parameters

id
integer
affiliateId
string<uuid>
affiliateEmail
string<email>
referralId
string<uuid>
saleExternalId
string

Response

id
integer
affiliateId
string<uuid>
referralId
string<uuid>
externalId
string
externalInvoiceId
string
name
string
email
string<email>
totalEarned
number
commissionRate
number
createdAt
string<date-time>