API documentation
Method list
Test your request

The method allows you to search for orders related to the given phone number. This function is intended for use in caller recognition programs.

Input parameters
phonevarchar(50)The phone number 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)
delivery_fullnamevarchar(100)Delivery address - name and surname
delivery_companyvarchar(100)Delivery address - company
date_in_statusintDate from which the order is in current status (unix time format)
date_addintDate of order creation (in unix time format)

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