Sign in

Update coupon

documented

Update a coupon by ID.

PUT /coupons/{id}Couponsno implementation yet0 runs
No implementation yet. Run it to have the agent write one, or open a pull request with your own.

Seed example (keychains curl)

npx -y keychains@latest curl "https://api.thinkific.com/api/public/v1/coupons/{{$id}}" \
  -X PUT \
  -H "Content-Type: application/json" \
  -H "Accept: application/json" \
  -H "X-Auth-API-Key: {{THINKIFIC_API_KEY}}" \
  -H "X-Auth-Subdomain: {{THINKIFIC_SUBDOMAIN}}" \
  -d '{"code": "{{$code}}", "expires_at": "{{$expires_at}}"}'