FirstPromoter icon

FirstPromoter

Interact with the official FirstPromoter APIs

Promo Code → Update Promo Code By ID

AI-generated

Summary

Update an existing promo code by its ID, modifying its code, promoter campaign association, description, metadata, and details.

Inputs

  • Promo Code ID (required) — ID of the promo code to update.
  • Code (required) — New code for the promo code (Stripe account only).
  • Promoter Campaign ID (required) — ID of the promoter campaign associated with the promo code.
  • Description — Description of the promo code.
  • Metadata — Metadata as a JSON object associated with the promo code.
  • Details — Additional details as a JSON object for the promo code.

Output shape

a single item JSON array containing the updated promo code's details

The response includes the updated promo code object as returned by the FirstPromoter API after successful update.

Links

Discussion