Find an endpoint or a guide of the Sovgate API reference and jump straight to it.
Let a deactivated code work again.
POST /v1/promotion_codes/{id}/activate| Name | Type | Description |
|---|---|---|
id | string | The promotion code's ID, promo_.... |
curl -X POST https://api.sovgate.com/v1/promotion_codes/promo_22c793f0f6e03e802cd4a00f/activate \ -H "Authorization: Bearer sov_sk_test_your_key" \ -H "Idempotency-Key: ad796e2f-4b2a-4c1d-9e3f-c8af0cc34a14"{ "id": "promo_22c793f0f6e03e802cd4a00f", "object": "promotion_code", "livemode": false, "coupon": "cpn_20b5e71de063737f5f3e2920", "code": "LAUNCH20", "active": true, "first_time_only": false, "one_per_customer": true, "minimum_amount": null, "customer": null, "expires_at": null, "max_redemptions": null, "times_redeemed": 4, "created": "2026-11-20T09:30:00Z"}