Paycose Docs
FlowEvents

Promotion code events

What data you get for promotion_code.created, .updated, and .deleted.

Fires when a promotion code (a redeemable code tied to a coupon) is created, updated, or deleted.

Prop

Type

{
  "id": "promo_01J9ABCDEFGHJKMNPQRSTV",
  "object": "promotion_code",
  "coupon": "cpn_01J8XYZABCDEFGHJKMNPQR",
  "code": "SUMMER15",
  "active": true,
  "quota_used": 0,
  "quota_limit": 100,
  "expires_at": "2026-09-01T00:00:00Z",
  "metadata": {}
}

All three events share this shape, including .deleted, which sends the full object.