v1
latestOpenAPI 3.0.12026-08-062555238.4 KBStore API endpoints
Set branch status for a specified duration on SuperApp
Use this endpoint to set a branch's status for a specified duration on SuperApp.
In the event of a busy kitchen or unforeseen circumstances that cause delays in order fulfillment, this API can be a useful solution.
post/branches/{branch_id}/visibility/status/expiries
Path parameters
branch_idstring required
A unique branch ID string provided by vendor or restaurant
Headers
Authorizationstring required
User-Agentstring required
Brand-Idstring required
Request body
Example request
{
"status_id": 2,
"till_time": 15
}Response
Branch status expiry created successfully
Example response
{
"branch_id": "branch-id",
"status_id": 2,
"start_date": "2021-10-25T15:03:17.131029Z",
"end_date": "2021-10-25T15:03:17.131029Z",
"created_at": "2021-10-25T15:03:17.131029Z",
"updated_at": "2021-10-25T15:03:17.131029Z"
}