API documentation
Method list
Test your request
Changelog


getSyncLogList
Returns up to 1,000 price and stock synchronization log entries for the authenticated user. Pass source to select a marketplace, including allegro, ebay, amazon, or amazon_vendor. Set errors_only to true to return only entries with a synchronization error.


Input parameters
last_log_idintLog ID from which synchronization entries are retrieved. The comparison is inclusive (id >= last_log_id). Use it together with source, because IDs are unique only within one marketplace family.
sourcevarchar(50)Marketplace code. Omit to return generic-marketplace logs. Use allegro, ebay, amazon, or amazon_vendor for those integrations.
errors_onlyboolWhether to return only entries with an error (error_id > 0). Defaults to false.



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
logsarrayPrice and stock synchronization log entries ordered by log_id ascending.
| - log_idintUnique synchronization log entry identifier.
| - group_idintIdentifier of the synchronization run that produced the entry.
| - order_fromvarchar(50)Marketplace integration code.
| - item_idvarchar(60)External marketplace offer identifier.
| - typeintSynchronization type: 0 - stock/quantity update; 1 - price update.
| - fromfloatValue before the synchronization attempt.
| - tofloatValue after the synchronization attempt.
| - date_addedintUnix timestamp when the synchronization log entry was written.
| - error_codevarchar(50)Marketplace or system error code. Present only when the entry has a synchronization error.
| - error_texttextError message from the synchronization error record. Present only when the entry has a synchronization error.



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