Updates an existing Invoice Schedule by ID
Required permission: Recurring Invoices - Edit
Accepts the same fields as POST /schedules. Only the fields you send are changed; omitted fields are left alone.
Changing customer_id on a schedule that already has a contract_id or a payment_id requires sending a matching one too, or an empty one to unlink — otherwise the schedule would keep pointing at another customer's contract or card.
id, account_id, created_at, updated_at and last_run are read-only. So are subscription_status and recurring_type_id, which are maintained for you: the first is recomputed from the linked contract and the unpaid invoice count on every run, and the second is what selects the billing engine for the whole schedule.
Every id in the request is checked against your account before anything is written, so a rejected request changes nothing. Errors come back as {"error": ["Location can't be found", ...]} with status 422.
Path parameters
Request body
Response
successful