System Settings
PATCH
Update System Settings
Update the system settings.
Required Permission:
Edit System Setting
PATCH
/system-settings
Request Body
JSONRequest Parameters
| Parameter | Type | Required | Validation | Description |
|---|---|---|---|---|
| name | String | Required | string, required, max: 255 | The site name |
| String | Required | string, required, max: 255 | The site email | |
| phone | String | Required | string, required, max: 255 | The site phone |
| address | String | Required | string, required, max: 255 | The site address |
| logo | File | Optional | image, nullable, mimes: jpeg,png,jpg,webp, max: 2048 | The site logo image |
| data_per_page | Integer | Required | integer, required, min: 1, max: 100 | Number of items per page for pagination |
| sale_pending_status | Integer | Required | integer, required, in: 0,1 | Enable (1) or disable (0) sale pending status feature |
| sale_pay_first_status | Integer | Required | integer, required, in: 0,1 | Enable (1) or disable (0) pay first before sale feature |
| currency_symbol | String | Required | string, required, max: 255 | The currency symbol |
| currency_name | String | Required | string, required, max: 100 | The currency name |
| currency_position | String | Required | string, required, in: before,after | The currency position |
| currency_decimal_point | Integer | Required | integer, required, min: 0, max: 4 | The currency decimal point |
| is_vat_enable | Integer | Required | integer, required, in: 1,0 | Enable (1) or disable (0) VAT feature |
| vat_type | String | Required | string, required, in: invoice,product | The VAT type |
| is_vat_editable | Integer | Required | integer, required, in: 1,0 | Enable (1) or disable (0) VAT editable feature |
| vat_percentage | Numeric | Required | numeric, required, min: 0, max: 100 | The VAT percentage |
| vat_label | String | Required | string, required, max: 255 | The VAT label |
| is_branch | Integer | Required | integer, required, in: 1,0 | Enable (1) or disable (0) branch feature |
Response
200 OKStatus Code
HTTP status code (200)
Message
System Settings successfully updated
Data
Updated system settings key-value pairs