Skip to content

When Bottle plans the next day

GET
/rounds/planning-time
curl --request GET \
--url https://example.com/rounds/planning-time \
--cookie __Host-bottle.session_token=<__Host-bottle.session_token>

The time, UK time, that Bottle makes the next day’s plan.

When Bottle plans the next day

Media typeapplication/json
object
planAt
required
string

Example generated

{
"planAt": "example"
}

Not signed in

Media typeapplication/json
object
error
required
string
message
required
string

Example

{
"error": "not_found",
"message": "Customer not found"
}

Not the owner in the office app, or on a plan without rounds

Media typeapplication/json
object
error
required
string
message
required
string

Example

{
"error": "not_found",
"message": "Customer not found"
}

Not open to this business

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
Allowed values: validation
message
required
string
issues
required
Array<object>
object
path
required
string
message
required
string

Example

{
"error": "validation",
"issues": [
{
"path": "email",
"message": "Invalid email"
}
]
}