Retrieve Order Settings
Retrieves the order settings of the project
HTTP Request
GET/api/settings/orders
Authorization
Authorization
- Required: Yes
- Permission: Staff with OrdersSettingsPermission or Admin
- Permission Code: 1026
- Authentication: Token authentication
Example Requests
- 🐍 Python
- 🌐 Curl
1import requests
2
3# Retrieve order settings
4response = requests.get('http://www.example.com/api/settings/orders',
5 headers={'Authorization': 'Token <your_api_key>'}
6)
7print(response.json())1# Retrieve order settings
2curl "http://www.example.com/api/settings/orders" -H "Authorization: Token <your_api_key>"Response Fields
| Field | Type | Description |
|---|---|---|
| orders_quantity_reserve_duration | Integer | The duration in seconds which the product quantities in an order will be reserved (default: 300) |
Example Response
{
"orders_quantity_reserve_duration": 300
}