Move a day's visits to another day
POST/api/v1/calendar/move_day
For a day that cannot be worked, such as one that is rained off. Every visit whose status is scheduled and which starts on from, a day in the account's time zone, moves to to: work visits and quote visits, for everyone, or with membership_id only the visits that person is assigned to. Each keeps its time of day, its length, its crew and its place in a repeat, and keeps the same clock time when the clocks change between the two days. Visits on from that are in progress, completed or cancelled stay where they are and are listed in skipped. It moves visits and books none, so no plan limit is counted. With notify_customers, each customer with an email address gets one email listing their moved visits with the day they were booked for and the new day and times, under the subject "Your visit from [Business] has moved to [New date]". message replaces the standard note; its placeholders are filled in for each customer: [First name], [Customer], [Business], [Your name], [Old date], [New date] and [Visits], the list of their visits, which is added at the end of a note that leaves it out. Each email is listed among the customer's messages as rescheduled. A customer with no email address is moved all the same and listed in not_emailed. These emails are not counted towards the 100 a day that sendQuote is limited to; a workspace can send 300 of them in any 24 hours. A moved visit is reminded the evening before its new day like any other, when the workspace sends visit reminders, unless its customer was emailed here about a new day that is today, tomorrow or the day after: then this email is the reminder and reminder_sent_at is set. All or nothing: if anything is refused, no visit moves and nobody is emailed. Sending the same request again with the same Idempotency-Key returns the first answer and moves nothing further. Managers only. Errors: 422 same_day when from and to are the same day; 422 nothing_to_move when no visit on from is still scheduled; 422 day_too_large when more than 300 visits would move (move a person at a time with membership_id); 422 email_limit_reached when the emails would take the workspace past 300 in 24 hours (send the request again without notify_customers); 422 message_too_long.
- Needs an API key, and runs with the access of the member who made the key.
- Send an
Idempotency-Key. The same key with the same request within 24 hours gives the first answer again and changes nothing. - A connected AI assistant can use it too, as
moveCalendarDay.
Parameters
Headers
Idempotency-KeystringrequiredUnique user-scoped key for safely retrying this mutation for 24 hours.
At least 1 character. Up to 200 characters.
Request body
Sent as application/json.
fromstring (date)requiredThe day whose visits move, in the account's time zone.
tostring (date)requiredThe day they move to. Any other day, earlier or later.
membership_idstring (uuid) or nullMove only the visits this member is assigned to. A visit they share moves with its whole crew.
notify_customersbooleanEmail each customer whose visits moved.
Default: false.
messagestring or nullReplaces the standard note in every email. Placeholders in square brackets are filled in for each customer. Ignored without `notify_customers`.
Up to 2000 characters.
Responses
200The visits that moved, those that stayed, how many customers were emailed, and those who could not be.
dataobjectrequiredFields(4)
visitsarray of objectrequiredThe visits that moved, at their new times, earliest first.
Each item(33)
lock_versionintegerrequiredAt least 0.
created_atstring (date-time)requiredupdated_atstring (date-time)requiredidstring (uuid)requiredaccount_idstring (uuid)requiredjob_idstring (uuid) or nullrequiredjob_titlestring or nulljob_lock_versioninteger or nullAt least 0.
purposestringOne of: work, quote_assessment.
customer_idstring (uuid)property_idstring (uuid) or nulltitlestring or nullassessment_notesstring or nullquote_idstring (uuid) or nullCurrent unarchived assessment quote.
has_quotesbooleanIncludes archived quotes; customer and property are fixed when true.
jobobjectFull updated job returned when a visit save includes job_title, or when completing this visit also completed its job. Replace the cached job using this record, never by advancing its version from the title metadata alone.
Fields(24)
lock_versionintegerrequiredAt least 0.
created_atstring (date-time)requiredupdated_atstring (date-time)requiredidstring (uuid)requiredaccount_idstring (uuid)requiredcustomer_idstring (uuid)requiredproperty_idstring (uuid) or nullsource_quote_idstring (uuid) or nullnumberstringrequiredtitlestringrequireddescriptionstring or nullstatusstringrequiredOne of: active, completed, cancelled.
billingstringrequired`on_completion`: one invoice once the job is complete. `per_visit`: job lines are the price of one visit, and the job is invoiced batch by batch as visits are completed while it stays active. `none`: "Don’t invoice", for work paid another way or done for free; the job is never invoiced. `monthly`: "At month end". Priced and invoiced exactly as `per_visit` is, but its completed visits are meant to wait until their month is over: a visit is due for invoicing once the day it was booked for is before the first day of the current month, in the account's time zone. createMonthEndInvoices invoices every such job at once.
One of: on_completion, per_visit, none, monthly. Default: "on_completion".
currencystringrequiredsubtotal_centsinteger (int64)requiredInteger minor currency units, such as pence.
At least 0.
discount_centsinteger (int64)requiredInteger minor currency units, such as pence.
At least 0.
tax_centsinteger (int64)requiredInteger minor currency units, such as pence.
At least 0.
total_centsinteger (int64)requiredInteger minor currency units, such as pence.
At least 0.
internal_notesstring or nullcompleted_atstring (date-time) or nullcancelled_atstring (date-time) or nullarchived_atstring (date-time) or nullitemsarray of objectrequiredEach item(12)
idstring (uuid)requiredservice_idstring (uuid) or nullpositionintegerrequireddescriptionstringrequiredquantitystringrequiredMatches ^\d{1,9}(\.\d{1,3})?$.
unit_namestring or nullunit_price_centsinteger (int64)requiredInteger minor currency units, such as pence.
At least 0.
tax_rate_basis_pointsintegerrequiredAt least 0. At most 10000.
tax_inclusivebooleanrequiredsubtotal_centsinteger (int64)requiredInteger minor currency units, such as pence.
At least 0.
tax_centsinteger (int64)requiredInteger minor currency units, such as pence.
At least 0.
total_centsinteger (int64)requiredInteger minor currency units, such as pence.
At least 0.
repeatsarray of objectThe repeating visits still running on this job, oldest first: every series with dates left to book. A series for part of the year is listed between its seasons, when the job has no visit booked. A series whose every date is booked is not listed; its visits still carry it.
Each item(8)
idstring (uuid)requiredintervalintegerrequiredAt least 1. At most 99.
unitstringrequired`weekday` is Monday to Friday, one visit per working day, and needs an interval of 1.
One of: day, weekday, week, month.
starts_onstring (date)requiredends_onstring (date) or nullseason_from_monthinteger or null`season_from_month` and `season_to_month` are the first and last month of the part of the year a series runs in, 1 for January to 12 for December, both included. Give both or neither. A season may run over the year end: 11 and 2 is November to February. Dates outside it are skipped; the rhythm is not restarted.
At least 1. At most 12.
season_to_monthinteger or null`season_from_month` and `season_to_month` are the first and last month of the part of the year a series runs in, 1 for January to 12 for December, both included. Give both or neither. A season may run over the year end: 11 and 2 is November to February. Dates outside it are skipped; the rhythm is not restarted.
At least 1. At most 12.
lock_versionintegerrequiredAt least 0.
statusstringrequiredOne of: scheduled, in_progress, completed, cancelled.
scheduled_start_atstring (date-time)requiredscheduled_end_atstring (date-time)requiredactual_start_atstring (date-time) or nullactual_end_atstring (date-time) or nullinstructionsstring or nullcompletion_notesstring or nullcancelled_atstring (date-time) or nullreminder_sent_atstring (date-time) or nullWhen the customer was emailed a reminder of this visit, or was told by moveCalendarDay that it had moved to today, tomorrow or the day after. Null when they have not been, and null again once moveCalendarDay moves the visit without telling them so.
Read only.
membership_idsarray of string (uuid)requiredvisit_series_idstring (uuid) or nullinvoice_idstring (uuid) or nullSet when this completed visit of a job billed `per_visit` or `monthly` is on a live invoice; cleared when that invoice is voided or archived.
seriesobject or nullThe repeating visit this visit belongs to, if any.
Fields(8)
idstring (uuid)requiredintervalintegerrequiredAt least 1. At most 99.
unitstringrequired`weekday` is Monday to Friday, one visit per working day, and needs an interval of 1.
One of: day, weekday, week, month.
starts_onstring (date)requiredends_onstring (date) or nullseason_from_monthinteger or null`season_from_month` and `season_to_month` are the first and last month of the part of the year a series runs in, 1 for January to 12 for December, both included. Give both or neither. A season may run over the year end: 11 and 2 is November to February. Dates outside it are skipped; the rhythm is not restarted.
At least 1. At most 12.
season_to_monthinteger or null`season_from_month` and `season_to_month` are the first and last month of the part of the year a series runs in, 1 for January to 12 for December, both included. Give both or neither. A season may run over the year end: 11 and 2 is November to February. Dates outside it are skipped; the rhythm is not restarted.
At least 1. At most 12.
lock_versionintegerrequiredAt least 0.
photosarray of objectrequiredOldest first.
Each item(7)
idstring (uuid)requiredfilenamestringrequiredcontent_typestringrequiredbyte_sizeintegerrequiredAt least 1.
membership_idstring (uuid) or nullrequiredTeam member who added the photo. They and managers can remove it.
urlstring (uri)requiredSigned link that expires after 24 hours. Refetch the visit for a fresh one; cache images by photo id, not by URL.
created_atstring (date-time)required
running_time_entriesarray of objectEveryone clocked in to this visit right now.
Each item(3)
idstring (uuid)requiredmembership_idstring (uuid)requiredstarted_atstring (date-time)required
time_entryobject or nullOnly from startVisit with `track_time`; the caller's running entry on this visit.
Fields(19)
lock_versionintegerrequiredAt least 0.
created_atstring (date-time)requiredupdated_atstring (date-time)requiredidstring (uuid)requiredaccount_idstring (uuid)requiredjob_idstring (uuid) or nullrequiredjob_titlestring or nullrequiredjob_numberstring or nullrequiredvisit_idstring (uuid) or nullvisit_titlestring or nullpurposestring`work` for job and work-visit time, `quote_assessment` for quote visit time.
One of: work, quote_assessment.
membership_idstring (uuid)requiredmembership_namestringrequiredrecorded_by_idstring (uuid)requiredupdated_by_idstring (uuid)requiredstarted_atstring (date-time)requiredended_atstring (date-time) or nullrequiredduration_secondsintegerrequiredAt least 0.
notesstring or null
stopped_time_entryobject or nullOnly from startVisit with `track_time`; the timer stopped elsewhere, or null.
Fields(19)
lock_versionintegerrequiredAt least 0.
created_atstring (date-time)requiredupdated_atstring (date-time)requiredidstring (uuid)requiredaccount_idstring (uuid)requiredjob_idstring (uuid) or nullrequiredjob_titlestring or nullrequiredjob_numberstring or nullrequiredvisit_idstring (uuid) or nullvisit_titlestring or nullpurposestring`work` for job and work-visit time, `quote_assessment` for quote visit time.
One of: work, quote_assessment.
membership_idstring (uuid)requiredmembership_namestringrequiredrecorded_by_idstring (uuid)requiredupdated_by_idstring (uuid)requiredstarted_atstring (date-time)requiredended_atstring (date-time) or nullrequiredduration_secondsintegerrequiredAt least 0.
notesstring or null
skippedarray of objectrequiredVisits on `from` that stayed where they were, and why.
Each item(2)
visit_idstring (uuid)requiredreasonstringrequiredThe visit's status.
One of: in_progress, completed, cancelled.
emailedintegerrequiredHow many customers were emailed. Zero without `notify_customers`.
At least 0.
not_emailedarray of objectrequiredCustomers whose visits moved and who were not emailed, because they have no email address. Empty without `notify_customers`.
Each item(2)
customer_idstring (uuid)requiredreasonstringrequiredOne of: no_email.
A refusal answers in the one error shape every operation shares.
Example
A request our own tests send. The ids are made up: put your own in their place.
curl -X POST "https://app.tradesender.co.uk/api/v1/calendar/move_day" \
-H "Authorization: Bearer $TRADESENDER_KEY" \
-H "Idempotency-Key: $(uuidgen)" \
-H "Content-Type: application/json" \
-d '{
"from": "2026-10-15",
"to": "2026-10-17",
"membership_id": "36c7095b-fcec-58a6-b1e1-916bdae515d3",
"notify_customers": true
}'