API documentation
Method list
Test your request
Changelog


getInventoryExtraFields
The method allows you to retrieve a list of extra fields for a BaseLinker catalog.


Input parameters



Output data
The method returns the data in JSON format.
statusvarchar(30)SUCCESS - request executed correctly
ERROR - an error occurred during an API request. Error details will be described in 2 additional returned fields: error_message and error_code
extra_fieldsarrayAn array of extra fields containing the fields listed below
| - extra_field_idintID of the extra field
| - nameintField name.
| - kindintType of additional field. Value 0 indicates a short field (max 200 characters). Value 1 means a long field (no limit of characters), where the value can be overwritten for specific integrations e.g. marketplace.
| - editor_typevarcharEditor type. The following values are available: text, number, select, checkbox, radio, date, file.
| - optionsarray(optional) An array of values available for a given additional field. Applicable to select, checkbox and radio editors.



Sample
Input data:
Output data:
A sample request in PHP: