Update promotion
documentedUpdate a promotion by ID.
PUT /promotions/{id}Promotionsno implementation yet0 runsNo 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}}}'