Skip to main content
PATCH
/
v1
/
locations
/
{location_id}
/
order_settings
Update order settings
curl --request PATCH \
  --url https://api.chataigne.ai/v1/locations/{location_id}/order_settings \
  --header 'Content-Type: application/json' \
  --header 'x-api-key: <api-key>' \
  --data '
{
  "auto_accept_orders": true,
  "average_preparation_time": "00:20",
  "enable_multiple_order_per_customer": true
}
'
{
  "object": "order_settings",
  "location_id": "<string>",
  "auto_accept_orders": true,
  "average_preparation_time": "00:15",
  "enable_multiple_order_per_customer": true
}

Authorizations

x-api-key
string
header
required

Location/organization API key.

Path Parameters

location_id
string
required

Body

application/json
auto_accept_orders
boolean
average_preparation_time
string

HH:MM

Example:

"00:20"

enable_multiple_order_per_customer
boolean

Response

The updated order settings.

object
enum<string>
Available options:
order_settings
location_id
string
auto_accept_orders
boolean
average_preparation_time
string

HH:MM

Example:

"00:15"

enable_multiple_order_per_customer
boolean