Retrieve Customer Settings
Retrieves the current customer settings of the platform.
HTTP Request
GET/api/settings/customers
Authorization
Authorization
- Required: Yes
- Permission: Staff or Admin
- Authentication: Token authentication
Example Requests
- 🐍 Python
- 🌐 Curl
1import requests
2
3# Retrieve customer settings
4response = requests.get('http://www.example.com/api/settings/customers',
5 headers={'Authorization': 'Token <your_api_key>'}
6)
7print(response.json())1# Retrieve customer settings
2curl "http://www.example.com/api/settings/customers" -H "Authorization: Token <your_api_key>"Status Codes
| Code | Description |
|---|---|
| 200 | Request logs retrieved successfully |
| 400 | Bad request — invalid query parameters |
| 401 | Unauthorized — authentication required |
| 403 | Forbidden — insufficient permissions |
| 500 | Internal server error |
Response Fields
| Field | Type | Description |
|---|---|---|
| customers_default_customer_status | Boolean | Default status for new customers (default: false) |