Orders

Switch a running Monthly drive (retired 18 Oct 2026) for one product between monthly and yearly billing; the change is prorated and invoiced at once

post/api/billing/switch

Request

  • Base URL: https://agentdrives.com
  • URL: https://agentdrives.com/api/billing/switch
  • Auth: one of:
    • API key in header x-api-key
    • HTTP bearer

Request body

order_idstring required
to'month' | 'year' required

Response

Switched

Changes

No recorded changes to this operation across all 3 revisions of this API.