API documentation
Method list
Test your request
Changelog


getListingAgentSettingsHistory
Returns the history of a Listing Agent from the last 14 days: creation, settings changes, enabling, disabling and deletion, with changed fields. Marketplace account settings (default category, price group) are not part of the agent history.


Input parameters
listing_agent_idintListing Agent identifier.
pageintResults page (100 events per page, numbered from 1).



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
pageintThe one-based page number returned.
marketplace_codevarchar(50)Marketplace code of the agent.
eventsarrayEvents ordered by date descending.
| - eventvarchar(20)create, update, disable, delete.
| - triggered_byvarchar(20)user – changed in the panel or API; system – changed automatically (e.g. disabled after the source was removed); support – changed by Base support.
| - changesarrayChanged settings. Empty for create and delete. Older entries may list only filters, account, source, name, status, site and catalog view.
field (varchar(100)) - Setting name as in getListingAgentsData settings, e.g. filters.tag_ids, variants_mode, is_active, account_id. Exceptions: storage_id – raw ID of the agent source (inventory, shop, warehouse or Connect integration ID, see source_type); filters – true or false when filters were switched on or off.
before (text) - Previous value encoded as JSON with the type used in getListingAgentsData settings (e.g. "[12]", "true", "\"products\"").
after (text) - New value encoded as JSON.
| - dateintUnix timestamp of the event.



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