Set site workload times

Sets the prep time (in minutes) for each workload mode. Which fields to send depends on the site; the GET endpoint tells you which case applies. Each value must be within its allowed range, returned by the GET endpoint with ?allowed_ranges=true.

  • If GET returns moderate (e.g. restaurant-fulfilled sites): send quiet, moderate and busy; all three are required. To change only some of them, send the others back unchanged, as returned by the GET endpoint.
  • If GET does not return moderate (Deliveroo-fulfilled sites): send quiet and busy only; requests that include moderate are rejected. busy changes in steps of 5 minutes: the difference between the new and the current busy value must be a multiple of 5, e.g. if the current busy is 25, it can be set to 20, 30, 35, etc. If no busy prep time has been set for the site yet, the step is measured from 0 rather than from the busy returned by GET (which is then the site's default), so busy itself must be a multiple of 5.
Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Path Params
string
required

The unique identifier for the brand.

string
required

Identifier defined by the user.

Body Params

Update workload times request body.

integer

Prep time (in minutes) applied when site workload mode is BUSY

integer

Prep time (in minutes) applied when site workload mode is MODERATE. Not used by Deliveroo-fulfilled sites; see the PUT endpoint for when to send it.

integer

Prep time (in minutes) applied when site workload mode is QUIET

Responses

Language
Credentials
Basic
base64
:
LoadingLoading…
Response
Choose an example:
application/json