Sign in

Update promotion

documented

Update a promotion by ID.

PUT /promotions/{id}Promotionsno 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/promotions/{{$id}}" \
  -X PUT \
  -H "Authorization: Bearer {{OAUTH2_ACCESS_TOKEN}}" \
  -H "Content-Type: application/json" \
  -H "Accept: application/json" \
  -d '{"name": "{{$name}}", "amount": {{$amount}}, "expires_at": {{$expires_at}}}'