put
https://api.staging.deliverect.com/locations//readiness/pos
Purpose
For certain channels, they require a verification that a store's POS is able to accept orders to mitigate the risk of failed order injection.
A POS can support this by reporting the live status of the POS to Deliverect, where an absence of reports signals an outage.
Format
- Call this endpoint every 10 minutes per location.
- Apply jitter so that locations don't all report on the same minute.
- A location is considered no longer ready if there have been no readiness updates and no other successful POS interaction for 30 minutes (two missed heartbeats).
Request Parameters
| Field | Type | Description |
|---|---|---|
status | string | online - store's POS is online and able to accept ordersoffline - means the POS is shutting down or cannot accept orders. Deliverect marks the location as not ready immediately, rather than waiting for silence to time it out. |
NB: If the status field is missing, it is treated as online.
403Not allowed to access this location
