Update an existing promotion code
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 |
|---|---|---|---|
code | string | Yes | Promotion code to update. Allowed characters: A-Z, a-z, 0-9, -, _. Max 100 characters |
limit_to_specific_partner | boolean | No | Restrict to a specific partner |
coupon_specific_partners | object | Yes* | Required if limit_to_specific_partner is true. Shape: { id, full_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 code, or no transaction with that key exists, the request is a silent no-op |
redeem to record that a customer applied this promotion code, for cases where the checkout doesn’t run through a connected payment integration. Pass a transaction_key to deduplicate retries.