Skip to main content
PUT
https://www.xn--dkkango-n2a.com/api/integrations
/
restaurants
/
status
/
open
/
{rest_id}
Open Restaurant
curl --request PUT \
  --url https://www.xn--dkkango-n2a.com/api/integrations/restaurants/status/open/{rest_id} \
  --header 'Access-Token: <api-key>'
{
  "status": false,
  "error": "yetkisiz erişim"
}

Overview

Sets a restaurant status to open, allowing it to receive new orders from customers.

Path Parameters

rest_id
string
required
Restaurant/branch UUID

Headers

Access-Token
string
required
Your API access token

Response

status
boolean
true if successful
data
string
"OK" on success

Examples

curl -X PUT https://www.xn--dkkango-n2a.com/api/integrations/restaurants/status/open/8f2b9ce2-04de-4712-842d-a39f64596fdf \
  -H 'Access-Token: your-access-token'

Success Response (200)

{
  "status": true,
  "data": "OK"
}

Error Responses

{
  "status": false,
  "error": "yetkisiz erişim"
}

When to Use

Call this endpoint when restaurant opens for business.
async function openRestaurant() {
  // Open restaurant
  await setRestaurantStatus(restaurantId, 'open');
  
  // Update UI
  showOpenStatus();
  
  // Enable order acceptance
  enableOrderProcessing();
  
  // Log event
  console.log('Restaurant opened at', new Date());
}
Reopen after lunch break or temporary closure.
async function endBreak() {
  await setRestaurantStatus(restaurantId, 'open');
  notifyStaff('Restaurant is now accepting orders');
}
Staff can manually open restaurant from POS.
async function handleOpenButton() {
  if (confirm('Open restaurant for orders?')) {
    await setRestaurantStatus(restaurantId, 'open');
    showSuccessMessage('Restaurant is now open');
  }
}
Automatically open at scheduled time.
// Open at 11:00 AM daily
scheduleDaily('11:00', async () => {
  await setRestaurantStatus(restaurantId, 'open');
});

What Happens

1

Status Updated

Restaurant status changes to “Open” in Dükkango platform
2

Visible to Customers

Restaurant becomes visible and accessible in customer apps
3

Orders Flow

New orders can be placed by customers and will appear in /orders/get-current
Make sure your kitchen and staff are ready before opening the restaurant!

Best Practices

Verify before opening:
  • Kitchen is staffed and ready
  • Ingredients are stocked
  • POS system is online
  • Staff are briefed on specials/changes