Reschedule a scheduled send
Changed onMoves a STILL-SCHEDULED send (status scheduled) to a new execution time. The new scheduled_at must be in the future and at most 30 days out, the same bounds as the create-time field on /send-mail.
The update is a compare-and-swap on status = 'scheduled': once the scheduler has claimed the row for execution, or it was already canceled or executed, the update loses and the call returns a 409 not_scheduled conflict naming the row's current status. A due send can therefore never be moved out from under an in-progress execution.
Returns the full updated sent-email record on success.
Request
- Base URL: https://api.primitive.dev/v1
- URL: https://api.primitive.dev/v1/sent-emails/{id}
- Auth: HTTP bearer
Path parameters
Resource UUID
Request body
Response
Rescheduled sent-email detail
Changes
- info
added the optional property
//////to the response with the status
- info
- info
removed the
invalid_signup_codeenum value from the/response property for the response status - info
removed the
invalid_signup_codeenum value from the/response property for the response status - info
removed the
invalid_signup_codeenum value from the/response property for the response status - info
removed the
invalid_signup_codeenum value from the/response property for the response status
- info