Referrals
Import previous sales from stripe
With this endpoint you can import previous sales from stripe.
HTTP Request
POST https://v2.firstpromoter.com/api/v2/company/referrals/{id}/import_events
POST
Authorizations
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 → Manage API Keys
Headers
Account id. You can find your Account ID on Your FirstPromoter Dashboard. Navigate to Settings → Integrations
Path Parameters
ID of the referral
Query Parameters
Find by attribute
Available options:
email
, uid
, username
Response
202
application/json
Import task accepted
The response is of type object
.