DesiredStoreStatus
Fields
- statestring
What OneTablet is configured to do.
open— the storefront should be taking orders;paused— it has been paused (by an operator, this API, or the system);closedSpecialHours— closed by a special-hours date. v1 never producesclosedSpecialHours; see the section note above.Possible values: [open, paused, closedSpecialHours] - pauseReasonstring
Typed pause reason. Pauses recorded outside this API — or whose free-text reason does not match a typed value — read as
'other', with the operator's original wording folded intopauseNote. Absent for a system-initiated pause with no operator-entered reason at all.Possible values: [closingEarly, problemInRestaurant, outOfItems, tooBusy, other] - pauseNotestring
Free-text note accompanying the pause — the operator's own wording. When
pauseReasonis'other'because the recorded reason matched no typed value, that original reason text is folded in here. Absent when no note was recorded, and always absent whileopen. - pausedUntilstring<date-time>
When the pause automatically ends, as an ISO-8601 UTC instant. Absent means the pause is indefinite.
- updatedAtstring<date-time>
When the current pause began, as an ISO-8601 UTC instant — see the class comment. Absent while the store is open on a read; on a
pauseStores/unpauseStoresresponse it is the time the write was applied.