> ## Documentation Index
> Fetch the complete documentation index at: https://docs.chataigne.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Order acceptance

> Mark a location online, busy, or paused and communicate temporary delays.

Acceptance settings describe whether a location is currently taking orders. They are designed for operational changes during service.

| Action | Endpoint                                                | Permission                     |
| ------ | ------------------------------------------------------- | ------------------------------ |
| Read   | `GET /v1/locations/{location_id}/acceptance_settings`   | `locationStatusSettings.read`  |
| Update | `PATCH /v1/locations/{location_id}/acceptance_settings` | `locationStatusSettings.write` |

## Modes

| Mode     | Meaning                                                       |
| -------- | ------------------------------------------------------------- |
| `online` | The location is accepting orders normally.                    |
| `busy`   | The location is accepting orders with extra preparation time. |
| `paused` | The location is temporarily not accepting orders.             |

## Mark a location busy

`extra_preparation_time` is the number of extra minutes added in busy mode. `reason` is a human-readable explanation. In `busy` and `paused` modes, the reason is passed to the chatbot so it can explain the situation to the customer.

```bash theme={null}
curl https://server.chataigne.ai/v1/locations/loc_r8v4n2c6tz/acceptance_settings \
  -X PATCH \
  -H "x-api-key: $CHATAIGNE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "mode": "busy",
    "extra_preparation_time": 15,
    "reason": "High demand"
  }'
```

`PATCH` preserves omitted fields. When returning to `online`, set the mode and explicitly reset temporary values when they no longer apply:

```json theme={null}
{
  "mode": "online",
  "extra_preparation_time": 0,
  "reason": ""
}
```

<Note>
  This live status is separate from recurring [opening hours](/location-organization-management/opening-hours) and scheduled [special closings](/location-organization-management/special-closings).
</Note>
