Sous Chef API
Sous Chef Ordering API
Documentation

Store status changed

Webhookstore.status.changed

A store's intended or observed state changed.

Delivered to the ONE url registered for your channel. Return any 2xx to acknowledge; anything else is retried with exponential backoff.

Request

application/json
required
  • idstring

    Unique event id — the deduplication key.

    Deliveries are at-least-once and unordered, so you WILL receive the same event more than once. Every copy of one event carries the same id. Two legitimate transitions of the same order or store are two different events and carry two different ids.

    Key your idempotency on this field alone. timestamp is the moment the attempt was SENT and differs between copies of one event.

  • eventstring

    Always store.status.changed.

    Possible values: [store.status.changed]
  • timestampstring<date-time>

    When this delivery was SENT — not when the event happened. Order by the transported state, never by arrival.

  • organization_idstring

    Your channel's organization id — the same on every delivery to you — also carried on the delivery's X-Organization-ID header. It is your channel's organization, not the restaurant's.

    Snake case on this ONE field is a long-lived wire value shared with the Management API; every other field on this API is camelCase.

    Treat it as a sanity check, never as proof of origin. Proof of origin is the X-OneTablet-Signature header, which every delivery on this API carries; see "Verifying webhook signatures".

  • dataStoreStatus

    The store's full status. storeId is the store's id from fetchStores.

About Stores

The stores on your channel, in every organization that sells through it. Only these stores accept your orders, and only their menus and orders are readable with your key.