API documentation
Method list
Test your request
Changelog


getOrdersByEmail
The method allows to search for orders related to the given e-mail address. This function is designed to be used in plugins for mail clients (Thunderbird, Outlook, etc.).


Input parameters
emailvarchar(50)The e-mail address we search for in orders.



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
ordersarrayAn array of information about the orders found. Each order is described by the fields listed below.
order_idintOrder Identifier from BaseLinker order manager
order_status_idintOrder status (the list available to retrieve with getOrderStatusList)
date_in_statusintDate from which the order is in current status (unix time format)
date_addintDate of order creation (in unix time format)



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