List sales
Request
Method
URL
GET
https://api.getrewardful.com/v1/sales
Optional
Parameter
Description
referral_id
Show sales for the specified referral.
stripe_charge_id
Show sales that are matching the specified Stripe charge ID.
external_id
Show sales that are matching the specified external ID.
expand
Which object(s) to expand in response data. Possible values: commission
Examples
List all sales
curl --request GET \
--url https://api.getrewardful.com/v1/sales \
-u YOUR_API_SECRET:List all sales with their commission
curl --request GET \
--url https://api.getrewardful.com/v1/sales?expand[]=commission \
-u YOUR_API_SECRET:List sales for a specific referral
List sales for a specific Stripe charge
List sales for a specific external ID
Was this helpful?