Edit the body and/or scheduled_at of a scheduled message (Twilio Message.update parity)
Messages
Edit the body and/or scheduled_at of a scheduled message (Twilio Message.update parity)
Twilio-parity edit of a still-scheduled message body and/or scheduled_at. The DB conditional UPDATE gates on status='scheduled' so an edit cannot race the scheduler dequeueing the row. Returns 409 MESSAGE_NOT_EDITABLE when the row is past the scheduled gate (queued / sending / sent / failed / cancelled) or does not exist. No billing side-effect — billing is debited on the send-path AFTER the scheduler picks the row up, so the new body is what gets accounted for + dispatched. At least one of body or scheduled_at must be supplied; scheduled_at is bounded to the same 35-day future horizon as the create path.
PATCH
Edit the body and/or scheduled_at of a scheduled message (Twilio Message.update parity)