Your browser does not support Java Script or javascript is disabled. Please ensure that your browser supports it for full compatibility with our services.

Fetch User Data

Fetch User Data

This service allows receiving basic data about user - first and last names, address, if this is Credit account ("credit_available": true/false in response),if it can use Global Mail ("global_mail_available":true/false) and has free delivery for Global Mail ("global_mail_free_pickup": true/false).

Request

Documents
URI
/user/
Method GET
Authorization
required

Example

Response

 

{
    "message": "OK",
    "code": 200,
    "result": {
        "user": {
            "primary_address": {
                "last_name": "Bbbbb",
                "address_line3": "Eeee",
                "company": "Eferreref",
                "phone": "444555666",
                "postcode": "",
                "address_line2": "Dddd",
                "city": "Hong Kong",
                "first_name": "Aaaaa",
                "address_line1": "Ccccc",
                "country": "HK",
                "email": "andrzej.papa@gmail.com"
            },
            "first_name": "Andrzej",
            "last_name": "Poniedzialek",
            "global_mail_available": true,
            "global_mail_free_pickup": true,
            "credit_available": true
        }
    }