v1

latestOpenAPI 3.0.3Apache 2.02026-07-2478177179.1 KB
Working Mode

Update store working mode

Retrieve or update the dynamic working mode used to signal load to aggregators (e.g., busy/quiet). When set to busy, you may specify a 'busyUntil' timestamp to auto-expire the mode.

put/stores/{storeId}/working-mode

Path parameters

storeIdstring required

Unique identifier of the store in Grubtech. This may be the Grubtech store ID or your external mapping ID.

Request body

workingMode'busy' | 'quiet' required

Operational mode flag communicated to aggregators.

busyUntilstring date-time

Required when workingMode is busy

Example request

{
  "workingMode": "busy",
  "busyUntil": "2025-04-01T18:00:00Z"
}

Response

Working mode updated