> ## Documentation Index
> Fetch the complete documentation index at: https://developers.qshop.tech/llms.txt
> Use this file to discover all available pages before exploring further.

# Get User Details

> **Host**: http://qshop.ng



## OpenAPI

````yaml get /shops/{shopId}/customers/{userId}
openapi: 3.1.0
info:
  title: OpenAPI Specification
  version: 1.0.0
  description: >-
    QShop storefront API.  This API is used to build a storefront for a QShop
    store
  contact:
    name: QShop
    url: https://qshop.ng
    email: hello@qshop.ng
servers:
  - url: http://staging.qshop.ng/apiv2
    description: Staging server
  - url: http://qshop.ng/api
    description: Production server
security: []
paths:
  /shops/{shopId}/customers/{userId}:
    get:
      tags:
        - Users
      summary: Get User Details
      description: '**Host**: http://qshop.ng'
      parameters:
        - name: shopId
          in: path
          required: true
          schema:
            type: string
        - name: userId
          in: query
          required: true
          schema:
            type: string
      responses:
        '200':
          content:
            application/json:
              schema:
                type: object
                properties:
                  msg:
                    type: string
                  data:
                    type: object
                    properties:
                      campaigns:
                        type: array
                      _id:
                        type: string
                      shop:
                        type: object
                        properties:
                          _id:
                            type: string
                          name:
                            type: string
                          email:
                            type: string
                          slug:
                            type: string
                          domainName:
                            type: string
                          logo_uuid:
                            type: string
                          domainActive:
                            type: boolean
                          url:
                            type: string
                        required:
                          - _id
                          - name
                          - email
                          - slug
                          - domainName
                          - logo_uuid
                          - domainActive
                          - url
                      user:
                        type: object
                        properties:
                          kyc:
                            type: object
                            properties:
                              status:
                                type: 'null'
                              attempts:
                                type: integer
                              errors:
                                type: array
                            required:
                              - status
                              - attempts
                              - errors
                          suspended:
                            type: boolean
                          isActivated:
                            type: boolean
                          isPseudoAccount:
                            type: boolean
                          _id:
                            type: string
                          roles:
                            type: array
                            items:
                              type: string
                          email:
                            type: string
                          username:
                            type: string
                          __v:
                            type: integer
                          full_name:
                            type: string
                          last_access:
                            type: string
                          reg_date:
                            type: string
                          shopCount:
                            type: integer
                          test_user:
                            type: boolean
                          telephone:
                            type: string
                          status:
                            type: string
                          addresses:
                            type: array
                            items:
                              type: object
                              properties:
                                address:
                                  type: string
                                line_1:
                                  type: string
                                line_2:
                                  type: string
                                stateData:
                                  type: string
                                countryData:
                                  type: string
                                cityData:
                                  type: string
                                area:
                                  type: string
                                geoLocation:
                                  type: object
                                  properties:
                                    coordinates:
                                      type: object
                                      properties:
                                        lng:
                                          type: number
                                        lat:
                                          type: number
                                      required:
                                        - lng
                                        - lat
                                    fullAddress:
                                      type: string
                                    zipCode:
                                      type: string
                                    points:
                                      type: object
                                      properties:
                                        type:
                                          type: string
                                        coordinates:
                                          type: array
                                          items:
                                            type: number
                                        _id:
                                          type: string
                                      required:
                                        - type
                                        - coordinates
                                        - _id
                                    addressProximity:
                                      type: string
                                    geoNames:
                                      type: array
                                      items:
                                        type: object
                                        properties:
                                          lng:
                                            type: string
                                          geonameId:
                                            type: integer
                                          name:
                                            type: string
                                          fclName:
                                            type: string
                                          toponymName:
                                            type: string
                                          fcodeName:
                                            type: string
                                          adminName1:
                                            type: string
                                          lat:
                                            type: string
                                          fcl:
                                            type: string
                                          fcode:
                                            type: string
                                          population:
                                            type: integer
                                          adminCode1:
                                            type: string
                                          countryId:
                                            type: string
                                          countryCode:
                                            type: string
                                          countryName:
                                            type: string
                                          adminCodes1:
                                            type: object
                                            properties:
                                              ISO3166_2:
                                                type: string
                                            required:
                                              - ISO3166_2
                                        required:
                                          - lng
                                          - geonameId
                                          - name
                                          - fclName
                                          - toponymName
                                          - fcodeName
                                          - adminName1
                                          - lat
                                          - fcl
                                          - fcode
                                          - population
                                    google:
                                      type: object
                                      properties:
                                        address_components:
                                          type: array
                                          items:
                                            type: object
                                            properties:
                                              long_name:
                                                type: string
                                              short_name:
                                                type: string
                                              types:
                                                type: array
                                                items:
                                                  type: string
                                            required:
                                              - long_name
                                              - short_name
                                              - types
                                        adr_address:
                                          type: string
                                        formatted_address:
                                          type: string
                                        geometry:
                                          type: object
                                          properties:
                                            location:
                                              type: object
                                              properties:
                                                lat:
                                                  type: number
                                                lng:
                                                  type: number
                                              required:
                                                - lat
                                                - lng
                                            viewport:
                                              type: object
                                              properties:
                                                south:
                                                  type: number
                                                west:
                                                  type: number
                                                north:
                                                  type: number
                                                east:
                                                  type: number
                                              required:
                                                - south
                                                - west
                                                - north
                                                - east
                                          required:
                                            - location
                                            - viewport
                                        name:
                                          type: string
                                        types:
                                          type: array
                                          items:
                                            type: string
                                        utc_offset:
                                          type: integer
                                        html_attributions:
                                          type: array
                                        utc_offset_minutes:
                                          type: integer
                                      required:
                                        - address_components
                                        - adr_address
                                        - formatted_address
                                        - geometry
                                        - name
                                        - types
                                        - utc_offset
                                        - html_attributions
                                        - utc_offset_minutes
                                    _id:
                                      type: string
                                  required:
                                    - coordinates
                                    - fullAddress
                                    - zipCode
                                    - points
                                    - addressProximity
                                    - geoNames
                                    - google
                                    - _id
                                isDefault:
                                  type: boolean
                                _id:
                                  type: string
                              required:
                                - address
                                - line_1
                                - line_2
                                - stateData
                                - countryData
                                - cityData
                                - area
                                - geoLocation
                                - isDefault
                                - _id
                        required:
                          - kyc
                          - suspended
                          - isActivated
                          - isPseudoAccount
                          - _id
                          - roles
                          - email
                          - username
                          - __v
                          - full_name
                          - last_access
                          - reg_date
                          - shopCount
                          - test_user
                          - telephone
                          - status
                          - addresses
                      __v:
                        type: integer
                      acceptanceToken:
                        type: 'null'
                      created_at:
                        type: string
                      email:
                        type: string
                      fullName:
                        type: string
                      isClaimed:
                        type: boolean
                      notes:
                        type: array
                      notifyViaWhatsApp:
                        type: boolean
                      numberOfOrders:
                        type: integer
                      orderTotal:
                        type: integer
                      password:
                        type: string
                      resetPassword:
                        type: boolean
                      roles:
                        type: array
                        items:
                          type: object
                          properties:
                            _id:
                              type: string
                            __v:
                              type: integer
                            isAdmin:
                              type: boolean
                            name:
                              type: string
                            isSuperAdmin:
                              type: boolean
                            key:
                              type: string
                            type:
                              type: string
                          required:
                            - _id
                            - __v
                            - isAdmin
                            - name
                            - isSuperAdmin
                            - key
                            - type
                      suspended:
                        type: boolean
                      suspendedRoles:
                        type: array
                      telephone:
                        type: string
                      updated_at:
                        type: string
                      whatsAppNumber:
                        type: string
                    required:
                      - campaigns
                      - _id
                      - shop
                      - user
                      - __v
                      - acceptanceToken
                      - created_at
                      - email
                      - fullName
                      - isClaimed
                      - notes
                      - notifyViaWhatsApp
                      - numberOfOrders
                      - orderTotal
                      - password
                      - resetPassword
                      - roles
                      - suspended
                      - suspendedRoles
                      - telephone
                      - updated_at
                      - whatsAppNumber
                  success:
                    type: boolean
                required:
                  - msg
                  - data
                  - success
          description: ''

````