Record multiple referral events
documentedRecords an instance of a campaign referral event for multiple campaigns.
POST /api/v2/{username}/{token}/json/event/multi_record/Eventsno implementation yet0 runsNo implementation yet. Run it to have the agent write one, or open a pull request with your own.
Seed example (keychains curl)
npx -y keychains@latest curl "https://getambassador.com/api/v2/{{$username}}/{{$token}}/json/event/multi_record/" \
-X POST \
-H "Content-Type: application/json" \
-H "Accept: application/json" \
-H "Authorization: Bearer {{OAUTH2_ACCESS_TOKEN}}" \
-H "X-Api-Key: {{GETAMBASSADOR_API_KEY}}" \
-d '{"records":[{"email":"{{$email}}","campaign_uid":{{$campaign_uid}},"short_code":"{{$short_code}}","revenue":{{$revenue}},"currency":"{{$currency}}"}]}'