Set Store Status
POST {{base_url}}/v1/delivery/store/{{store_id}}/update-store-status
The Set Restaurant Status endpoint sets the online status of a restaurant.
Request Body
{"status"=>"OFFLINE", "is_offline_until"=>"2024-02-25T10:00:00-06:00", "reason"=>"STORE_CLOSED"}
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Content-Type | string | ||
Accept | string | ||
User-Agent | string |
RESPONSES
status: OK
{"status":"OFFLINE","previous_status":"ONLINE"}