API documentation
Method list
Test your request
Changelog


getJournalList
The method allows you to download a list of order 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
order_idintOrder 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
| - order_idintOrder identifier
| - log_typeintEvent type:
1 - Order creation
2 - DOF download (order confirmation)
3 - Payment of the order
4 - Removal of order/invoice/receipt
5 - Merging the orders
6 - Splitting the order
7 - Issuing an invoice
8 - Issuing a receipt
9 - Package creation
10 - Deleting a package
11 - Editing delivery data
12 - Adding a product to an order
13 - Editing the product in the order
14 - Removing the product from the order
15 - Adding a buyer to a blacklist
16 - Editing order data
17 - Copying an order
18 - Order status change
19 - Invoice deletion
20 - Receipt deletion
| - object_idintAdditional information, depending on the event type:
5 - ID of the merged order
6 - ID of the new order created by the order separation
7 - Invoice ID
9 - Created parcel ID
10 - Deleted parcel ID
14 - Deleted product ID
17 - Created order ID
18 - Order status ID
| - dateintEvent date



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