getOrderReturnJournalList
The method allows you to download a list of return events from the last 3 days.
Input parameters
Output data:
A sample request in PHP:
| last_log_id | int | Log ID number from which the logs are to be retrieved |
| logs_types | array | Event ID List |
| return_id | int | Return ID number |
Output data
The method returns the data in JSON format.
| status | varchar(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 |
| logs | array | List of events |
| | - id | int | Event ID |
| | - return_id | int | Return identifier |
| | - log_type | int | Event 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_id | int | Additional information, depending on the event type:
9 - Deleted product ID 14 - Created return parcel ID 15 - Deleted return parcel ID |
| | - date | int | Event date |
Sample
Input data:Output data:
A sample request in PHP: