> ## 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.

# Update user address



## OpenAPI

````yaml put /{userId}/address
openapi: 3.0.3
info:
  title: API V2
  version: 1.0.0
  contact: {}
servers:
  - url: http://staging.qshop.ng/apiv2
    description: Staging server
  - url: http://qshop.ng/api
    description: null
security: []
tags:
  - name: Analytics
  - name: Authentication
  - name: Storefront
  - name: Roles
  - name: Banks
  - name: Products
  - name: Shops
  - name: Roles1
  - name: Bank accounts
  - name: Users
  - name: Payment methods
  - name: Integrations
  - name: Subscriptions
  - name: Currency
  - name: Shipping zones
  - name: Shipping rates
  - name: Policies
  - name: Contact us
  - name: Locations
  - name: Reviews
  - name: Referral
  - name: Stripe
  - name: Campaigns
  - name: Credits
  - name: Product Tags
  - name: Product Attributes
  - name: Product Categories
  - name: Orders
  - name: Discount
  - name: Shipping
  - name: Redeem digital assets
  - name: Coupons
  - name: Currencies
  - name: Shop categories
  - name: Locations1
  - name: Features
  - name: Subscription plan
  - name: Recurring subscription plan
  - name: Shop payments
  - name: QDiscounts
  - name: Order status
  - name: Announcements
  - name: Wishlist
  - name: Transaction status
  - name: Templates
  - name: Config
  - name: Cart management
  - name: Users1
  - name: Profile
  - name: Domains
  - name: Transactions
  - name: Subscriptions1
  - name: Subscription statuses
  - name: Security
  - name: Payments
  - name: Payment methods1
  - name: Payment platforms
  - name: Public
  - name: social
  - name: Shipping1
  - name: Orders1
  - name: Integrations1
  - name: Webhook
  - name: ShopTags
  - name: Themes
paths:
  /{userId}/address:
    parameters:
      - name: userId
        in: path
        required: true
        schema:
          type: string
          example: 61a956551a113f7e13c45c10
    put:
      tags:
        - Users1
      summary: Update user address
      description: Update user address
      operationId: updateUserAddress
      requestBody:
        content:
          application/json:
            schema:
              type: object
              properties:
                _id:
                  type: string
                  example: 642ed02afa010a01bdab4866
                area:
                  nullable: true
                  example: null
                cityData:
                  type: string
                  example: 63517e7320d34bd904388d14
                countryData:
                  type: string
                  example: 628c8d3c21ce8313e6293c8e
                geoLocation:
                  type: object
                  properties:
                    _id:
                      type: string
                      example: 642ed02afa010a01bdab4867
                    addressProximity:
                      type: string
                      example: close
                    coordinates:
                      type: object
                      properties:
                        lat:
                          type: number
                          example: 6.820255299999999
                        lng:
                          type: number
                          example: 3.4486531
                    fullAddress:
                      type: string
                      example: Unity close, Off Redemption Way, 110113, Mowe, Nigeria
                    geoNames:
                      type: array
                      items:
                        type: object
                        properties:
                          adminCode1:
                            type: string
                            example: '00'
                          adminCodes1:
                            type: object
                            properties:
                              ISO3166_2:
                                type: string
                                example: OG
                          adminName1:
                            type: string
                            example: ''
                          countryCode:
                            type: string
                            example: NG
                          countryId:
                            type: string
                            example: '2328926'
                          countryName:
                            type: string
                            example: Nigeria
                          fcl:
                            type: string
                            example: L
                          fclName:
                            type: string
                            example: parks,area, ...
                          fcode:
                            type: string
                            example: AREA
                          fcodeName:
                            type: string
                            example: area
                          geonameId:
                            type: number
                            example: 6295630
                          lat:
                            type: string
                            example: '0'
                          lng:
                            type: string
                            example: '0'
                          name:
                            type: string
                            example: Earth
                          population:
                            type: number
                            example: 6814400000
                          toponymName:
                            type: string
                            example: Earth
                      example:
                        - adminName1: ''
                          fcl: L
                          fclName: parks,area, ...
                          fcode: AREA
                          fcodeName: area
                          geonameId: 6295630
                          lat: '0'
                          lng: '0'
                          name: Earth
                          population: 6814400000
                          toponymName: Earth
                        - adminName1: ''
                          fcl: L
                          fclName: parks,area, ...
                          fcode: CONT
                          fcodeName: continent
                          geonameId: 6255146
                          lat: '7.1881'
                          lng: '21.09375'
                          name: Africa
                          population: 1031833000
                          toponymName: Africa
                        - adminCode1: '00'
                          adminName1: ''
                          countryCode: NG
                          countryId: '2328926'
                          countryName: Nigeria
                          fcl: A
                          fclName: country, state, region,...
                          fcode: PCLI
                          fcodeName: independent political entity
                          geonameId: 2328926
                          lat: '10'
                          lng: '8'
                          name: Nigeria
                          population: 195874740
                          toponymName: Federal Republic of Nigeria
                        - adminCode1: '16'
                          adminCodes1:
                            ISO3166_2: OG
                          adminName1: Ogun
                          countryCode: NG
                          countryId: '2328926'
                          countryName: Nigeria
                          fcl: A
                          fclName: country, state, region,...
                          fcode: ADM1
                          fcodeName: first-order administrative division
                          geonameId: 2327546
                          lat: '7'
                          lng: '3.58333'
                          name: Ogun State
                          population: 4054272
                          toponymName: Ogun State
                        - adminCode1: '16'
                          adminCodes1:
                            ISO3166_2: OG
                          adminName1: Ogun
                          countryCode: NG
                          countryId: '2328926'
                          countryName: Nigeria
                          fcl: A
                          fclName: country, state, region,...
                          fcode: ADM2
                          fcodeName: second-order administrative division
                          geonameId: 7873905
                          lat: '6.96907'
                          lng: '3.48404'
                          name: Obafemi Owode
                          population: 0
                          toponymName: Obafemi Owode
                        - adminCode1: '16'
                          adminCodes1:
                            ISO3166_2: OG
                          adminName1: Ogun
                          countryCode: NG
                          countryId: '2328926'
                          countryName: Nigeria
                          fcl: P
                          fclName: city, village,...
                          fcode: PPL
                          fcodeName: populated place
                          geonameId: 2331967
                          lat: '6.82191'
                          lng: '3.45153'
                          name: Loburo
                          population: 0
                          toponymName: Loburo
                    google:
                      type: object
                      properties:
                        address_components:
                          type: array
                          items:
                            type: object
                            properties:
                              long_name:
                                type: string
                                example: 'Off'
                              short_name:
                                type: string
                                example: 'Off'
                              types:
                                type: array
                                items:
                                  type: string
                                  example: street_number
                                example:
                                  - street_number
                          example:
                            - long_name: 'Off'
                              short_name: 'Off'
                              types:
                                - street_number
                            - long_name: Redemption Way
                              short_name: Redemption Way
                              types:
                                - route
                            - long_name: Mowe
                              short_name: Mowe
                              types:
                                - locality
                                - political
                            - long_name: Obafemi Owode
                              short_name: Obafemi Owode
                              types:
                                - administrative_area_level_2
                                - political
                            - long_name: Ogun State
                              short_name: OG
                              types:
                                - administrative_area_level_1
                                - political
                            - long_name: Nigeria
                              short_name: NG
                              types:
                                - country
                                - political
                            - long_name: '110113'
                              short_name: '110113'
                              types:
                                - postal_code
                        adr_address:
                          type: string
                          example: >-
                            Unity close, <span class="street-address">Off
                            Redemption Way</span>, <span
                            class="postal-code">110113</span>, <span
                            class="locality">Mowe</span>, <span
                            class="country-name">Nigeria</span>
                        formatted_address:
                          type: string
                          example: >-
                            Unity close, Off Redemption Way, 110113, Mowe,
                            Nigeria
                        geometry:
                          type: object
                          properties:
                            location:
                              type: object
                              properties:
                                lat:
                                  type: number
                                  example: 6.820255299999999
                                lng:
                                  type: number
                                  example: 3.4486531
                            viewport:
                              type: object
                              properties:
                                east:
                                  type: number
                                  example: 3.449958680291502
                                north:
                                  type: number
                                  example: 6.821616580291503
                                south:
                                  type: number
                                  example: 6.818918619708499
                                west:
                                  type: number
                                  example: 3.447260719708498
                        html_attributions:
                          type: array
                          items: {}
                          example: []
                        name:
                          type: string
                          example: Loburo
                        types:
                          type: array
                          items:
                            type: string
                            example: school
                          example:
                            - school
                            - point_of_interest
                            - establishment
                        utc_offset:
                          type: number
                          example: 60
                        utc_offset_minutes:
                          type: number
                          example: 60
                    points:
                      type: object
                      properties:
                        _id:
                          type: string
                          example: 642ed02afa010a01bdab4868
                        coordinates:
                          type: array
                          items:
                            type: number
                            example: 3.4486531
                          example:
                            - 3.4486531
                            - 6.820255299999999
                        type:
                          type: string
                          example: Point
                    zipCode:
                      type: string
                      example: '110113'
                isDefault:
                  type: boolean
                  example: true
                name:
                  type: string
                  example: My home again 25
                stateData:
                  type: string
                  example: 62c80815c9d738e14b8988e6
            example:
              _id: 642ed02afa010a01bdab4866
              area: null
              cityData: 63517e7320d34bd904388d14
              countryData: 628c8d3c21ce8313e6293c8e
              geoLocation:
                _id: 642ed02afa010a01bdab4867
                addressProximity: close
                coordinates:
                  lat: 6.820255299999999
                  lng: 3.4486531
                fullAddress: Unity close, Off Redemption Way, 110113, Mowe, Nigeria
                geoNames:
                  - adminName1: ''
                    fcl: L
                    fclName: parks,area, ...
                    fcode: AREA
                    fcodeName: area
                    geonameId: 6295630
                    lat: '0'
                    lng: '0'
                    name: Earth
                    population: 6814400000
                    toponymName: Earth
                  - adminName1: ''
                    fcl: L
                    fclName: parks,area, ...
                    fcode: CONT
                    fcodeName: continent
                    geonameId: 6255146
                    lat: '7.1881'
                    lng: '21.09375'
                    name: Africa
                    population: 1031833000
                    toponymName: Africa
                  - adminCode1: '00'
                    adminName1: ''
                    countryCode: NG
                    countryId: '2328926'
                    countryName: Nigeria
                    fcl: A
                    fclName: country, state, region,...
                    fcode: PCLI
                    fcodeName: independent political entity
                    geonameId: 2328926
                    lat: '10'
                    lng: '8'
                    name: Nigeria
                    population: 195874740
                    toponymName: Federal Republic of Nigeria
                  - adminCode1: '16'
                    adminCodes1:
                      ISO3166_2: OG
                    adminName1: Ogun
                    countryCode: NG
                    countryId: '2328926'
                    countryName: Nigeria
                    fcl: A
                    fclName: country, state, region,...
                    fcode: ADM1
                    fcodeName: first-order administrative division
                    geonameId: 2327546
                    lat: '7'
                    lng: '3.58333'
                    name: Ogun State
                    population: 4054272
                    toponymName: Ogun State
                  - adminCode1: '16'
                    adminCodes1:
                      ISO3166_2: OG
                    adminName1: Ogun
                    countryCode: NG
                    countryId: '2328926'
                    countryName: Nigeria
                    fcl: A
                    fclName: country, state, region,...
                    fcode: ADM2
                    fcodeName: second-order administrative division
                    geonameId: 7873905
                    lat: '6.96907'
                    lng: '3.48404'
                    name: Obafemi Owode
                    population: 0
                    toponymName: Obafemi Owode
                  - adminCode1: '16'
                    adminCodes1:
                      ISO3166_2: OG
                    adminName1: Ogun
                    countryCode: NG
                    countryId: '2328926'
                    countryName: Nigeria
                    fcl: P
                    fclName: city, village,...
                    fcode: PPL
                    fcodeName: populated place
                    geonameId: 2331967
                    lat: '6.82191'
                    lng: '3.45153'
                    name: Loburo
                    population: 0
                    toponymName: Loburo
                google:
                  address_components:
                    - long_name: 'Off'
                      short_name: 'Off'
                      types:
                        - street_number
                    - long_name: Redemption Way
                      short_name: Redemption Way
                      types:
                        - route
                    - long_name: Mowe
                      short_name: Mowe
                      types:
                        - locality
                        - political
                    - long_name: Obafemi Owode
                      short_name: Obafemi Owode
                      types:
                        - administrative_area_level_2
                        - political
                    - long_name: Ogun State
                      short_name: OG
                      types:
                        - administrative_area_level_1
                        - political
                    - long_name: Nigeria
                      short_name: NG
                      types:
                        - country
                        - political
                    - long_name: '110113'
                      short_name: '110113'
                      types:
                        - postal_code
                  adr_address: >-
                    Unity close, <span class="street-address">Off Redemption
                    Way</span>, <span class="postal-code">110113</span>, <span
                    class="locality">Mowe</span>, <span
                    class="country-name">Nigeria</span>
                  formatted_address: Unity close, Off Redemption Way, 110113, Mowe, Nigeria
                  geometry:
                    location:
                      lat: 6.820255299999999
                      lng: 3.4486531
                    viewport:
                      east: 3.449958680291502
                      north: 6.821616580291503
                      south: 6.818918619708499
                      west: 3.447260719708498
                  html_attributions: []
                  name: Loburo
                  types:
                    - school
                    - point_of_interest
                    - establishment
                  utc_offset: 60
                  utc_offset_minutes: 60
                points:
                  _id: 642ed02afa010a01bdab4868
                  coordinates:
                    - 3.4486531
                    - 6.820255299999999
                  type: Point
                zipCode: '110113'
              isDefault: true
              name: My home again 25
              stateData: 62c80815c9d738e14b8988e6
      responses:
        '200':
          description: ''

````