A setting in the Venddor API has various properties represented by fields. This document provides a comprehensive list of all supported fields, along with their descriptions and supported data types.
The following table lists all available fields for setting objects:
| Field Name | Description | Supported Values |
|---|---|---|
| name* | Setting name | string |
| description | Setting description | string |
| object_id | Setting ID | integer |
| section_id | ID of the parent section | Valid section ID |
| section_tab_id | ID of the parent tab | Valid tab ID |
| value | Setting value | Depends on the setting type |
| edition_type | Edition type |
PRO:ROOT ULT:ROOT ULT:VENDOR MVE:ROOT MVE:VENDOR ROOT VENDOR |
| handler | Name of the PHP function that generates setting variants | string |
| is_global | Flag, defines whether the setting is global |
YN
|
| object_type | Setting type | — |
| position | Setting position in the settings list | integer |
| section_name | Parent section name | — |
| section_tab_name | Parent tab name | — |
| tooltip | Tooltip | string |
| type* | Setting type |
I - inputT - textareaR - radiogroupS - selectboxP - passwordC - checkboxM - multiple selectN - multiple checkboxesX - countries listW - states listF - fileO - infoH - headerB - selectable boxE - templateZ - permanent templateD - hidden
|
| variants | Setting variants | List of possible setting values |
{
"name": "items_per_page",
"description": "Number of items to display per page",
"type": "I",
"value": "20",
"section_id": 15,
"position": 30,
"tooltip": "Controls the number of items shown on catalog and search pages",
"is_global": "Y"
}
Retrieves a list of all settings.
Retrieves a specific setting by its ID.
Updates a specific setting with the provided information.
section_id parameter to organize related settings together in the admin interface.