Zum Hauptinhalt springen
PUT
/
coupons
/
{id}
/
toggle
cURL
curl -X PUT \
 /coupons/{id}/toggle \
 --header "Content-Type: application/json" \
 --header "Authorization: Bearer <token>" \
 --data '{
    "isEnabled": "1"
}'
This response has no body data.

Documentation Index

Fetch the complete documentation index at: https://docs.fynn.eu/llms.txt

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

Autorisierungen

Authorization
string
header
erforderlich

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Pfadparameter

id
string
erforderlich

Coupon identifier

Body

The updated Coupon resource

isEnabled
boolean
Standard:true

Whether this coupon is enabled or not.

Beispiel:

true

Antwort