getCourierAccounts
The method allows you to retrieve the list of accounts connected to a given courier.
Input parameters
Output data:
A sample request in PHP:
courier_code | varchar(20) | Courier code |
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 |
accounts | array | An array with a list of available accounts. |
| - id | int | Account ID |
| - name | varchar | Account name |
Sample
Input data:Output data:
A sample request in PHP: