POST
/v1/coupons/{id}Find an endpoint or a guide of the Sovgate API reference and jump straight to it.
/v1/coupons/{id}Rename a coupon. Its discount and what it applies to never change.
POST /v1/coupons/{id}| Name | Type | Description |
|---|---|---|
id | string | The coupon's ID, cpn_.... |
| Name | Type | Required | Description |
|---|---|---|---|
name | string | Required | The new name. |
curl -X POST https://api.sovgate.com/v1/coupons/cpn_20b5e71de063737f5f3e2920 \ -H "Authorization: Bearer sov_sk_test_your_key" \ -H "Idempotency-Key: 8ccb3fae-4b2a-4c1d-9e3f-d3d5cca02f28" \ -H "Content-Type: application/json" \ -d '{ "name": "Holiday 20% off"}'{ "id": "cpn_20b5e71de063737f5f3e2920", "object": "coupon", "livemode": false, "name": "Holiday 20% off", "discount": { "type": "percent", "percent_bps": 2000 }, "duration": "repeating", "duration_months": 3, "products": null, "max_redemptions": 100, "redeem_by": "2026-12-31T23:59:59Z", "times_redeemed": 12, "status": "active", "created": "2026-11-20T09:30:00Z"}