Print the day as a run sheet
GET
/deliveries/run-sheet
const url = 'https://example.com/deliveries/run-sheet';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/deliveries/run-sheet \ --cookie bottle.session_token=<bottle.session_token>The same day as GET /deliveries, as a one-page PDF in the invoice’s style, with the business’s own name and logo: a box to tick by each stop, what goes in, what comes back and the cash to take.
Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Query Parameters
Section titled “Query Parameters”date
The day, in the UK. Today when left out.
string format: date
The day, in the UK. Today when left out.
Responses
Section titled “Responses”The run sheet
Media typeapplication/pdf
string
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" } ]}