Skip to main content

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

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())

Response Fields

FieldTypeDescription
orders_quantity_reserve_durationIntegerThe duration in seconds which the product quantities in an order will be reserved (default: 300)

Example Response

{
"orders_quantity_reserve_duration": 300
}