Skip to main content
GET
/
shops
/
{shopId}
/
customers
/
{userId}
Get User Details
curl --request GET \
  --url http://staging.qshop.ng/apiv2/shops/{shopId}/customers/{userId}
{
  "msg": "<string>",
  "data": {
    "campaigns": "<array>",
    "_id": "<string>",
    "shop": {
      "_id": "<string>",
      "name": "<string>",
      "email": "<string>",
      "slug": "<string>",
      "domainName": "<string>",
      "logo_uuid": "<string>",
      "domainActive": true,
      "url": "<string>"
    },
    "user": {
      "kyc": {
        "status": "<unknown>",
        "attempts": 123,
        "errors": "<array>"
      },
      "suspended": true,
      "isActivated": true,
      "isPseudoAccount": true,
      "_id": "<string>",
      "roles": [
        "<string>"
      ],
      "email": "<string>",
      "username": "<string>",
      "__v": 123,
      "full_name": "<string>",
      "last_access": "<string>",
      "reg_date": "<string>",
      "shopCount": 123,
      "test_user": true,
      "telephone": "<string>",
      "status": "<string>",
      "addresses": [
        {
          "address": "<string>",
          "line_1": "<string>",
          "line_2": "<string>",
          "stateData": "<string>",
          "countryData": "<string>",
          "cityData": "<string>",
          "area": "<string>",
          "geoLocation": {
            "coordinates": {
              "lng": 123,
              "lat": 123
            },
            "fullAddress": "<string>",
            "zipCode": "<string>",
            "points": {
              "type": "<string>",
              "coordinates": [
                123
              ],
              "_id": "<string>"
            },
            "addressProximity": "<string>",
            "geoNames": [
              {
                "lng": "<string>",
                "geonameId": 123,
                "name": "<string>",
                "fclName": "<string>",
                "toponymName": "<string>",
                "fcodeName": "<string>",
                "adminName1": "<string>",
                "lat": "<string>",
                "fcl": "<string>",
                "fcode": "<string>",
                "population": 123,
                "adminCode1": "<string>",
                "countryId": "<string>",
                "countryCode": "<string>",
                "countryName": "<string>",
                "adminCodes1": {
                  "ISO3166_2": "<string>"
                }
              }
            ],
            "google": {
              "address_components": [
                {
                  "long_name": "<string>",
                  "short_name": "<string>",
                  "types": [
                    "<string>"
                  ]
                }
              ],
              "adr_address": "<string>",
              "formatted_address": "<string>",
              "geometry": {
                "location": {
                  "lat": 123,
                  "lng": 123
                },
                "viewport": {
                  "south": 123,
                  "west": 123,
                  "north": 123,
                  "east": 123
                }
              },
              "name": "<string>",
              "types": [
                "<string>"
              ],
              "utc_offset": 123,
              "html_attributions": "<array>",
              "utc_offset_minutes": 123
            },
            "_id": "<string>"
          },
          "isDefault": true,
          "_id": "<string>"
        }
      ]
    },
    "__v": 123,
    "acceptanceToken": "<unknown>",
    "created_at": "<string>",
    "email": "<string>",
    "fullName": "<string>",
    "isClaimed": true,
    "notes": "<array>",
    "notifyViaWhatsApp": true,
    "numberOfOrders": 123,
    "orderTotal": 123,
    "password": "<string>",
    "resetPassword": true,
    "roles": [
      {
        "_id": "<string>",
        "__v": 123,
        "isAdmin": true,
        "name": "<string>",
        "isSuperAdmin": true,
        "key": "<string>",
        "type": "<string>"
      }
    ],
    "suspended": true,
    "suspendedRoles": "<array>",
    "telephone": "<string>",
    "updated_at": "<string>",
    "whatsAppNumber": "<string>"
  },
  "success": true
}

Path Parameters

shopId
string
required

Query Parameters

userId
string
required

Response

200 - application/json
msg
string
required
data
object
required
success
boolean
required