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
Output data:
A sample request in PHP:
varchar(50) | The e-mail address we search for in orders. |
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 |
orders | array | An array of information about the orders found. Each order is described by the fields listed below. |
order_id | int | Order Identifier from BaseLinker order manager |
order_status_id | int | Order status (the list available to retrieve with getOrderStatusList) |
date_in_status | int | Date from which the order is in current status (unix time format) |
date_add | int | Date of order creation (in unix time format) |
Sample
Input data:Output data:
A sample request in PHP: