Skip to main content
GET
List what a shift sells

Authorizations

Authorization
string
header
default:your_token_here
required

Restaurant-scoped partner API token passed as Authorization: Bearer <token>.

Path Parameters

id
string
required

The shift id.

Query Parameters

date
string

Service day, YYYY-MM-DD in the restaurant timezone. With it, the shift must serve that day and stock gives what is left of it.

Pattern: ^\d{4}-\d{2}-\d{2}$
party_size
integer

Keeps only the variants open to this many guests.

Required range: x >= 1
prescriber_id
string

The prescriber the booking will carry: its exclusive offers are listed, and the public ones only if it sees them.

Minimum string length: 1

Response

What the shift sells

data
object
required