Get customer

Use this endpoint to fetch details of a customer.

get/customers/{customerId}

Request

  • Base URL
    https://api.sandbox.cleeng.com/3.1
  • URL
    https://api.sandbox.cleeng.com/3.1/customers/{customerId}
  • Auth
    API key in header X-Publisher-Token

Path parameters

customerIdinteger required

Customer identifier at Cleeng

Headers

Content-Typestring

Response

200

successboolean
messagestring

Example response

{
  "data": {
    "id": 123456789,
    "email": "test@cleeng.com",
    "country": "PL",
    "regDate": "2019-05-07 02:00:00",
    "lastLoginDate": "2020-02-17 11:43:52",
    "lastUserIp": "01.01.010.01",
    "currency": "EUR",
    "locale": "en_US"
  },
  "success": true,
  "message": "Customer fetched successfully"
}

Changes

No recorded changes to this operation across all 1 revision of this API.