Sign in

Replace subscription

documented

Replace a subscription’s representation.

PUT /stores/{store_id}/subscriptions/{subscription_id}Storesno 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.foxycart.com/stores/{{$store_id}}/subscriptions/{{$subscription_id}}" \
  -X PUT \
  -H "FOXY-API-VERSION: 1" \
  -H "Authorization: Bearer {{OAUTH2_ACCESS_TOKEN}}" \
  -H "Content-Type: application/json" \
  -H "Accept: application/hal+json" \
  -d '{"start_date": "{{$start_date}}", "next_transaction_date": "{{$next_transaction_date}}", "end_date": "{{$end_date}}", "frequency": "{{$frequency}}"}'