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

# Create admin order



## OpenAPI

````yaml post /{shopId}/orders/admin
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:
  /{shopId}/orders/admin:
    post:
      tags:
        - Orders
      summary: Create admin order
      description: Create admin order
      operationId: createAdminOrder
      requestBody:
        content:
          application/json:
            schema:
              type: object
              properties:
                customer:
                  type: string
                  example: 6273c2f8c4094d0dfe74ac78
                deliveryType:
                  type: string
                  example: delivery
                digital:
                  type: boolean
                  example: false
                discountAmount:
                  type: string
                  example: '100'
                isDraft:
                  type: boolean
                  example: true
                items:
                  type: array
                  items:
                    type: object
                    properties:
                      _id:
                        type: string
                        example: 62eaba0b33650510114a82f5
                      qty:
                        type: number
                        example: 1
                      variant:
                        type: object
                        properties:
                          _id:
                            type: string
                            example: 62eaba0b33650510114a82f3
                  example:
                    - _id: 62eaba0b33650510114a82f5
                      qty: 1
                      variant:
                        _id: 62eaba0b33650510114a82f3
                notes:
                  type: string
                  example: Quick delivery
                paymentMethod:
                  type: string
                  example: POS
                paymentState:
                  type: string
                  example: paid
                pickUpLocation:
                  type: string
                  example: 62d351a161c265a117704142
                regionName:
                  nullable: true
                  example: null
                sendNotification:
                  type: boolean
                  example: true
                shipping:
                  type: string
                  example: '1000'
                shippingDetails:
                  type: object
                  properties:
                    address:
                      type: string
                      example: 5 East park avenue
                    city:
                      type: string
                      example: Ikeja
                    cityId:
                      type: string
                      example: 62d46bb079344c34996b2c40
                    country:
                      type: string
                      example: Nigeria
                    countryId:
                      type: string
                      example: 628c8d3c21ce8313e6293c8e
                    geoLocation:
                      type: object
                      properties:
                        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
                        zipCode:
                          type: string
                          example: '110113'
                    region:
                      type: string
                      example: MAINLAND
                    regionId:
                      type: string
                      example: MA9032890
                    state:
                      type: string
                      example: Lagos
                    stateId:
                      type: string
                      example: 62c80815c9d738e14b8988e6
                    zipCode:
                      type: string
                      example: ''
                status:
                  type: string
                  example: processing
                whatsApp:
                  type: boolean
                  example: false
            example:
              customer: 6273c2f8c4094d0dfe74ac78
              deliveryType: delivery
              digital: false
              discountAmount: '100'
              isDraft: true
              items:
                - _id: 62eaba0b33650510114a82f5
                  qty: 1
                  variant:
                    _id: 62eaba0b33650510114a82f3
              notes: Quick delivery
              paymentMethod: POS
              paymentState: paid
              pickUpLocation: 62d351a161c265a117704142
              regionName: null
              sendNotification: true
              shipping: '1000'
              shippingDetails:
                address: 5 East park avenue
                city: Ikeja
                cityId: 62d46bb079344c34996b2c40
                country: Nigeria
                countryId: 628c8d3c21ce8313e6293c8e
                geoLocation:
                  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
                  zipCode: '110113'
                region: MAINLAND
                regionId: MA9032890
                state: Lagos
                stateId: 62c80815c9d738e14b8988e6
                zipCode: ''
              status: processing
              whatsApp: false
      responses:
        '200':
          description: ''

````