Skip to main content

Outlet Management

Open and Close Outlet

You can call this endpoint to open or close any outlets you own within its operational hours. Closing an outlet also means stopping orders to flow to your outlet.

Endpoint = PATCH /integrations/gofood/outlets/:outlet_id/v1/properties

Sample Request

Sample Request
curl -X PATCH https://api.partner-sandbox.gobiz.co.id/integrations/gofood/outlets/{outlet_id}/v1/properties \
-H 'Content-Type: application/json' \
-H 'Authorization: Bearer {access-token}' \
-d $'
{
"force_close": true
}
'

Sample Response (200)

Sample Response
{
"success": true,
"data": {
"force_close": true
}
}