Create coupon
documentedCreate a coupon.
POST /sites/{site_id}/couponsCouponsno 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://v3.recurly.com/sites/{{$site_id}}/coupons" \
-X POST \
-H "Authorization: Bearer {{RECURLY_API_KEY}}" \
-H "Accept: application/vnd.recurly.v2021-02-25" \
-H "Content-Type: application/json" \
-d '{"name": "{{$name}}", "code": "{{$code}}", "discount_type": "fixed", "currencies": [ {"currency": "{{$currency}}", "discount": {{$discount}} } ] }'