Set Restaurant Status
POSThttps://api.uber.com/v1/eats/store/{store_id}/status
This Set Restaurant Status endpoint sets the online status of a restaurant.
¶ Authorization
OAuth 2.0 Bearer token with the eats.store.status.write
scope. For more information, see Authentication.
¶ Path Parameters
Name | Type | Description |
---|---|---|
store_id |
string |
Unique identifier representing a store. |
¶ Request Body Parameters
Name | Type | Description |
---|---|---|
status |
string (enum) | The desired status of the restaurant. ALLOWED VALUES:
|
paused_until |
string | The timestamp until which a store will not be accepting new orders. ALLOWED FORMATS:
|
reason |
string | The reason for the change of status. |
¶ Example Request
{
"status": "PAUSED",
"paused_until": "2022-01-06T03:02:11.999+12:00",
"reason": "Store is unable to accept orders"
}
¶ Response
Status-Code: 204 No Content