> ## 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 Store Locations

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



## OpenAPI

````yaml get /shops/{shopId}/locations
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}/locations:
    get:
      tags:
        - Store Locations
      summary: Get Store Locations
      description: '**Host**: http://qshop.ng'
      parameters:
        - name: shopId
          in: path
          required: true
          schema:
            type: string
        - name: type
          in: query
          required: false
          schema:
            type: string
        - name: limit
          in: query
          required: false
          schema:
            type: string
      responses:
        '200':
          content:
            application/json:
              schema:
                type: object
                properties:
                  msg:
                    type: string
                  data:
                    anyOf:
                      - type: array
                        items:
                          type: object
                          properties:
                            _id:
                              type: string
                            shop:
                              type: string
                            created:
                              type: string
                            modified:
                              type: string
                            type:
                              type: string
                            hidden:
                              type: boolean
                            name:
                              type: string
                            description:
                              type: string
                            country:
                              type: object
                              properties:
                                _id:
                                  type: string
                                name:
                                  type: string
                                dialCode:
                                  type: string
                                code:
                                  type: string
                                __v:
                                  type: integer
                                geoId:
                                  type: string
                                hasPostCode:
                                  type: boolean
                                postalCodeFormat:
                                  type: string
                                currencyCode:
                                  type: string
                                east:
                                  type: number
                                north:
                                  type: number
                                south:
                                  type: number
                                west:
                                  type: number
                              required:
                                - _id
                                - name
                                - dialCode
                                - code
                                - __v
                                - geoId
                                - hasPostCode
                                - postalCodeFormat
                                - currencyCode
                                - east
                                - north
                                - south
                                - west
                            state:
                              type: object
                              properties:
                                _id:
                                  type: string
                                name:
                                  type: string
                                rate:
                                  type: integer
                                countryCode:
                                  type: string
                                code:
                                  type: string
                                countryGeoId:
                                  type: string
                                geoId:
                                  type: string
                                latitude:
                                  type: number
                                longitude:
                                  type: number
                                points:
                                  type: object
                                  properties:
                                    type:
                                      type: string
                                    coordinates:
                                      type: array
                                      items:
                                        type: number
                                    _id:
                                      type: string
                                  required:
                                    - type
                                    - coordinates
                                    - _id
                              required:
                                - _id
                                - name
                                - rate
                                - countryCode
                                - code
                                - countryGeoId
                                - geoId
                                - latitude
                                - longitude
                                - points
                            city:
                              type: object
                              properties:
                                _id:
                                  type: string
                                name:
                                  type: string
                                geoId:
                                  type: string
                                stateGeoId:
                                  type: string
                                countryCode:
                                  type: string
                                countryGeoId:
                                  type: string
                                longitude:
                                  type: number
                                latitude:
                                  type: number
                                points:
                                  type: object
                                  properties:
                                    type:
                                      type: string
                                    coordinates:
                                      type: array
                                      items:
                                        type: number
                                    _id:
                                      type: string
                                  required:
                                    - type
                                    - coordinates
                                    - _id
                                __v:
                                  type: integer
                              required:
                                - _id
                                - name
                                - geoId
                                - stateGeoId
                                - countryCode
                                - countryGeoId
                                - longitude
                                - latitude
                                - points
                                - __v
                            area:
                              type: string
                            address:
                              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
                            location:
                              type: object
                              properties:
                                type:
                                  type: string
                                coordinates:
                                  type: array
                                  items:
                                    type: number
                                _id:
                                  type: string
                              required:
                                - type
                                - coordinates
                                - _id
                            __v:
                              type: integer
                            defaultPickupcenter:
                              type: boolean
                          required:
                            - _id
                            - shop
                            - created
                            - modified
                            - type
                            - hidden
                            - name
                            - description
                            - country
                            - state
                            - city
                            - area
                            - address
                            - geoLocation
                            - location
                            - __v
                            - defaultPickupcenter
                      - type: object
                        properties:
                          data:
                            type: array
                            items:
                              type: object
                              properties:
                                _id:
                                  type: string
                                shop:
                                  type: string
                                created:
                                  type: string
                                modified:
                                  type: string
                                type:
                                  type: string
                                hidden:
                                  type: boolean
                                name:
                                  type: string
                                description:
                                  type: string
                                country:
                                  type: object
                                  properties:
                                    _id:
                                      type: string
                                    name:
                                      type: string
                                    dialCode:
                                      type: string
                                    code:
                                      type: string
                                    __v:
                                      type: integer
                                    geoId:
                                      type: string
                                    hasPostCode:
                                      type: boolean
                                    postalCodeFormat:
                                      type: string
                                    currencyCode:
                                      type: string
                                    east:
                                      type: number
                                    north:
                                      type: number
                                    south:
                                      type: number
                                    west:
                                      type: number
                                  required:
                                    - _id
                                    - name
                                    - dialCode
                                    - code
                                    - __v
                                    - geoId
                                    - hasPostCode
                                    - postalCodeFormat
                                    - currencyCode
                                    - east
                                    - north
                                    - south
                                    - west
                                state:
                                  type: object
                                  properties:
                                    _id:
                                      type: string
                                    name:
                                      type: string
                                    rate:
                                      type: integer
                                    countryCode:
                                      type: string
                                    code:
                                      type: string
                                    countryGeoId:
                                      type: string
                                    geoId:
                                      type: string
                                    latitude:
                                      type: number
                                    longitude:
                                      type: number
                                    points:
                                      type: object
                                      properties:
                                        type:
                                          type: string
                                        coordinates:
                                          type: array
                                          items:
                                            type: number
                                        _id:
                                          type: string
                                      required:
                                        - type
                                        - coordinates
                                        - _id
                                  required:
                                    - _id
                                    - name
                                    - rate
                                    - countryCode
                                    - code
                                    - countryGeoId
                                    - geoId
                                    - latitude
                                    - longitude
                                    - points
                                city:
                                  type: object
                                  properties:
                                    _id:
                                      type: string
                                    name:
                                      type: string
                                    geoId:
                                      type: string
                                    stateGeoId:
                                      type: string
                                    countryCode:
                                      type: string
                                    countryGeoId:
                                      type: string
                                    longitude:
                                      type: number
                                    latitude:
                                      type: number
                                    points:
                                      type: object
                                      properties:
                                        type:
                                          type: string
                                        coordinates:
                                          type: array
                                          items:
                                            type: number
                                        _id:
                                          type: string
                                      required:
                                        - type
                                        - coordinates
                                        - _id
                                    __v:
                                      type: integer
                                  required:
                                    - _id
                                    - name
                                    - geoId
                                    - stateGeoId
                                    - countryCode
                                    - countryGeoId
                                    - longitude
                                    - latitude
                                    - points
                                    - __v
                                area:
                                  type: string
                                address:
                                  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
                                location:
                                  type: object
                                  properties:
                                    type:
                                      type: string
                                    coordinates:
                                      type: array
                                      items:
                                        type: number
                                    _id:
                                      type: string
                                  required:
                                    - type
                                    - coordinates
                                    - _id
                                __v:
                                  type: integer
                                defaultPickupcenter:
                                  type: boolean
                              required:
                                - _id
                                - shop
                                - created
                                - modified
                                - type
                                - hidden
                                - name
                                - description
                                - country
                                - state
                                - city
                                - area
                                - address
                                - geoLocation
                                - location
                                - __v
                                - defaultPickupcenter
                          next:
                            type: 'null'
                          prev:
                            type: 'null'
                          noOfPages:
                            type: integer
                          currentPage:
                            type: integer
                          totalRecord:
                            type: integer
                        required:
                          - data
                          - next
                          - prev
                          - noOfPages
                          - currentPage
                          - totalRecord
                  success:
                    type: boolean
                required:
                  - msg
                  - data
                  - success
          description: ''

````