Update an existing coupon
Documentation Index
Fetch the complete documentation index at: https://docs.partnero.com/llms.txt
Use this file to discover all available pages before exploring further.
| Parameter | Type | Required | Description |
|---|---|---|---|
uuid_code | string | Yes | Coupon’s unique identifier |
name | string | No | Updated customer-facing name |
metadata | object | No | Custom key-value pairs (merged into existing metadata) |
redeem | boolean | No | When true, records a redemption: increments times_redeemed and appends an entry to additional_info.redemptions |
transaction_key | string | No | Optional transaction identifier paired with redeem. Must match the key of an existing transaction in this program (created via POST /v1/transactions). Used to deduplicate redemptions — if the same transaction_key was already recorded for this coupon, or no transaction with that key exists, the request is a silent no-op |
redeem to true and (optionally) pass the originating transaction_key so the redemption is not double-counted on retries.