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

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



## OpenAPI

````yaml get /shops/{shopId}/orders/{orderId}
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}/orders/{orderId}:
    get:
      tags:
        - Orders
      summary: Get Order
      description: '**Host**: http://qshop.ng'
      parameters:
        - name: shopId
          in: path
          required: true
          schema:
            type: string
        - name: orderId
          in: path
          required: true
          schema:
            type: string
      responses:
        '200':
          content:
            application/json:
              schema:
                type: object
                properties:
                  msg:
                    type: string
                  data:
                    type: object
                    properties:
                      paymentRef:
                        type: object
                        properties:
                          type:
                            type: string
                          transactionId:
                            type: 'null'
                          initiatedWithCustomKeys:
                            type: boolean
                        required:
                          - type
                          - transactionId
                          - initiatedWithCustomKeys
                      purchaseCurrency:
                        type: object
                        properties:
                          snapshot:
                            type: object
                            properties:
                              baseRate:
                                type: integer
                              currencyRate:
                                type: integer
                              isBaseCurrency:
                                type: boolean
                              isStoreFrontDefault:
                                type: boolean
                            required:
                              - baseRate
                              - currencyRate
                              - isBaseCurrency
                              - isStoreFrontDefault
                          currency:
                            type: object
                            properties:
                              _id:
                                type: string
                              code:
                                type: string
                              symbol:
                                type: string
                              nationality:
                                type: string
                              exchangeRate:
                                type: integer
                              __v:
                                type: integer
                              minimumProcessingAmount:
                                type: integer
                              country:
                                type: string
                              name:
                                type: string
                            required:
                              - _id
                              - code
                              - symbol
                              - nationality
                              - exchangeRate
                              - __v
                              - minimumProcessingAmount
                              - country
                              - name
                          amount:
                            type: number
                          shipping:
                            type: number
                          shippingMarkupAmount:
                            type: integer
                        required:
                          - snapshot
                          - currency
                          - amount
                          - shipping
                          - shippingMarkupAmount
                      logistics:
                        type: object
                        properties:
                          trackingId:
                            type: 'null'
                          trackingUrl:
                            type: 'null'
                          waybill:
                            type: 'null'
                          type:
                            type: string
                          rateSnapshot:
                            type: object
                            properties:
                              id:
                                type: string
                              _id:
                                type: string
                              name:
                                type: string
                              media:
                                type: string
                              rateType:
                                type: string
                              amount:
                                type: number
                              serviceType:
                                type: string
                              currency:
                                type: string
                              estimatedDeliveryETA:
                                type: string
                              estimatedPickupETA:
                                type: string
                              estimatedDeliveryETADateTime:
                                type: string
                              estimatedPickupETADateTime:
                                type: string
                              description:
                                type: string
                              courier:
                                type: string
                              provider:
                                type: string
                              type:
                                type: string
                              platform:
                                type: string
                              ratings:
                                type: number
                              meta:
                                type: object
                                properties:
                                  courier_id:
                                    type: string
                                  courier_name:
                                    type: string
                                  courier_image:
                                    type: string
                                  service_code:
                                    type: string
                                  insurance:
                                    type: object
                                    properties:
                                      code:
                                        type: string
                                      fee:
                                        type: integer
                                    required:
                                      - code
                                      - fee
                                  discount:
                                    type: object
                                    properties:
                                      percentage:
                                        type: integer
                                      symbol:
                                        type: string
                                      discounted:
                                        type: integer
                                    required:
                                      - percentage
                                      - symbol
                                      - discounted
                                  service_type:
                                    type: string
                                  waybill:
                                    type: boolean
                                  is_cod_available:
                                    type: boolean
                                  tracking_level:
                                    type: integer
                                  ratings:
                                    type: number
                                  votes:
                                    type: integer
                                  connected_account:
                                    type: boolean
                                  rate_card_amount:
                                    type: number
                                  pickup_eta:
                                    type: string
                                  pickup_eta_time:
                                    type: string
                                  dropoff_station:
                                    type: 'null'
                                  pickup_station:
                                    type: 'null'
                                  delivery_eta:
                                    type: string
                                  delivery_eta_time:
                                    type: string
                                  info:
                                    type: array
                                    items:
                                      type: string
                                  currency:
                                    type: string
                                  vat:
                                    type: integer
                                  total:
                                    type: number
                                  tracking:
                                    type: object
                                    properties:
                                      bars:
                                        type: integer
                                      label:
                                        type: string
                                    required:
                                      - bars
                                      - label
                                  token:
                                    type: string
                                required:
                                  - courier_id
                                  - courier_name
                                  - courier_image
                                  - service_code
                                  - insurance
                                  - discount
                                  - service_type
                                  - waybill
                                  - is_cod_available
                                  - tracking_level
                                  - ratings
                                  - votes
                                  - connected_account
                                  - rate_card_amount
                                  - pickup_eta
                                  - pickup_eta_time
                                  - dropoff_station
                                  - pickup_station
                                  - delivery_eta
                                  - delivery_eta_time
                                  - info
                                  - currency
                                  - vat
                                  - total
                                  - tracking
                                  - token
                              preferenceStatus:
                                type: string
                              actualAmount:
                                type: number
                              markup:
                                type: integer
                              markupMeta:
                                type: 'null'
                            required:
                              - id
                              - _id
                              - name
                              - media
                              - rateType
                              - amount
                              - serviceType
                              - currency
                              - estimatedDeliveryETA
                              - estimatedPickupETA
                              - estimatedDeliveryETADateTime
                              - estimatedPickupETADateTime
                              - description
                              - courier
                              - provider
                              - type
                              - platform
                              - ratings
                              - meta
                              - preferenceStatus
                              - actualAmount
                              - markup
                              - markupMeta
                          courier:
                            type: object
                            properties:
                              parcelConfig:
                                type: object
                                properties:
                                  unit:
                                    type: object
                                    properties:
                                      dimension:
                                        type: string
                                      weight:
                                        type: string
                                    required:
                                      - dimension
                                      - weight
                                required:
                                  - unit
                              _id:
                                type: string
                              name:
                                type: string
                              key:
                                type: string
                              isDefault:
                                type: boolean
                              type:
                                type: string
                              defaultCourier:
                                type: 'null'
                              media:
                                type: string
                              mediaType:
                                type: string
                              international:
                                type: boolean
                              supportedCountries:
                                type: array
                                items:
                                  type: string
                              isDisabled:
                                type: boolean
                              supportedAggregators:
                                type: array
                                items:
                                  type: string
                              initialMedia:
                                type: string
                              parcelCategories:
                                type: array
                            required:
                              - parcelConfig
                              - _id
                              - name
                              - key
                              - isDefault
                              - type
                              - defaultCourier
                              - media
                              - mediaType
                              - international
                              - supportedCountries
                              - isDisabled
                              - supportedAggregators
                              - initialMedia
                              - parcelCategories
                          platform:
                            type: string
                          serviceType:
                            type: string
                          history:
                            type: array
                          paidWith:
                            type: string
                        required:
                          - trackingId
                          - trackingUrl
                          - waybill
                          - type
                          - rateSnapshot
                          - courier
                          - platform
                          - serviceType
                          - history
                          - paidWith
                      _id:
                        type: string
                      orderNo:
                        type: string
                      __v:
                        type: integer
                      amountSaved:
                        type: integer
                      created:
                        type: string
                      customer:
                        type: object
                        properties:
                          _id:
                            type: string
                          shop:
                            type: string
                          full_name:
                            type: string
                          telephone:
                            type: string
                          intlTel:
                            type: string
                          whatsApp:
                            type: string
                          address:
                            type: array
                            items:
                              type: object
                              properties:
                                line_1:
                                  type: string
                                line_2:
                                  type: string
                                state:
                                  type: string
                                city:
                                  type: string
                                country:
                                  type: string
                                zip_code:
                                  type: string
                                state_id:
                                  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
                                shipping_state:
                                  type: string
                                countryData:
                                  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
                                cityData:
                                  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
                                stateData:
                                  type: object
                                  properties:
                                    _id:
                                      type: string
                                    name:
                                      type: string
                                    geoId:
                                      type: string
                                    countryCode:
                                      type: string
                                    countryGeoId:
                                      type: string
                                    code:
                                      type: string
                                    longitude:
                                      type: integer
                                    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
                                    - countryCode
                                    - countryGeoId
                                    - code
                                    - longitude
                                    - latitude
                                    - points
                                    - __v
                                description:
                                  type: string
                                _id:
                                  type: string
                              required:
                                - line_1
                                - line_2
                                - state
                                - city
                                - country
                                - zip_code
                                - state_id
                                - geoLocation
                                - shipping_state
                                - countryData
                                - cityData
                                - stateData
                                - description
                                - _id
                          email:
                            type: string
                          __v:
                            type: integer
                        required:
                          - _id
                          - shop
                          - full_name
                          - telephone
                          - intlTel
                          - whatsApp
                          - address
                          - email
                          - __v
                      customerOrderCountUpdated:
                        type: boolean
                      digital:
                        type: boolean
                      discountAmount:
                        type: integer
                      discountsApplied:
                        type: array
                      email:
                        type: string
                      intlTel:
                        type: string
                      isComplete:
                        type: boolean
                      isDraft:
                        type: boolean
                      modified:
                        type: string
                      notes:
                        type: string
                      paymentError:
                        type: array
                      paymentState:
                        type: string
                      paymentType:
                        type: object
                        properties:
                          supportedCurrencies:
                            type: array
                          supportedCountries:
                            type: array
                          isStandAlone:
                            type: boolean
                          _id:
                            type: string
                          key:
                            type: string
                          __v:
                            type: integer
                          canUseCustomKeys:
                            type: boolean
                          description:
                            type: string
                          disabled:
                            type: boolean
                          imageId:
                            type: string
                          imageUrl:
                            type: string
                          meta:
                            type: object
                            properties:
                              requiresBankAccount:
                                type: boolean
                              supportsRecurringPayment:
                                type: boolean
                            required:
                              - requiresBankAccount
                              - supportsRecurringPayment
                          name:
                            type: string
                          plans:
                            type: array
                            items:
                              type: string
                          requiresKYC:
                            type: boolean
                          standAlone:
                            type: boolean
                          summary:
                            type: array
                            items:
                              type: object
                              properties:
                                _id:
                                  type: string
                                title:
                                  type: string
                                description:
                                  type: string
                              required:
                                - _id
                                - title
                                - description
                          type:
                            type: string
                        required:
                          - supportedCurrencies
                          - supportedCountries
                          - isStandAlone
                          - _id
                          - key
                          - __v
                          - canUseCustomKeys
                          - description
                          - disabled
                          - imageId
                          - imageUrl
                          - meta
                          - name
                          - plans
                          - requiresKYC
                          - standAlone
                          - summary
                          - type
                      payments:
                        type: array
                      products:
                        type: array
                        items:
                          type: object
                          properties:
                            _id:
                              type: string
                            tags:
                              type: array
                              items:
                                type: object
                                properties:
                                  _id:
                                    type: string
                                  name:
                                    type: string
                                  tempId:
                                    type: string
                                  shop:
                                    type: string
                                  __v:
                                    type: integer
                                  slug:
                                    type: string
                                  productCount:
                                    type: integer
                                  imageUrl:
                                    type: string
                                required:
                                  - _id
                                  - name
                                  - tempId
                                  - shop
                                  - __v
                                  - slug
                                  - productCount
                                  - imageUrl
                            stock:
                              type: integer
                            digital:
                              type: boolean
                            media:
                              type: string
                            media_type:
                              type: string
                            name:
                              type: string
                            price:
                              type: integer
                            shop:
                              type: string
                            sale_price:
                              type: integer
                            __v:
                              type: integer
                            draft:
                              type: boolean
                            alwaysInStock:
                              type: boolean
                            costPrice:
                              type: integer
                            sku:
                              type: string
                            type:
                              type: string
                            slug:
                              type: string
                            dimension:
                              type: object
                              properties:
                                unit:
                                  type: string
                                length:
                                  type: integer
                                width:
                                  type: integer
                                height:
                                  type: integer
                              required:
                                - unit
                                - length
                                - width
                                - height
                            weight:
                              type: object
                              properties:
                                base:
                                  type: object
                                  properties:
                                    unit:
                                      type: string
                                    value:
                                      type: integer
                                  required:
                                    - unit
                                    - value
                                unit:
                                  type: string
                                value:
                                  type: integer
                              required:
                                - base
                                - unit
                                - value
                            variantsInheritPrice:
                              type: boolean
                            setAttributesForVariants:
                              type: boolean
                            qty:
                              type: integer
                            variant:
                              type: object
                              properties:
                                _id:
                                  type: string
                                price:
                                  type: integer
                                sale_price:
                                  type: integer
                                costPrice:
                                  type: integer
                                stock:
                                  type: integer
                                alwaysInStock:
                                  type: boolean
                                isActive:
                                  type: boolean
                                sku:
                                  type: string
                                weight:
                                  type: object
                                  properties:
                                    base:
                                      type: object
                                      properties:
                                        unit:
                                          type: string
                                        value:
                                          type: integer
                                      required:
                                        - unit
                                        - value
                                    unit:
                                      type: string
                                    value:
                                      type: integer
                                  required:
                                    - base
                                    - unit
                                    - value
                                media:
                                  type: string
                                digital_download:
                                  type: object
                                  properties:
                                    name:
                                      type: string
                                    url:
                                      type: string
                                    uuid:
                                      type: string
                                    size:
                                      type: 'null'
                                    maxDownloadsPerOrder:
                                      type: 'null'
                                  required:
                                    - name
                                    - url
                                    - uuid
                                    - size
                                    - maxDownloadsPerOrder
                                media_type:
                                  type: string
                                dimension:
                                  type: object
                                  properties:
                                    unit:
                                      type: string
                                    length:
                                      type: integer
                                    width:
                                      type: integer
                                    height:
                                      type: integer
                                  required:
                                    - unit
                                    - length
                                    - width
                                    - height
                                options:
                                  type: array
                                  items:
                                    type: object
                                    properties:
                                      label:
                                        type: string
                                      name:
                                        type: string
                                      id:
                                        type: string
                                    required:
                                      - label
                                      - name
                                      - id
                              required:
                                - _id
                                - price
                                - sale_price
                                - costPrice
                                - stock
                                - alwaysInStock
                                - isActive
                                - sku
                                - weight
                                - media
                                - digital_download
                                - media_type
                                - dimension
                                - options
                            originalPrice:
                              type: integer
                            finalPrice:
                              type: integer
                            subTotal:
                              type: integer
                            cartItemId:
                              type: string
                          required:
                            - _id
                            - tags
                            - stock
                            - digital
                            - media
                            - media_type
                            - name
                            - price
                            - shop
                            - sale_price
                            - __v
                            - draft
                            - alwaysInStock
                            - costPrice
                            - sku
                            - type
                            - slug
                            - dimension
                            - weight
                            - variantsInheritPrice
                            - setAttributesForVariants
                            - qty
                            - variant
                            - originalPrice
                            - finalPrice
                            - subTotal
                            - cartItemId
                      shipping:
                        type: number
                      shippingMarkupAmount:
                        type: integer
                      shop:
                        type: string
                      source:
                        type: string
                      status:
                        type: object
                        properties:
                          _id:
                            type: string
                          key:
                            type: string
                          name:
                            type: string
                          notes:
                            type: string
                          isSystemStatus:
                            type: boolean
                          stage:
                            type: string
                          orderStatusActionOnUpdate:
                            type: integer
                        required:
                          - _id
                          - key
                          - name
                          - notes
                          - isSystemStatus
                          - stage
                          - orderStatusActionOnUpdate
                      subTotal:
                        type: integer
                      telephone:
                        type: string
                      total:
                        type: number
                      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
                          reset_pass:
                            type: boolean
                          profiles:
                            type: array
                          social:
                            type: array
                            items:
                              type: object
                              properties:
                                _id:
                                  type: string
                                provider:
                                  type: string
                                email:
                                  type: string
                                id:
                                  type: string
                              required:
                                - _id
                                - provider
                                - email
                                - id
                          email:
                            type: string
                          username:
                            type: string
                          access_code:
                            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
                          - reset_pass
                          - profiles
                          - social
                          - email
                          - username
                          - access_code
                          - __v
                          - full_name
                          - last_access
                          - reg_date
                          - shopCount
                          - test_user
                          - telephone
                          - status
                          - addresses
                      whatsApp:
                        type: boolean
                      paymentInfo:
                        type: object
                        properties:
                          bankAccounts:
                            type: array
                            items:
                              type: object
                              properties:
                                accountName:
                                  type: string
                                accountNumber:
                                  type: string
                                bankName:
                                  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
                              required:
                                - accountName
                                - accountNumber
                                - bankName
                                - country
                          description:
                            type: string
                          action:
                            type: string
                          type:
                            type: string
                          canConfirmPayment:
                            type: boolean
                          shippingPaidWith:
                            type: string
                          created:
                            type: string
                          _total:
                            type: number
                        required:
                          - bankAccounts
                          - description
                          - action
                          - type
                          - canConfirmPayment
                          - shippingPaidWith
                          - created
                          - _total
                    required:
                      - paymentRef
                      - purchaseCurrency
                      - logistics
                      - _id
                      - orderNo
                      - __v
                      - amountSaved
                      - created
                      - customer
                      - customerOrderCountUpdated
                      - digital
                      - discountAmount
                      - discountsApplied
                      - email
                      - intlTel
                      - isComplete
                      - isDraft
                      - modified
                      - notes
                      - paymentError
                      - paymentState
                      - paymentType
                      - payments
                      - products
                      - shipping
                      - shippingMarkupAmount
                      - shop
                      - source
                      - status
                      - subTotal
                      - telephone
                      - total
                      - user
                      - whatsApp
                      - paymentInfo
                  success:
                    type: boolean
                required:
                  - msg
                  - data
                  - success
          description: ''

````