curl --request PATCH \
--url https://revstack.dev/v1/coupons/{id} \
--header 'Content-Type: application/json' \
--data '
{
"isActive": true,
"metadata": {}
}
'nullUpdates the active status or metadata of a coupon.
curl --request PATCH \
--url https://revstack.dev/v1/coupons/{id} \
--header 'Content-Type: application/json' \
--data '
{
"isActive": true,
"metadata": {}
}
'null