Choose another delivery day
POST
/track/day
const url = 'https://example.com/track/day';const options = { method: 'POST', headers: {'Content-Type': 'application/json'}, body: '{"ref":"7K3M9-QWXZ2","postcode":"KT3 4BP","day":"2026-11-20"}'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request POST \ --url https://example.com/track/day \ --header 'Content-Type: application/json' \ --data '{ "ref": "7K3M9-QWXZ2", "postcode": "KT3 4BP", "day": "2026-11-20" }'Deliberately unauthenticated, checked the same way as reading. The customer chooses a day from tomorrow, up to 60 days ahead. When the business lets customers change the day, and no driver or delivery partner has been sent the order yet, it moves to that day and comes off any round still being planned. Otherwise the business is asked and nothing moves. The business is told either way. Refused once the driver has set off.
Request Bodyrequired
Section titled “Request Bodyrequired”Media typeapplication/json
object
ref
required
string
Example
7K3M9-QWXZ2postcode
required
string
Example
KT3 4BPday
required
string format: date
Example
2026-11-20Responses
Section titled “Responses”Moved, or asked for, with where the order is now
Media typeapplication/json
object
outcome
required
string
tracking
required
object
ref
required
string
business
required
string
fulfilment
required
string
postcode
required
string | null
items
required
Array<string>
status
required
string
day
required
string | null format: date
expected
required
object
from
required
string format: date
to
required
string format: date
window
required
object
from
required
string
to
required
string
position
required
object
yours
required
integer
total
required
integer
driverOn
required
integer | null
deliveredAt
required
string | null format: date-time
location
required
object
latitude
required
number
longitude
required
number
van
required
object
latitude
required
number
longitude
required
number
seenAt
required
string format: date-time
leave
required
object
instruction
required
string | null
detail
required
string | null
canSaveToAddress
required
boolean
deliveredByHand
required
boolean
dayChange
required
string | null
Example
{ "outcome": "changed", "tracking": { "ref": "7K3M9-QWXZ2", "fulfilment": "delivery", "items": [ "2 × 19kg propane" ], "status": "awaiting_payment", "window": { "from": "07:30", "to": "07:30" }, "leave": { "instruction": "none" }, "dayChange": "change" }}No order with that reference at that postcode
Media typeapplication/json
object
error
required
string
message
required
string
Example
{ "error": "not_found", "message": "Customer not found"}Too late to change the day here
Media typeapplication/json
object
error
required
string
message
required
string
Example
{ "error": "not_found", "message": "Customer not found"}Validation failed
Media typeapplication/json
object
error
required
string
message
required
string
issues
required
Array<object>
object
path
required
string
message
required
string
Example
{ "error": "validation", "issues": [ { "path": "email", "message": "Invalid email" } ]}Too many attempts from one place
Media typeapplication/json
object
error
required
string
message
required
string
Example
{ "error": "not_found", "message": "Customer not found"}