With this endpoint you can import previous sales from stripe.
POST https://v2.firstpromoter.com/api/v2/company/referrals/{id}/import_events
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
Account id. You can find your Account ID on Your FirstPromoter Dashboard. Navigate to Settings → Integrations
ID of the referral
Find by attribute
email
, uid
, username
Import task accepted
The response is of type object
.