API documentation
Method list
Test your request
Changelog


getOrderReturnJournalList
The method allows you to download a list of return events from the last 3 days.


Input parameters
last_log_idintLog ID number from which the logs are to be retrieved
logs_typesarrayEvent ID List
return_idintReturn ID number



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
logsarrayList of events
| - idintEvent ID
| - return_idintReturn identifier
| - log_typeintEvent type:
1 - Return creation
2 - Return accepted
3 - Return completed
4 - Return canceled
5 - Return refunded
6 - Editing return delivery data
7 - Adding a product to a return
8 - Editing a product in the return
9 - Removing a product from the return
10 - Editing return data
11 - Return status change
12 - Return item status change
| - object_idintAdditional information, depending on the event type:
9 - Deleted product ID
14 - Created return parcel ID
15 - Deleted return parcel ID
| - dateintEvent date



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