Update an existing schedule. Completed schedules cannot be edited.
complete cannot be edited and will return a 400 error.
blast or automated.true for a recurring schedule or false for a one-time send.HH:MM format (24-hour clock).draft, off, on, complete, archive.is_repeating to false.is_repeating to true.is_repeating to true.monday, tuesday, wednesday, thursday, friday, saturday, sunday. Values are booleans. At least one day must be true if provided.true, send_time is interpreted in each recipient’s local timezone.true to send MMS messages with image attachments.true if the schedule was updated successfully.| HTTP Status | Error Code | Description |
|---|---|---|
| 400 | schedule_complete | The schedule has status complete and cannot be modified. |
| 400 | missing_name | The name field cannot be set to an empty value. |
| 400 | missing_send_type | The send_type field cannot be set to an empty value. |
| 400 | invalid_send_type | send_type must be blast or automated. |
| 400 | missing_is_repeating | The is_repeating field cannot be set to an empty value. |
| 400 | missing_send_time | The send_time field cannot be set to an empty value. |
| 400 | missing_audiences | At least one audience ID is required. |
| 400 | invalid_status | status must be draft, off, on, complete, or archive. |
| 400 | missing_send_date | send_date is required for one-time (non-repeating) schedules. |
| 400 | missing_start_date | start_date is required for repeating schedules. |
| 400 | missing_end_date | end_date is required for repeating schedules. |
| 400 | no_days_selected | At least one day must be true in days_of_week for repeating schedules. |
| 400 | missing_blasts | Blast variants are required when send_type is blast. |
| 400 | invalid_blast_percent | The percent_audience values across all blasts must sum to exactly 100. |
| 400 | missing_blast_message | Each blast variant must include a message. |
| 404 | not_found | No schedule exists with the given ID. |
| 404 | audience_not_found | One or more audience IDs do not exist or are not active. |
| 404 | source_list_not_found | One or more source list IDs do not exist on this account. |
| 404 | offer_not_found | One or more offer IDs referenced in offer_links do not exist. |
| 401 | unauthorized | API key is missing, invalid, or revoked. |