FirstPromoter icon

FirstPromoter

Interact with the official FirstPromoter APIs

Promo Code → Create Promo Code (Stripe Only)

AI-generated

Summary

Create a new promo code for a Stripe account within a specified promoter campaign and reward in FirstPromoter.

Inputs

  • promoCode (required) — The code string for the promo code to create; this is used exclusively for Stripe accounts.
  • rewardId (required) — The identifier of the reward associated with the promo code.
  • promoterCampaignId (required) — The identifier of the promoter campaign to which this promo code will be linked.
  • description — An optional textual description of the promo code.
  • metadata — Optional JSON object containing metadata for the promo code.
  • details — Optional JSON object containing additional details about the promo code.

Output shape

a single record

Returns the created promo code details as a JSON object wrapped in a JSON array. The execution response includes all properties returned by the FirstPromoter API for the newly created promo code.

Links

Discussion