Create a checkout coupon
documentedCreates a checkout coupon.
POST /checkout/couponsCheckoutno 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://{{$account_url}}.quadernoapp.com/api/checkout/coupons" \
-X POST \
-u "{{QUADERNO_API_KEY}}:x" \
-H "Accept: application/json" \
-H "Content-Type: application/json" \
-d '{"amount_off": {{$amount_off}}, "code": "{{$code}}", "currency": "{{$currency}}", "kind": "{{$kind}}", "max_redemptions": {{$max_redemptions}}, "name": "{{$name}}", "percent_off": {{$percent_off}}, "redeem_by": "{{$redeem_by}}"}'