Create subscription
documentedCreate a new subscription.
POST /api/v1/subscriptionsSubscriptionsno 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.sendowl.com/api/v1/subscriptions" \
-X POST \
-u "{{SENDOWL_API_KEY}}:{{SENDOWL_SECRET}}" \
-H "Accept: application/json" \
-H "Content-Type: application/json" \
-d '{"subscription": {"name": "{{$name}}", "trial_price": {{$trial_price}}, "trial_frequency": "{{$trial_frequency}}", "trial_no_of_occurrences": {{$trial_no_of_occurrences}}, "recurring_price": {{$recurring_price}}, "frequency": "{{$frequency}}", "recurring_type": "{{$recurring_type}}", "access_all_products": {{$access_all_products}}}}'