Skip to main content
PATCH
/
v1
/
coupons
/
{id}
Update a coupon
curl --request PATCH \
  --url http://localhost:6900/v1/coupons/{id} \
  --header 'Content-Type: application/json' \
  --data '
{
  "is_active": true,
  "metadata": {}
}
'
null

Documentation Index

Fetch the complete documentation index at: https://docs.revstack.dev/llms.txt

Use this file to discover all available pages before exploring further.

Path Parameters

id
string
required
Example:

"coup_abc123"

Body

application/json
is_active
boolean
metadata
object

Response

200 - application/json

Coupon updated

The response is of type unknown.