Days the business does not deliver
GET
/closures
const url = 'https://example.com/closures?from=2026-04-15&to=2026-04-15';const options = { method: 'GET', headers: {cookie: 'bottle.session_token=<bottle.session_token>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url 'https://example.com/closures?from=2026-04-15&to=2026-04-15' \ --cookie bottle.session_token=<bottle.session_token>Bank holidays for the business’s part of the UK, from GOV.UK, and whether it delivers on them; its own closures; and every day in the range it is shut. Planning, the rota and delivery dates all skip those days. At most 400 days at a time.
Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Query Parameters
Section titled “Query Parameters”from
required
string format: date
to
required
string format: date
Responses
Section titled “Responses”Closures
Media typeapplication/json
object
settings
required
object
bankHolidayRegion
required
string
deliverOnBankHolidays
required
boolean
updatedAt
required
string format: date-time
bankHolidays
required
Array<object>
object
date
required
string format: date
title
required
string
closedDays
required
Array<object>
object
id
required
UUID v7
string format: uuid
name
required
string
startsOn
required
string format: date
endsOn
required
string format: date
closed
required
Array<object>
object
date
required
string format: date
name
required
string
kind
required
string
Example
{ "settings": { "bankHolidayRegion": "england-and-wales" }, "closedDays": [ { "id": "019205d1-6e7a-7c3b-9f6e-3a2b1c0d9e8f" } ], "closed": [ { "kind": "bankHoliday" } ]}Not signed in
Media typeapplication/json
object
error
required
string
message
required
string
Example
{ "error": "not_found", "message": "Customer not found"}Not a member, or without the permission this needs
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" } ]}