Update a Subscription Schedule
POST/v1/subscription-schedules/:id
Updates a schedule in not_started or active status. Send the version you read in expectedVersion: if the schedule changed since then, the response is 409 and you have to read it again before retrying. If the schedule already has a subscription, changes to defaultDescription, defaultCollectionMethod, defaultPaymentMethodId, and metadata also apply to that subscription.
Request
Responses
- 201
- 400
- 401
- 404
- 409
Schedule updated.
Bad Request - subscription_schedules.invalid_status_for_update or another subscription_schedules.* code, or a list of validation messages when the body does not have the expected format.
Unauthorized
Not Found - subscription_schedules.not_found.
Conflict - subscription_schedules.version_conflict.