openapi: 3.0.3
info:
  title: ClientsApi
  description: ''
  version: 1.0.0
servers:
  -
    url: clients-api.dots.live
paths:
  '/api/v2/users/{user}':
    delete:
      summary: ''
      description: ''
      parameters:
        -
          in: query
          name: v
          description: 'Api Version'
          example: 2.0.0
          required: true
          schema:
            type: string
            description: 'Api Version'
            example: 2.0.0
        -
          in: header
          name: Api-Token
          description: ''
          example: '{{YOUR_API_TOKEN}}'
          schema:
            type: string
        -
          in: header
          name: Api-Account-Token
          description: ''
          example: '{{YOUR_ACCOUNT_TOKEN}}'
          schema:
            type: string
        -
          in: header
          name: Content-Type
          description: ''
          example: application/json
          schema:
            type: string
        -
          in: header
          name: Accept
          description: ''
          example: application/json
          schema:
            type: string
      responses: {  }
      tags:
        - Endpoints
      security: []
    parameters:
      -
        in: path
        name: user
        description: ''
        example: earum
        required: true
        schema:
          type: string
  '/api/v2/orders/{order}/siri/validate':
    post:
      summary: ''
      description: ''
      parameters:
        -
          in: query
          name: v
          description: 'Api Version'
          example: 2.0.0
          required: true
          schema:
            type: string
            description: 'Api Version'
            example: 2.0.0
        -
          in: header
          name: Api-Token
          description: ''
          example: '{{YOUR_API_TOKEN}}'
          schema:
            type: string
        -
          in: header
          name: Api-Account-Token
          description: ''
          example: '{{YOUR_ACCOUNT_TOKEN}}'
          schema:
            type: string
        -
          in: header
          name: Content-Type
          description: ''
          example: application/json
          schema:
            type: string
        -
          in: header
          name: Accept
          description: ''
          example: application/json
          schema:
            type: string
      responses: {  }
      tags:
        - Endpoints
      security: []
    parameters:
      -
        in: path
        name: order
        description: ''
        example: ACfBeecC-Aaac-EDCb-edBf-EadbdCADfAFb
        required: true
        schema:
          type: string
  '/api/v2/orders/{order}/siri/reorder':
    post:
      summary: ''
      description: ''
      parameters:
        -
          in: query
          name: v
          description: 'Api Version'
          example: 2.0.0
          required: true
          schema:
            type: string
            description: 'Api Version'
            example: 2.0.0
        -
          in: header
          name: Api-Token
          description: ''
          example: '{{YOUR_API_TOKEN}}'
          schema:
            type: string
        -
          in: header
          name: Api-Account-Token
          description: ''
          example: '{{YOUR_ACCOUNT_TOKEN}}'
          schema:
            type: string
        -
          in: header
          name: Content-Type
          description: ''
          example: application/json
          schema:
            type: string
        -
          in: header
          name: Accept
          description: ''
          example: application/json
          schema:
            type: string
      responses: {  }
      tags:
        - Endpoints
      security: []
    parameters:
      -
        in: path
        name: order
        description: ''
        example: fAFeCDde-Bffd-eBDC-aBcD-aaBCDbBBeedA
        required: true
        schema:
          type: string
  '/api/v2/accounts/{account}/start-screen/reverse-geocode':
    get:
      summary: "Reverse Geocode Data\nReturns reverse geocoded data by longitude and latitude."
      description: ''
      parameters:
        -
          in: query
          name: latitude
          description: ''
          example: 14.0
          required: true
          schema:
            type: number
            description: ''
            example: 14.0
        -
          in: query
          name: longitude
          description: ''
          example: 40556.0
          required: true
          schema:
            type: number
            description: ''
            example: 40556.0
        -
          in: query
          name: v
          description: 'Api Version'
          example: 2.0.0
          required: true
          schema:
            type: string
            description: 'Api Version'
            example: 2.0.0
        -
          in: header
          name: Api-Token
          description: ''
          example: '{{YOUR_API_TOKEN}}'
          schema:
            type: string
        -
          in: header
          name: Api-Account-Token
          description: ''
          example: '{{YOUR_ACCOUNT_TOKEN}}'
          schema:
            type: string
        -
          in: header
          name: Content-Type
          description: ''
          example: application/json
          schema:
            type: string
        -
          in: header
          name: Accept
          description: ''
          example: application/json
          schema:
            type: string
      responses:
        200:
          description: ''
          content:
            application/json:
              schema:
                type: object
                example:
                  cityId: null
                  cityMonoCompanyId: null
                  isCitySupported: false
                  isInDeliveryZone: false
                  geocodedAddress: null
                properties:
                  cityId:
                    type: string
                    example: null
                  cityMonoCompanyId:
                    type: string
                    example: null
                  isCitySupported:
                    type: boolean
                    example: false
                  isInDeliveryZone:
                    type: boolean
                    example: false
                  geocodedAddress:
                    type: string
                    example: null
      tags:
        - Geo
      security: []
    parameters:
      -
        in: path
        name: account
        description: ''
        example: deleniti
        required: true
        schema:
          type: string
  '/api/v2/accounts/{account}/geo/geocode':
    get:
      summary: "Geocode Data\nReturns geocoded data by address."
      description: ''
      parameters:
        -
          in: query
          name: address
          description: ''
          example: assumenda
          required: true
          schema:
            type: string
            description: ''
            example: assumenda
        -
          in: query
          name: v
          description: 'Api Version'
          example: 2.0.0
          required: true
          schema:
            type: string
            description: 'Api Version'
            example: 2.0.0
        -
          in: header
          name: Api-Token
          description: ''
          example: '{{YOUR_API_TOKEN}}'
          schema:
            type: string
        -
          in: header
          name: Api-Account-Token
          description: ''
          example: '{{YOUR_ACCOUNT_TOKEN}}'
          schema:
            type: string
        -
          in: header
          name: Content-Type
          description: ''
          example: application/json
          schema:
            type: string
        -
          in: header
          name: Accept
          description: ''
          example: application/json
          schema:
            type: string
      responses:
        422:
          description: ''
          content:
            application/json:
              schema:
                type: object
                example:
                  message: 'The city field is required.'
                  errors:
                    city:
                      - 'The city field is required.'
                properties:
                  message:
                    type: string
                    example: 'The city field is required.'
                  errors:
                    type: object
                    example:
                      city:
                        - 'The city field is required.'
      tags:
        - Geo
      security: []
    parameters:
      -
        in: path
        name: account
        description: ''
        example: ipsa
        required: true
        schema:
          type: string
  '/api/v2/accounts/{account}/geo/reverse-geocode':
    get:
      summary: "Reverse Geocode Data\nReturns reverse geocoded data by longitude and latitude."
      description: ''
      parameters:
        -
          in: query
          name: latitude
          description: ''
          example: 50787.697898
          required: true
          schema:
            type: number
            description: ''
            example: 50787.697898
        -
          in: query
          name: longitude
          description: ''
          example: 62055920.756574
          required: true
          schema:
            type: number
            description: ''
            example: 62055920.756574
        -
          in: query
          name: v
          description: 'Api Version'
          example: 2.0.0
          required: true
          schema:
            type: string
            description: 'Api Version'
            example: 2.0.0
        -
          in: header
          name: Api-Token
          description: ''
          example: '{{YOUR_API_TOKEN}}'
          schema:
            type: string
        -
          in: header
          name: Api-Account-Token
          description: ''
          example: '{{YOUR_ACCOUNT_TOKEN}}'
          schema:
            type: string
        -
          in: header
          name: Content-Type
          description: ''
          example: application/json
          schema:
            type: string
        -
          in: header
          name: Accept
          description: ''
          example: application/json
          schema:
            type: string
      responses:
        200:
          description: ''
          content:
            application/json:
              schema:
                type: object
                example:
                  cityId: null
                  cityMonoCompanyId: null
                  isCitySupported: false
                  isInDeliveryZone: false
                  geocodedAddress: null
                properties:
                  cityId:
                    type: string
                    example: null
                  cityMonoCompanyId:
                    type: string
                    example: null
                  isCitySupported:
                    type: boolean
                    example: false
                  isInDeliveryZone:
                    type: boolean
                    example: false
                  geocodedAddress:
                    type: string
                    example: null
      tags:
        - Geo
      security: []
    parameters:
      -
        in: path
        name: account
        description: ''
        example: illo
        required: true
        schema:
          type: string
  /api/v2/accounts/settings-by-domain:
    get:
      summary: 'Account Settings By Domain Information.'
      description: 'These settings bit differ from account settings. Used for Web.'
      parameters:
        -
          in: query
          name: domain
          description: 'Account Domain.'
          example: jacksburgersbar.com
          required: true
          schema:
            type: string
            description: 'Account Domain.'
            example: jacksburgersbar.com
        -
          in: query
          name: v
          description: 'Api Version'
          example: 2.0.0
          required: true
          schema:
            type: string
            description: 'Api Version'
            example: 2.0.0
        -
          in: header
          name: Api-Token
          description: ''
          example: '{{YOUR_API_TOKEN}}'
          schema:
            type: string
        -
          in: header
          name: Api-Account-Token
          description: ''
          example: '{{YOUR_ACCOUNT_TOKEN}}'
          schema:
            type: string
        -
          in: header
          name: Content-Type
          description: ''
          example: application/json
          schema:
            type: string
        -
          in: header
          name: Accept
          description: ''
          example: application/json
          schema:
            type: string
      responses:
        200:
          description: 'Success Example'
          content:
            application/json:
              schema:
                type: object
                example:
                  phoneMask: '+38 (###) ###-##-##'
                  phoneDigitsCount: 12
                  isCashbackAvailable: true
                  isCompaniesZoningActive: true
                  minCashbackChargeAmount: 50
                  monoCityId: null
                  gdpr:
                    cookiesMessagesMode: 0
                    privacyDataUsageMode: 2
                  appearances:
                    isShadowEnabled: true
                    colors:
                      primaryColor: '#47C128'
                      accentColor: '#FA9A10'
                      elementTextColor: '#FFFFFF'
                      lightTheme:
                        backgroundColor: '#F7F7F7'
                        blockColor: '#FFFFFF'
                        primaryTextColor: '#000000'
                      darkTheme:
                        backgroundColor: '#010101'
                        blockColor: '#262626'
                        primaryTextColor: '#FFFFFF'
                  rulesUrlsByLangs:
                    ru: 'https://docs.google.com/document/d/123A7Nn3mzd3A5h8OU8Xhy4o09w-W_6CkfGl3Vjdc630/edit'
                    en: 'https://docs.google.com/document/d/123A7Nn3mzd3A5h8OU8Xhy4o09w-W_6CkfGl3Vjdc630/edit'
                properties:
                  phoneMask:
                    type: string
                    example: '+38 (###) ###-##-##'
                  phoneDigitsCount:
                    type: integer
                    example: 12
                  isCashbackAvailable:
                    type: boolean
                    example: true
                  isCompaniesZoningActive:
                    type: boolean
                    example: true
                  minCashbackChargeAmount:
                    type: integer
                    example: 50
                  monoCityId:
                    type: string
                    example: null
                  gdpr:
                    type: object
                    example:
                      cookiesMessagesMode: 0
                      privacyDataUsageMode: 2
                  appearances:
                    type: object
                    example:
                      isShadowEnabled: true
                      colors:
                        primaryColor: '#47C128'
                        accentColor: '#FA9A10'
                        elementTextColor: '#FFFFFF'
                        lightTheme:
                          backgroundColor: '#F7F7F7'
                          blockColor: '#FFFFFF'
                          primaryTextColor: '#000000'
                        darkTheme:
                          backgroundColor: '#010101'
                          blockColor: '#262626'
                          primaryTextColor: '#FFFFFF'
                  rulesUrlsByLangs:
                    type: object
                    example:
                      ru: 'https://docs.google.com/document/d/123A7Nn3mzd3A5h8OU8Xhy4o09w-W_6CkfGl3Vjdc630/edit'
                      en: 'https://docs.google.com/document/d/123A7Nn3mzd3A5h8OU8Xhy4o09w-W_6CkfGl3Vjdc630/edit'
      tags:
        - Accounts
      security: []
  '/api/v2/accounts/{account}/settings':
    get:
      summary: 'Account Settings.'
      description: ''
      parameters:
        -
          in: query
          name: v
          description: 'Api Version'
          example: 2.0.0
          required: true
          schema:
            type: string
            description: 'Api Version'
            example: 2.0.0
        -
          in: header
          name: Api-Token
          description: ''
          example: '{{YOUR_API_TOKEN}}'
          schema:
            type: string
        -
          in: header
          name: Api-Account-Token
          description: ''
          example: '{{YOUR_ACCOUNT_TOKEN}}'
          schema:
            type: string
        -
          in: header
          name: Content-Type
          description: ''
          example: application/json
          schema:
            type: string
        -
          in: header
          name: Accept
          description: ''
          example: application/json
          schema:
            type: string
      responses:
        200:
          description: 'Success Example'
          content:
            application/json:
              schema:
                type: object
                example:
                  phoneMask: '+38 (###) ###-##-##'
                  phoneDigitsCount: 12
                  isCashbackAvailable: true
                  isCompaniesZoningActive: true
                  minCashbackChargeAmount: 50
                  monoCityId: null
                  gdpr:
                    cookiesMessagesMode: 0
                    privacyDataUsageMode: 2
                  appearances:
                    isShadowEnabled: true
                    colors:
                      primaryColor: '#47C128'
                      accentColor: '#FA9A10'
                      elementTextColor: '#FFFFFF'
                      lightTheme:
                        backgroundColor: '#F7F7F7'
                        blockColor: '#FFFFFF'
                        primaryTextColor: '#000000'
                      darkTheme:
                        backgroundColor: '#010101'
                        blockColor: '#262626'
                        primaryTextColor: '#FFFFFF'
                  rulesUrlsByLangs:
                    ru: 'https://docs.google.com/document/d/123A7Nn3mzd3A5h8OU8Xhy4o09w-W_6CkfGl3Vjdc630/edit'
                    en: 'https://docs.google.com/document/d/123A7Nn3mzd3A5h8OU8Xhy4o09w-W_6CkfGl3Vjdc630/edit'
                properties:
                  phoneMask:
                    type: string
                    example: '+38 (###) ###-##-##'
                  phoneDigitsCount:
                    type: integer
                    example: 12
                  isCashbackAvailable:
                    type: boolean
                    example: true
                  isCompaniesZoningActive:
                    type: boolean
                    example: true
                  minCashbackChargeAmount:
                    type: integer
                    example: 50
                  monoCityId:
                    type: string
                    example: null
                  gdpr:
                    type: object
                    example:
                      cookiesMessagesMode: 0
                      privacyDataUsageMode: 2
                  appearances:
                    type: object
                    example:
                      isShadowEnabled: true
                      colors:
                        primaryColor: '#47C128'
                        accentColor: '#FA9A10'
                        elementTextColor: '#FFFFFF'
                        lightTheme:
                          backgroundColor: '#F7F7F7'
                          blockColor: '#FFFFFF'
                          primaryTextColor: '#000000'
                        darkTheme:
                          backgroundColor: '#010101'
                          blockColor: '#262626'
                          primaryTextColor: '#FFFFFF'
                  rulesUrlsByLangs:
                    type: object
                    example:
                      ru: 'https://docs.google.com/document/d/123A7Nn3mzd3A5h8OU8Xhy4o09w-W_6CkfGl3Vjdc630/edit'
                      en: 'https://docs.google.com/document/d/123A7Nn3mzd3A5h8OU8Xhy4o09w-W_6CkfGl3Vjdc630/edit'
      tags:
        - Accounts
      security: []
    parameters:
      -
        in: path
        name: account
        description: ''
        example: sed
        required: true
        schema:
          type: string
  '/api/v2/accounts/{account}/start':
    get:
      summary: 'Account Start Data.'
      description: ''
      parameters:
        -
          in: query
          name: city
          description: 'selected city (we detect mono company id by this city)'
          example: ut
          required: false
          schema:
            type: string
            description: 'selected city (we detect mono company id by this city)'
            example: ut
        -
          in: query
          name: deviceLocale
          description: 'Current Device Locale'
          example: dolorem
          required: false
          schema:
            type: string
            description: 'Current Device Locale'
            example: dolorem
        -
          in: query
          name: v
          description: 'Api Version'
          example: 2.0.0
          required: true
          schema:
            type: string
            description: 'Api Version'
            example: 2.0.0
        -
          in: header
          name: Api-Token
          description: ''
          example: '{{YOUR_API_TOKEN}}'
          schema:
            type: string
        -
          in: header
          name: Api-Account-Token
          description: ''
          example: '{{YOUR_ACCOUNT_TOKEN}}'
          schema:
            type: string
        -
          in: header
          name: Content-Type
          description: ''
          example: application/json
          schema:
            type: string
        -
          in: header
          name: Accept
          description: ''
          example: application/json
          schema:
            type: string
      responses:
        200:
          description: ''
          content:
            text/plain:
              schema:
                type: string
                example: "{\n  \"settings\" => [\n    \"phoneMask\" => \"380999999999\",\n    \"phoneDigitsCount\" => 12,\n    \"isCashbackAvailable\" => false,\n    \"minCashbackChargeAmount\" => 0.0,\n    \"monoCityId\" => null,\n    \"gdpr\" => null,\n    \"appearances\" => [\n      \"isShadowEnabled\" => true,\n      \"colors\" => [\n        \"primaryColor\" => \"#01AFB2\",\n        \"accentColor\" => \"#FA9A0F\",\n        \"elementTextColor\" => \"#FFFFFF\",\n        \"lightTheme\" => [\n          \"backgroundColor\" => \"#F7F7F7\",\n          \"blockColor\" => \"#FFFFFF\",\n          \"primaryTextColor\" => \"#000000\",\n        ],\n        \"darkTheme\" => [\n          \"backgroundColor\" => \"#010101\",\n          \"blockColor\" => \"#262626\",\n          \"primaryTextColor\" => \"#FFFFFF\",\n        ],\n      ],\n    ],\n  ],\n  \"langs\" => [\n    \"items\" => [],\n    \"hasNext\" => false,\n  ],\n  \"cityMonoCompanyId\" => null,\n}"
      tags:
        - Accounts
      security: []
    parameters:
      -
        in: path
        name: account
        description: ''
        example: at
        required: true
        schema:
          type: string
  '/api/v2/accounts/{account}/langs':
    get:
      summary: 'Account Langs Information.'
      description: ''
      parameters:
        -
          in: query
          name: deviceLocale
          description: 'Current Device Locale.'
          example: ua
          required: false
          schema:
            type: string
            description: 'Current Device Locale.'
            example: ua
        -
          in: query
          name: v
          description: 'Api Version'
          example: 2.0.0
          required: true
          schema:
            type: string
            description: 'Api Version'
            example: 2.0.0
        -
          in: header
          name: Api-Token
          description: ''
          example: '{{YOUR_API_TOKEN}}'
          schema:
            type: string
        -
          in: header
          name: Api-Account-Token
          description: ''
          example: '{{YOUR_ACCOUNT_TOKEN}}'
          schema:
            type: string
        -
          in: header
          name: Content-Type
          description: ''
          example: application/json
          schema:
            type: string
        -
          in: header
          name: Accept
          description: ''
          example: application/json
          schema:
            type: string
      responses:
        200:
          description: 'Success Example'
          content:
            application/json:
              schema:
                type: object
                example:
                  items:
                    -
                      code: ru
                      locale: ru
                      name: Русский
                      isCurrent: false
                      isMain: false
                    -
                      code: en
                      locale: en
                      name: English
                      isCurrent: true
                      isMain: true
                  hasNext: false
                properties:
                  items:
                    type: array
                    example:
                      -
                        code: ru
                        locale: ru
                        name: Русский
                        isCurrent: false
                        isMain: false
                      -
                        code: en
                        locale: en
                        name: English
                        isCurrent: true
                        isMain: true
                    items:
                      type: object
                  hasNext:
                    type: boolean
                    example: false
      tags:
        - Accounts
      security: []
    parameters:
      -
        in: path
        name: account
        description: ''
        example: nisi
        required: true
        schema:
          type: string
  /api/v2/accounts/id-by-domain:
    get:
      summary: 'Account id by domain.'
      description: ''
      parameters:
        -
          in: query
          name: v
          description: 'Api Version'
          example: 2.0.0
          required: true
          schema:
            type: string
            description: 'Api Version'
            example: 2.0.0
        -
          in: header
          name: Api-Token
          description: ''
          example: '{{YOUR_API_TOKEN}}'
          schema:
            type: string
        -
          in: header
          name: Api-Account-Token
          description: ''
          example: '{{YOUR_ACCOUNT_TOKEN}}'
          schema:
            type: string
        -
          in: header
          name: Content-Type
          description: ''
          example: application/json
          schema:
            type: string
        -
          in: header
          name: Accept
          description: ''
          example: application/json
          schema:
            type: string
      responses:
        422:
          description: ''
          content:
            application/json:
              schema:
                type: object
                example:
                  message: 'The domain field is required.'
                  errors:
                    domain:
                      - 'The domain field is required.'
                properties:
                  message:
                    type: string
                    example: 'The domain field is required.'
                  errors:
                    type: object
                    example:
                      domain:
                        - 'The domain field is required.'
      tags:
        - Accounts
      security: []
  /api/v2/app/version:
    get:
      summary: 'Api version info.'
      description: 'Check that version is supported.'
      parameters:
        -
          in: query
          name: v
          description: 'Api Version'
          example: 2.0.0
          required: true
          schema:
            type: string
            description: 'Api Version'
            example: 2.0.0
        -
          in: header
          name: Api-Token
          description: ''
          example: '{{YOUR_API_TOKEN}}'
          schema:
            type: string
        -
          in: header
          name: Api-Account-Token
          description: ''
          example: '{{YOUR_ACCOUNT_TOKEN}}'
          schema:
            type: string
        -
          in: header
          name: Content-Type
          description: ''
          example: application/json
          schema:
            type: string
        -
          in: header
          name: Accept
          description: ''
          example: application/json
          schema:
            type: string
      responses:
        200:
          description: ''
          content:
            application/json:
              schema:
                type: object
                example:
                  version: 2.0
                  supported: true
                properties:
                  version:
                    type: number
                    example: 2.0
                  supported:
                    type: boolean
                    example: true
      tags:
        - App
      security: []
  /api/v2/app/welcome-screen:
    get:
      summary: 'Welcome screens.'
      description: 'Shows configured welcome screens.'
      parameters:
        -
          in: query
          name: v
          description: 'Api Version'
          example: 2.0.0
          required: true
          schema:
            type: string
            description: 'Api Version'
            example: 2.0.0
        -
          in: header
          name: Api-Token
          description: ''
          example: '{{YOUR_API_TOKEN}}'
          schema:
            type: string
        -
          in: header
          name: Api-Account-Token
          description: ''
          example: '{{YOUR_ACCOUNT_TOKEN}}'
          schema:
            type: string
        -
          in: header
          name: Content-Type
          description: ''
          example: application/json
          schema:
            type: string
        -
          in: header
          name: Accept
          description: ''
          example: application/json
          schema:
            type: string
      responses:
        200:
          description: 'Success Example'
          content:
            application/json:
              schema:
                type: object
                example:
                  firstScreen:
                    title: "Jack's Burgers - order in a few clicks."
                    description: 'Reliable service and fast delivery at your service.'
                  secondScreen:
                    title: 'Turn on notifications - it is important!'
                    description: 'They will help tracking the status of each order.'
                  thirdScreen:
                    title: 'Please share your location.'
                    description: 'This will help determine the possibility of delivery to your address.'
                properties:
                  firstScreen:
                    type: object
                    example:
                      title: "Jack's Burgers - order in a few clicks."
                      description: 'Reliable service and fast delivery at your service.'
                  secondScreen:
                    type: object
                    example:
                      title: 'Turn on notifications - it is important!'
                      description: 'They will help tracking the status of each order.'
                  thirdScreen:
                    type: object
                    example:
                      title: 'Please share your location.'
                      description: 'This will help determine the possibility of delivery to your address.'
      tags:
        - App
      security: []
  /api/v2/app-tokens:
    post:
      summary: 'Register app.'
      description: ''
      parameters:
        -
          in: query
          name: v
          description: 'Api Version'
          example: 2.0.0
          required: true
          schema:
            type: string
            description: 'Api Version'
            example: 2.0.0
        -
          in: header
          name: Api-Token
          description: ''
          example: '{{YOUR_API_TOKEN}}'
          schema:
            type: string
        -
          in: header
          name: Api-Account-Token
          description: ''
          example: '{{YOUR_ACCOUNT_TOKEN}}'
          schema:
            type: string
        -
          in: header
          name: Content-Type
          description: ''
          example: application/json
          schema:
            type: string
        -
          in: header
          name: Accept
          description: ''
          example: application/json
          schema:
            type: string
      responses:
        200:
          description: 'Success Example'
          content:
            application/json:
              schema:
                type: object
                example:
                  id: 2a07c7eb-fed2-4d1e-8442-b92e77300484
                properties:
                  id:
                    type: string
                    example: 2a07c7eb-fed2-4d1e-8442-b92e77300484
      tags:
        - AppTokens
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                deviceToken:
                  type: uuid
                  description: 'Unique device id token.'
                  example: i0F1kt1jAqsZC7vewcfv4d
                type:
                  type: string
                  description: 'Platform App Type. Must be within: ios|android.'
                  example: ios
                data:
                  type: string
                  description: 'All Other Data: Device Model, Current Version.'
                  example: '{"deviceModel": "Iphone 13 Pro", "apiVersion": "2.0.0"}'
                notificationToken:
                  type: string
                  description: 'Device token where to send notification.'
                  example: r88W2NwhWTqgzQCdVs01UeLIhvfzTWIS9Ek3D7JK8rxFX8VkYKZ4uphaNxh1OrZelyJGercYC1DhTqmCKcplAWvipo1ducbZXJvHGb0yNhk0gm9vKaajk25GoRZwfnJpp9vVVzKOExIrqkPmQJvlF1clHc1zzzNCF5pICLOX6ptgNC3nTLVsTGp5tzzJmRXxFnztzdOWDvZjddQKR6dCkmC581ugDQLUZJiSQJdWrynllMgnFCQ7lV2nh7fpAmO3
              required:
                - deviceToken
                - type
      security: []
  '/api/v2/app-tokens/{appToken}/notification':
    post:
      summary: 'Set app notification token.'
      description: "This token will be used to send Push notifications. Used when token is changed in app.\n<aside>After user logins in app system connects user auth token and app token.\nAnd then push notifications can be sent to the user.</aside>."
      parameters:
        -
          in: query
          name: v
          description: 'Api Version'
          example: 2.0.0
          required: true
          schema:
            type: string
            description: 'Api Version'
            example: 2.0.0
        -
          in: header
          name: Api-Token
          description: ''
          example: '{{YOUR_API_TOKEN}}'
          schema:
            type: string
        -
          in: header
          name: Api-Account-Token
          description: ''
          example: '{{YOUR_ACCOUNT_TOKEN}}'
          schema:
            type: string
        -
          in: header
          name: Content-Type
          description: ''
          example: application/json
          schema:
            type: string
        -
          in: header
          name: Accept
          description: ''
          example: application/json
          schema:
            type: string
      responses:
        200:
          description: 'Success Example'
          content:
            application/json:
              schema:
                type: array
                items:
                  type: string
                example:
                  - ok
      tags:
        - AppTokens
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                notificationToken:
                  type: string
                  description: 'FCM Notification token where to send notification.'
                  example: z7gJsy9X5wp1ys6c2ehuJU9Lx4vcNef9jPVBXabRVsCzGMEfUdSJvgNZmWD6dqpkMC98F2mlGXu1AFSHGetJiZhWt63FyfGXkOCd50hMiPlJXVEz4IPivlEps1nGR9OulozcneVoyRrvOZWeObi9VrD2AMDOKhALN99GLrQyiu6ekjxA1t22gdivvRB7d3f3zM4ZvUEqIqxCOs53EmYhPzMCYWLBFNOpAnp1JbdyMpsiwth9ibiCtI9gNCInfYiO
              required:
                - notificationToken
      security: []
    parameters:
      -
        in: path
        name: appToken
        description: ''
        example: numquam
        required: true
        schema:
          type: string
  '/api/v2/app-tokens/{appToken}/lang':
    patch:
      summary: 'Update app token lang.'
      description: 'Use it when user changes lang in your app. Then system will send notifications in specified lang.'
      parameters:
        -
          in: query
          name: v
          description: 'Api Version'
          example: 2.0.0
          required: true
          schema:
            type: string
            description: 'Api Version'
            example: 2.0.0
        -
          in: header
          name: Api-Token
          description: ''
          example: '{{YOUR_API_TOKEN}}'
          schema:
            type: string
        -
          in: header
          name: Api-Account-Token
          description: ''
          example: '{{YOUR_ACCOUNT_TOKEN}}'
          schema:
            type: string
        -
          in: header
          name: Content-Type
          description: ''
          example: application/json
          schema:
            type: string
        -
          in: header
          name: Accept
          description: ''
          example: application/json
          schema:
            type: string
      responses:
        200:
          description: 'Success Example'
          content:
            application/json:
              schema:
                type: array
                items:
                  type: string
                example:
                  - ok
      tags:
        - AppTokens
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                lang:
                  type: string
                  description: 'Must be within supported langs by account.'
                  example: ua
              required:
                - lang
      security: []
    parameters:
      -
        in: path
        name: appToken
        description: ''
        example: et
        required: true
        schema:
          type: string
  /api/v2/cart/info:
    post:
      summary: 'Cart info.'
      description: "Returns Cart Info. Used to render Company Name. And to get amount that is required for free delivery\nif promotion is configured. Additional massages are also retrieved here. See example response."
      parameters:
        -
          in: query
          name: v
          description: 'Api Version'
          example: 2.0.0
          required: true
          schema:
            type: string
            description: 'Api Version'
            example: 2.0.0
        -
          in: header
          name: Api-Token
          description: ''
          example: '{{YOUR_API_TOKEN}}'
          schema:
            type: string
        -
          in: header
          name: Api-Account-Token
          description: ''
          example: '{{YOUR_ACCOUNT_TOKEN}}'
          schema:
            type: string
        -
          in: header
          name: Content-Type
          description: ''
          example: application/json
          schema:
            type: string
        -
          in: header
          name: Accept
          description: ''
          example: application/json
          schema:
            type: string
      responses:
        200:
          description: 'Success Example'
          content:
            application/json:
              schema:
                type: object
                example:
                  companyName: Peperoni
                  cartMessagesPopup:
                    title: Important!
                    minPriceForFreeDelivery: 100
                    messages:
                      - 'You have alcohol in cart. Please show your ID when you receive your order.'
                properties:
                  companyName:
                    type: string
                    example: Peperoni
                  cartMessagesPopup:
                    type: object
                    example:
                      title: Important!
                      minPriceForFreeDelivery: 100
                      messages:
                        - 'You have alcohol in cart. Please show your ID when you receive your order.'
        422:
          description: 'Validation error: No company id'
          content:
            application/json:
              schema:
                type: object
                example:
                  message: 'The given data was invalid.'
                  errors:
                    companyId:
                      - validation.required
                properties:
                  message:
                    type: string
                    example: 'The given data was invalid.'
                  errors:
                    type: object
                    example:
                      companyId:
                        - validation.required
      tags:
        - Cart
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                companyId:
                  type: uuid
                  description: ''
                  example: '{{companyId}}'
                cartItems:
                  type: string
                  description: 'Specify cart items here: Array of objects: id,count,modifier: "[{"id": {{itemId}}, "count": 2, "modifier": 0}]".'
                  example: '[{"id": {{itemId}}, "count": 2}]'
              required:
                - companyId
                - cartItems
      security: []
  /api/v2/cart/prices/resolve:
    post:
      summary: 'Resolve cart prices.'
      description: "Validation and params are NOT the same as in <a href=\"#store-order\">Store Order</a> Request. Username and phone are not required.\n<aside>Used to get all actual prices with all discounts, promo codes and cashback.</aside>."
      parameters:
        -
          in: query
          name: v
          description: 'Api Version'
          example: 2.0.0
          required: true
          schema:
            type: string
            description: 'Api Version'
            example: 2.0.0
        -
          in: header
          name: Api-Token
          description: ''
          example: '{{YOUR_API_TOKEN}}'
          schema:
            type: string
        -
          in: header
          name: Api-Account-Token
          description: ''
          example: '{{YOUR_ACCOUNT_TOKEN}}'
          schema:
            type: string
        -
          in: header
          name: Content-Type
          description: ''
          example: application/json
          schema:
            type: string
        -
          in: header
          name: Accept
          description: ''
          example: application/json
          schema:
            type: string
      responses:
        200:
          description: 'Success Example With Distance Popup Message'
          content:
            application/json:
              schema:
                type: object
                example:
                  price: 75
                  basePrice: 0
                  deliveryPrice: 95
                  totalPrice: 170
                  baseTotalPrice: 125
                  popups:
                    -
                      acceptButtonShow: true
                      cancelButtonShow: true
                      message: 'Відстань від точки видачі до вказаної Вами адреси перевищує 4 км. Доплата становитиме 45 ₴'
                      title: 'Доплата за доставку'
                      type: general
                  data: null
                  paidByCashbackAmount: 0
                  totalPromoDiscountsAmount: 0
                  promoCodeApplied: false
                properties:
                  price:
                    type: integer
                    example: 75
                  basePrice:
                    type: integer
                    example: 0
                  deliveryPrice:
                    type: integer
                    example: 95
                  totalPrice:
                    type: integer
                    example: 170
                  baseTotalPrice:
                    type: integer
                    example: 125
                  popups:
                    type: array
                    example:
                      -
                        acceptButtonShow: true
                        cancelButtonShow: true
                        message: 'Відстань від точки видачі до вказаної Вами адреси перевищує 4 км. Доплата становитиме 45 ₴'
                        title: 'Доплата за доставку'
                        type: general
                    items:
                      type: object
                  data:
                    type: string
                    example: null
                  paidByCashbackAmount:
                    type: integer
                    example: 0
                  totalPromoDiscountsAmount:
                    type: integer
                    example: 0
                  promoCodeApplied:
                    type: boolean
                    example: false
      tags:
        - Cart
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                orderFields:
                  type: object
                  description: ''
                  example:
                    cityId: '{{cityId}}'
                  properties:
                    cityId:
                      type: uuid
                      description: 'City where you create order.'
                      example: '{{cityId}}'
                    companyId:
                      type: uuid
                      description: 'Company where you create order. Must belong to city.'
                      example: '{{companyId}}'
                    companyAddressId:
                      type: uuid
                      description: "Company Address where exactly need to prepare order.\nUsed when delivery type in [2,3,4,5] (non delivering order).\nFor orders with type 0 or 1 system will automatically use the best companyAddress.\nMust belong to company."
                      example: '{{companyAddressId}}'
                    deliveryType:
                      type: integer
                      description: 'Delivery type. Must be one of 0, 1, 2, 3, 4, or 5.'
                      example: 0
                    paymentType:
                      type: integer
                      description: 'Payment type. Must be one of 1, 2, 3.'
                      example: 1
                    deliveryTime:
                      type: integer
                      description: "Timestamp when user wants to receive order.\nUse 0 if user want to receive order as soon as possible."
                      example: 0
                    deliveryAddressStreet:
                      type: string
                      description: ''
                      example: 'pr. Myra'
                    deliveryAddressHouse:
                      type: string
                      description: ''
                      example: '44'
                    promoCode:
                      type: string
                      description: ''
                      example: FreeDeliveryPromoCode
                    paidByCashbackAmount:
                      type: number
                      description: 'Should be specified if user has available cashback and wants to pay with it'
                      example: 0.0
                    cartItems:
                      type: string
                      description: 'Specify cart items here.'
                      example: '[{"id": {{itemId}}, "count": 2}]'
              required:
                - orderFields
      security: []
  /api/v2/cart/prices/validate:
    post:
      summary: 'Validate Cart Prices.'
      description: "Validation and params are the same as in <a href=\"#store-order\">Store Order</a> Request.\n<aside>\nUsed to validate if data is valid without order creation. This request doesn't require authorization.<br>\nIt is useful to validate promo-codes/cashback amount.</aside>."
      parameters:
        -
          in: query
          name: v
          description: 'Api Version'
          example: 2.0.0
          required: true
          schema:
            type: string
            description: 'Api Version'
            example: 2.0.0
        -
          in: header
          name: Api-Token
          description: ''
          example: '{{YOUR_API_TOKEN}}'
          schema:
            type: string
        -
          in: header
          name: Api-Account-Token
          description: ''
          example: '{{YOUR_ACCOUNT_TOKEN}}'
          schema:
            type: string
        -
          in: header
          name: Content-Type
          description: ''
          example: application/json
          schema:
            type: string
        -
          in: header
          name: Accept
          description: ''
          example: application/json
          schema:
            type: string
      responses: {  }
      tags:
        - Cart
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                orderFields:
                  type: object
                  description: ''
                  example:
                    cityId: '{{cityId}}'
                  properties:
                    cityId:
                      type: uuid
                      description: 'City where you create order.'
                      example: '{{cityId}}'
                    companyId:
                      type: uuid
                      description: 'Company where you create order. Must belong to city.'
                      example: '{{companyId}}'
                    companyAddressId:
                      type: uuid
                      description: "Company Address where exactly need to prepare order.\nUsed when delivery type in [2,3,4,5] (non delivering order).\nFor orders with type 0 or 1 system will automatically use the best companyAddress.\nMust belong to company."
                      example: '{{companyAddressId}}'
                    userName:
                      type: string
                      description: 'Displayed name of user. Max 100 characters.'
                      example: Yehor
                    userPhone:
                      type: string
                      description: 'Displayed phone of user. Must be in format 380XXXXXXXXX.'
                      example: '380630001122'
                    deliveryType:
                      type: integer
                      description: 'Delivery type. Must be one of 0, 1, 2, 3, 4, or 5.'
                      example: 0
                    paymentType:
                      type: integer
                      description: 'Payment type. Must be one of 1, 2, 3.'
                      example: 1
                    deliveryTime:
                      type: integer
                      description: "Timestamp when user wants to receive order.\nUse 0 if user want to receive order as soon as possible."
                      example: 0
                    paidByCashbackAmount:
                      type: number
                      description: 'Should be specified if user has available cashback and wants to pay with it'
                      example: 0.0
                    cartItems:
                      type: string
                      description: 'Specify cart items here.'
                      example: '[{"id": {{itemId}}, "count": 2}]'
              required:
                - orderFields
      security: []
  /api/v2/cart/checkout:
    get:
      summary: "Checkout page info\nReturns all needed information to render checkout page."
      description: ''
      parameters:
        -
          in: query
          name: v
          description: 'Api Version'
          example: 2.0.0
          required: true
          schema:
            type: string
            description: 'Api Version'
            example: 2.0.0
        -
          in: header
          name: Api-Token
          description: ''
          example: '{{YOUR_API_TOKEN}}'
          schema:
            type: string
        -
          in: header
          name: Api-Account-Token
          description: ''
          example: '{{YOUR_ACCOUNT_TOKEN}}'
          schema:
            type: string
        -
          in: header
          name: Content-Type
          description: ''
          example: application/json
          schema:
            type: string
        -
          in: header
          name: Accept
          description: ''
          example: application/json
          schema:
            type: string
      responses:
        200:
          description: ''
          content:
            text/plain:
              schema:
                type: string
                example: "{\n  [\n    \"nonDeliveryCompanyAddressesData\" => [\n      \"pickUpAddresses\" => [\n        0 => [\n          \"id\" => \"6cfac268-cf8f-3c7c-8c81-d8fea53d1db7\"\n          \"address\" => \"Pr. Mury 41\"\n        ]\n      ]\n      \"bookingAddresses\" => [\n        0 => [\n          \"id\" => \"6cfac268-cf8f-3c7c-8c81-d8fea53d1db7\"\n          \"address\" => \"Pr. Mury 41\"\n        ]\n      ]\n      \"innerDeliveryAddresses\" => [\n        0 => [\n          \"id\" => \"6cfac268-cf8f-3c7c-8c81-d8fea53d1db7\"\n          \"address\" => \"Pr. Mury 41\"\n        ]\n      ]\n      \"innerDeliveryToRoomAddresses\" => [\n        0 => [\n          \"id\" => \"6cfac268-cf8f-3c7c-8c81-d8fea53d1db7\"\n          \"address\" => \"Pr. Mury 41\"\n        ]\n      ]\n    ]\n    \"timeForGetting\" => [\n      \"deliveryTime\" => [\n        0 => {\n          \"date\": 1617310800,\n          \"times\": [\n            1617372300,\n            1617372900,\n            1617373500,\n            1617374100,\n            1617374700,\n            1617375300,\n          ]\n        }\n      ]\n      \"nonDeliveryTime\" => [\n        0 => {\n          \"date\": 1617310800,\n          \"times\": [\n            1617372300,\n            1617372900,\n            1617373500,\n            1617374100,\n            1617374700,\n            1617375300,\n          ]\n        }\n      ]\n    ]\n    \"deliveryTypes\" => [\n      0 => [\n        \"title\" => \"Delivery home\"\n        \"price\" => 24.0\n        \"type\" => 0\n        \"isPeopleCountAvailable\" => true\n      ]\n      1 => [\n        \"title\" => \"Door delivery\"\n        \"price\" => 26.0\n        \"type\" => 1\n       \"isPeopleCountAvailable\" => true\n      ]\n      2 => [\n        \"title\" => \"Pickup\"\n        \"price\" => 0.0\n        \"type\" => 2\n        \"isPeopleCountAvailable\" => true\n      ]\n      3 => [\n        \"title\" => \"Pre-order and table reservation\"\n        \"price\" => 0.0\n        \"type\" => 3\n        \"isPeopleCountAvailable\" => true\n      ]\n      4 => [\n        \"title\" => \"Delivery to table\"\n        \"price\" => 0.0\n        \"type\" => 4\n        \"isPeopleCountAvailable\" => true\n      ]\n      5 => [\n        \"title\" => \"Delivery to room\"\n        \"price\" => 0.0\n        \"type\" => 5\n        \"isPeopleCountAvailable\" => true\n      ]\n    ]\n    \"paymentTypes\" => [\n      0 => [\n        \"type\" => 1\n        \"title\" => \"Cash payment\"\n      ]\n      1 => [\n        \"type\" => 2\n        \"title\" => \"Online payment\"\n      ]\n      2 => [\n        \"type\" => 3\n        \"title\" => \"Payment by terminal\"\n      ]\n    ]\n    \"userAddresses\" => []\n    \"deliveryTimeTypes\" => [\n      0 => [\n        \"title\" => \"As soon as possible\"\n        \"type\" => \"asap\"\n      ]\n      1 => [\n        \"title\" => \"On specific time\"\n        \"type\" => \"onTime\"\n      ]\n    ]\n    \"userAvailableCashbackBalance\" => 0.0\n    \"cashbackInfoText\" => \"1 bonus = 1 UAH\"\n    \"phoneMask\" => \"380999999999\"\n    \"phoneDigitsCount\" => 12\n    \"gdpr\" => [\n      \"gdprMode\" => 0\n    ]\n  ]\n}"
      tags:
        - Checkout
      security: []
  /api/v2/cities:
    get:
      summary: 'Active Cities List.'
      description: ''
      parameters:
        -
          in: query
          name: v
          description: 'Api Version'
          example: 2.0.0
          required: true
          schema:
            type: string
            description: 'Api Version'
            example: 2.0.0
        -
          in: header
          name: Api-Token
          description: ''
          example: '{{YOUR_API_TOKEN}}'
          schema:
            type: string
        -
          in: header
          name: Api-Account-Token
          description: ''
          example: '{{YOUR_ACCOUNT_TOKEN}}'
          schema:
            type: string
        -
          in: header
          name: Content-Type
          description: ''
          example: application/json
          schema:
            type: string
        -
          in: header
          name: Accept
          description: ''
          example: application/json
          schema:
            type: string
      responses:
        200:
          description: 'Empty List'
          content:
            application/json:
              schema:
                type: object
                example:
                  items: []
                  hasNext: false
                properties:
                  items:
                    type: array
                    example: []
                  hasNext:
                    type: boolean
                    example: false
      tags:
        - Cities
      security: []
  /api/v2/cities/by-ip:
    get:
      summary: 'City by ip info.'
      description: ''
      parameters:
        -
          in: query
          name: v
          description: 'Api Version'
          example: 2.0.0
          required: true
          schema:
            type: string
            description: 'Api Version'
            example: 2.0.0
        -
          in: header
          name: Api-Token
          description: ''
          example: '{{YOUR_API_TOKEN}}'
          schema:
            type: string
        -
          in: header
          name: Api-Account-Token
          description: ''
          example: '{{YOUR_ACCOUNT_TOKEN}}'
          schema:
            type: string
        -
          in: header
          name: Content-Type
          description: ''
          example: application/json
          schema:
            type: string
        -
          in: header
          name: Accept
          description: ''
          example: application/json
          schema:
            type: string
      responses:
        200:
          description: 'Success Example'
          content:
            application/json:
              schema:
                type: object
                example:
                  id: f68b48c2-5521-11eb-9cdd-f23c92a7f68e
                  name: Kyiv
                  url: kyiv
                  supportPhone: '(050) 000-00-00'
                  status: 1
                  isChatEnabled: true
                  currency:
                    formatted: $
                    token: USD
                  timezone: Europe/Kiev
                  pageFacebook: 'https://www.facebook.com/mister.am.chernigov'
                  pageInsta: 'https://www.instagram.com/mister.am.chernihiv'
                  noticeMessage: null
                  centerCoordinates:
                    latitude: 50.4501
                    longitude: 30.5234
                  deliveryTypes:
                    -
                      id: 0
                      title: 'Home delivery'
                    -
                      id: 1
                      title: 'Door delivery'
                    -
                      id: 2
                      title: Takeaway
                    -
                      id: 3
                      title: 'Table reservation'
                  promotions: []
                properties:
                  id:
                    type: string
                    example: f68b48c2-5521-11eb-9cdd-f23c92a7f68e
                  name:
                    type: string
                    example: Kyiv
                  url:
                    type: string
                    example: kyiv
                  supportPhone:
                    type: string
                    example: '(050) 000-00-00'
                  status:
                    type: integer
                    example: 1
                  isChatEnabled:
                    type: boolean
                    example: true
                  currency:
                    type: object
                    example:
                      formatted: $
                      token: USD
                  timezone:
                    type: string
                    example: Europe/Kiev
                  pageFacebook:
                    type: string
                    example: 'https://www.facebook.com/mister.am.chernigov'
                  pageInsta:
                    type: string
                    example: 'https://www.instagram.com/mister.am.chernihiv'
                  noticeMessage:
                    type: string
                    example: null
                  centerCoordinates:
                    type: object
                    example:
                      latitude: 50.4501
                      longitude: 30.5234
                  deliveryTypes:
                    type: array
                    example:
                      -
                        id: 0
                        title: 'Home delivery'
                      -
                        id: 1
                        title: 'Door delivery'
                      -
                        id: 2
                        title: Takeaway
                      -
                        id: 3
                        title: 'Table reservation'
                    items:
                      type: object
                  promotions:
                    type: array
                    example: []
      tags:
        - Cities
      security: []
  '/api/v2/cities/{id}':
    get:
      summary: 'City info.'
      description: ''
      parameters:
        -
          in: query
          name: v
          description: 'Api Version'
          example: 2.0.0
          required: true
          schema:
            type: string
            description: 'Api Version'
            example: 2.0.0
        -
          in: header
          name: Api-Token
          description: ''
          example: '{{YOUR_API_TOKEN}}'
          schema:
            type: string
        -
          in: header
          name: Api-Account-Token
          description: ''
          example: '{{YOUR_ACCOUNT_TOKEN}}'
          schema:
            type: string
        -
          in: header
          name: Content-Type
          description: ''
          example: application/json
          schema:
            type: string
        -
          in: header
          name: Accept
          description: ''
          example: application/json
          schema:
            type: string
      responses:
        200:
          description: 'Success Example'
          content:
            application/json:
              schema:
                type: object
                example:
                  id: f68b48c2-5521-11eb-9cdd-f23c92a7f68e
                  name: Kyiv
                  url: kyiv
                  supportPhone: '(050) 000-00-00'
                  status: 1
                  isChatEnabled: true
                  currency:
                    formatted: $
                    token: USD
                  timezone: Europe/Kiev
                  pageFacebook: 'https://www.facebook.com/mister.am.chernigov'
                  pageInsta: 'https://www.instagram.com/mister.am.chernihiv'
                  noticeMessage: null
                  centerCoordinates:
                    latitude: 50.4501
                    longitude: 30.5234
                  deliveryTypes:
                    -
                      id: 0
                      title: 'Home delivery'
                    -
                      id: 1
                      title: 'Door delivery'
                    -
                      id: 2
                      title: Takeaway
                    -
                      id: 3
                      title: 'Table reservation'
                  promotions: []
                properties:
                  id:
                    type: string
                    example: f68b48c2-5521-11eb-9cdd-f23c92a7f68e
                  name:
                    type: string
                    example: Kyiv
                  url:
                    type: string
                    example: kyiv
                  supportPhone:
                    type: string
                    example: '(050) 000-00-00'
                  status:
                    type: integer
                    example: 1
                  isChatEnabled:
                    type: boolean
                    example: true
                  currency:
                    type: object
                    example:
                      formatted: $
                      token: USD
                  timezone:
                    type: string
                    example: Europe/Kiev
                  pageFacebook:
                    type: string
                    example: 'https://www.facebook.com/mister.am.chernigov'
                  pageInsta:
                    type: string
                    example: 'https://www.instagram.com/mister.am.chernihiv'
                  noticeMessage:
                    type: string
                    example: null
                  centerCoordinates:
                    type: object
                    example:
                      latitude: 50.4501
                      longitude: 30.5234
                  deliveryTypes:
                    type: array
                    example:
                      -
                        id: 0
                        title: 'Home delivery'
                      -
                        id: 1
                        title: 'Door delivery'
                      -
                        id: 2
                        title: Takeaway
                      -
                        id: 3
                        title: 'Table reservation'
                    items:
                      type: object
                  promotions:
                    type: array
                    example: []
      tags:
        - Cities
      security: []
    parameters:
      -
        in: path
        name: id
        description: 'The ID of the city.'
        example: rem
        required: true
        schema:
          type: string
  '/api/v2/cities/{city}/companies':
    get:
      summary: 'City Active Companies.'
      description: ''
      parameters:
        -
          in: query
          name: v
          description: 'Api Version'
          example: 2.0.0
          required: true
          schema:
            type: string
            description: 'Api Version'
            example: 2.0.0
        -
          in: header
          name: Api-Token
          description: ''
          example: '{{YOUR_API_TOKEN}}'
          schema:
            type: string
        -
          in: header
          name: Api-Account-Token
          description: ''
          example: '{{YOUR_ACCOUNT_TOKEN}}'
          schema:
            type: string
        -
          in: header
          name: Content-Type
          description: ''
          example: application/json
          schema:
            type: string
        -
          in: header
          name: Accept
          description: ''
          example: application/json
          schema:
            type: string
      responses:
        200:
          description: 'Empty List'
          content:
            application/json:
              schema:
                type: object
                example:
                  items: []
                  hasNext: false
                properties:
                  items:
                    type: array
                    example: []
                  hasNext:
                    type: boolean
                    example: false
      tags:
        - Cities
      security: []
    parameters:
      -
        in: path
        name: city
        description: ''
        example: dBcdCcaB-AbdC-abfd-bFAB-BACDdeddFFCf
        required: true
        schema:
          type: string
  '/api/v2/cities/{city}/categories':
    get:
      summary: 'City Top Active Categories.'
      description: ''
      parameters:
        -
          in: query
          name: v
          description: 'Api Version'
          example: 2.0.0
          required: true
          schema:
            type: string
            description: 'Api Version'
            example: 2.0.0
        -
          in: header
          name: Api-Token
          description: ''
          example: '{{YOUR_API_TOKEN}}'
          schema:
            type: string
        -
          in: header
          name: Api-Account-Token
          description: ''
          example: '{{YOUR_ACCOUNT_TOKEN}}'
          schema:
            type: string
        -
          in: header
          name: Content-Type
          description: ''
          example: application/json
          schema:
            type: string
        -
          in: header
          name: Accept
          description: ''
          example: application/json
          schema:
            type: string
      responses:
        200:
          description: 'Empty List'
          content:
            application/json:
              schema:
                type: object
                example:
                  items: []
                  hasNext: false
                properties:
                  items:
                    type: array
                    example: []
                  hasNext:
                    type: boolean
                    example: false
      tags:
        - Cities
      security: []
    parameters:
      -
        in: path
        name: city
        description: ''
        example: EdAFbffd-FAbB-CeBd-EEEa-BEBCceAdfDFD
        required: true
        schema:
          type: string
  '/api/v2/cities/{city}/polygons':
    get:
      summary: 'City polygon.'
      description: ''
      parameters:
        -
          in: query
          name: v
          description: 'Api Version'
          example: 2.0.0
          required: true
          schema:
            type: string
            description: 'Api Version'
            example: 2.0.0
        -
          in: header
          name: Api-Token
          description: ''
          example: '{{YOUR_API_TOKEN}}'
          schema:
            type: string
        -
          in: header
          name: Api-Account-Token
          description: ''
          example: '{{YOUR_ACCOUNT_TOKEN}}'
          schema:
            type: string
        -
          in: header
          name: Content-Type
          description: ''
          example: application/json
          schema:
            type: string
        -
          in: header
          name: Accept
          description: ''
          example: application/json
          schema:
            type: string
      responses:
        200:
          description: 'Success Example'
          content:
            application/json:
              schema:
                type: object
                example:
                  items:
                    -
                      -
                        latitude: 50.515173038356
                        longitude: 30.362105170617
                      -
                        latitude: 50.494210629336
                        longitude: 30.366208821575
                      -
                        latitude: 50.478045754423
                        longitude: 30.359345422833
                      -
                        latitude: 50.460563993186
                        longitude: 30.357971191406
                      -
                        latitude: 50.439140026503
                        longitude: 30.356600251418
                      -
                        latitude: 50.423831253674
                        longitude: 30.366898288316
                      -
                        latitude: 50.405891823972
                        longitude: 30.39436857558
                      -
                        latitude: 50.39407434322
                        longitude: 30.423888925054
                      -
                        latitude: 50.377875232281
                        longitude: 30.448609573951
                      -
                        latitude: 50.366488762738
                        longitude: 30.464401715323
                      -
                        latitude: 50.356413838675
                        longitude: 30.474017103459
                      -
                        latitude: 50.352032769863
                        longitude: 30.492557002376
                      -
                        latitude: 50.342831209392
                        longitude: 30.502169804382
                      -
                        latitude: 50.335819299898
                        longitude: 30.511781195773
                      -
                        latitude: 50.341516555204
                        longitude: 30.529632803462
                      -
                        latitude: 50.343269419369
                        longitude: 30.562597900508
                      -
                        latitude: 50.350280229139
                        longitude: 30.605847398494
                      -
                        latitude: 50.364473946334
                        longitude: 30.633175002635
                      -
                        latitude: 50.418318894367
                        longitude: 30.708178019075
                      -
                        latitude: 50.474549919252
                        longitude: 30.683446334369
                      -
                        latitude: 50.493074890507
                        longitude: 30.643356974157
                      -
                        latitude: 50.513513865468
                        longitude: 30.61286186643
                      -
                        latitude: 50.514125138234
                        longitude: 30.553539646763
                      -
                        latitude: 50.528706315688
                        longitude: 30.504226919673
                      -
                        latitude: 50.526087274555
                        longitude: 30.456849084942
                      -
                        latitude: 50.523904629229
                        longitude: 30.434875958487
                  hasNext: false
                properties:
                  items:
                    type: array
                    example:
                      -
                        -
                          latitude: 50.515173038356
                          longitude: 30.362105170617
                        -
                          latitude: 50.494210629336
                          longitude: 30.366208821575
                        -
                          latitude: 50.478045754423
                          longitude: 30.359345422833
                        -
                          latitude: 50.460563993186
                          longitude: 30.357971191406
                        -
                          latitude: 50.439140026503
                          longitude: 30.356600251418
                        -
                          latitude: 50.423831253674
                          longitude: 30.366898288316
                        -
                          latitude: 50.405891823972
                          longitude: 30.39436857558
                        -
                          latitude: 50.39407434322
                          longitude: 30.423888925054
                        -
                          latitude: 50.377875232281
                          longitude: 30.448609573951
                        -
                          latitude: 50.366488762738
                          longitude: 30.464401715323
                        -
                          latitude: 50.356413838675
                          longitude: 30.474017103459
                        -
                          latitude: 50.352032769863
                          longitude: 30.492557002376
                        -
                          latitude: 50.342831209392
                          longitude: 30.502169804382
                        -
                          latitude: 50.335819299898
                          longitude: 30.511781195773
                        -
                          latitude: 50.341516555204
                          longitude: 30.529632803462
                        -
                          latitude: 50.343269419369
                          longitude: 30.562597900508
                        -
                          latitude: 50.350280229139
                          longitude: 30.605847398494
                        -
                          latitude: 50.364473946334
                          longitude: 30.633175002635
                        -
                          latitude: 50.418318894367
                          longitude: 30.708178019075
                        -
                          latitude: 50.474549919252
                          longitude: 30.683446334369
                        -
                          latitude: 50.493074890507
                          longitude: 30.643356974157
                        -
                          latitude: 50.513513865468
                          longitude: 30.61286186643
                        -
                          latitude: 50.514125138234
                          longitude: 30.553539646763
                        -
                          latitude: 50.528706315688
                          longitude: 30.504226919673
                        -
                          latitude: 50.526087274555
                          longitude: 30.456849084942
                        -
                          latitude: 50.523904629229
                          longitude: 30.434875958487
                    items:
                      type: array
                  hasNext:
                    type: boolean
                    example: false
      tags:
        - Cities
      security: []
    parameters:
      -
        in: path
        name: city
        description: ''
        example: adFEbeDf-EcCe-dDCE-aADC-CBEAdbdbffAC
        required: true
        schema:
          type: string
  '/api/v2/companies/{id}':
    get:
      summary: 'Company Info.'
      description: ''
      parameters:
        -
          in: query
          name: v
          description: 'Api Version'
          example: 2.0.0
          required: true
          schema:
            type: string
            description: 'Api Version'
            example: 2.0.0
        -
          in: header
          name: Api-Token
          description: ''
          example: '{{YOUR_API_TOKEN}}'
          schema:
            type: string
        -
          in: header
          name: Api-Account-Token
          description: ''
          example: '{{YOUR_ACCOUNT_TOKEN}}'
          schema:
            type: string
        -
          in: header
          name: Content-Type
          description: ''
          example: application/json
          schema:
            type: string
        -
          in: header
          name: Accept
          description: ''
          example: application/json
          schema:
            type: string
      responses:
        200:
          description: 'Success Example'
          content:
            application/json:
              schema:
                type: object
                example:
                  id: f7bccc99-5521-11eb-9cdd-f23c92a7f68e
                  name: "Jack's Burgers"
                  status: 1
                  rating: 4.8
                  reviewsCount: 170
                  showReviews: true
                  payForBox: true
                  description: "Jack's Burgers - real American burgers! We have built an authentic burger bar where the main dish is a gastronomic phenomenon, and not just a quick bite on the go. Specialty burgers are prepared with medium roasting on an open grill. Served with crispy fries and coleslaw salad. There is also a wide selection of snacks and drinks."
                  packagePrice: 0
                  maxCountInPackage: 5
                  schedule:
                    -
                      id: 0
                      start: '08:00'
                      end: '23:00'
                      startTime: 1635746406
                      endTime: 1635800406
                      isActive: true
                    -
                      id: 1
                      start: '08:00'
                      end: '23:00'
                      startTime: 1635832806
                      endTime: 1635886806
                      isActive: true
                    -
                      id: 2
                      start: '08:00'
                      end: '23:00'
                      startTime: 1635919206
                      endTime: 1635973206
                      isActive: true
                    -
                      id: 3
                      start: '09:00'
                      end: '23:00'
                      startTime: 1636009206
                      endTime: 1636059606
                      isActive: true
                    -
                      id: 4
                      start: '09:00'
                      end: '23:00'
                      startTime: 1636095606
                      endTime: 1636146006
                      isActive: true
                    -
                      id: 5
                      start: '08:30'
                      end: '23:00'
                      startTime: 1636180206
                      endTime: 1636232406
                      isActive: true
                    -
                      id: 6
                      start: '08:00'
                      end: '23:00'
                      startTime: 1636264806
                      endTime: 1636318806
                      isActive: true
                  paymentTypes:
                    -
                      type: 1
                      title: Cash
                    -
                      type: 2
                      title: Online
                    -
                      type: 3
                      title: Terminal
                  deliveryTime:
                    title: 'Delivery time is up to 45 minutes'
                    label: 'up to 45 min.'
                    description: 'On average, the delivery time takes up to 45 minutes. Orders, on holidays or weekends, as well as during peak periods, may take longer to deliver.'
                  delivery:
                    title: 'Standard delivery from $50'
                    label: 'from $50'
                    description: "Standard delivery - $50.\r\nDoorstep delivery - $55.\r\nTakeaway - free."
                  promotions: []
                  noticeMessage:
                    title: Important!
                    message: "Please note: This is a demo version, so your orders won't be processed."
                  addresses:
                    -
                      id: f841fda9-5521-11eb-9cdd-f23c92a7f68e
                      title: 'Knyazhiy Zaton St., 9'
                      location:
                        latitude: 50.402
                        longitude: 30.625218
                      polygon:
                        -
                          latitude: 50.490410191202
                          longitude: 30.582946877205
                        -
                          latitude: 50.482327794854
                          longitude: 30.562697331615
                        -
                          latitude: 50.451296033651
                          longitude: 30.588095066762
                        -
                          latitude: 50.426149751963
                          longitude: 30.593929681594
                        -
                          latitude: 50.408648806873
                          longitude: 30.600107509062
                        -
                          latitude: 50.376868069822
                          longitude: 30.589261998108
                        -
                          latitude: 50.345986222958
                          longitude: 30.606765842601
                        -
                          latitude: 50.352777572061
                          longitude: 30.648294571694
                        -
                          latitude: 50.385406310047
                          longitude: 30.681242984858
                        -
                          latitude: 50.401821683007
                          longitude: 30.681242984858
                        -
                          latitude: 50.448891314925
                          longitude: 30.659757882153
                        -
                          latitude: 50.48320163408
                          longitude: 30.64225403766
                        -
                          latitude: 50.500456648187
                          longitude: 30.596949969559
                        -
                          latitude: 50.503732204819
                          longitude: 30.57773006188
                    -
                      id: f84200c2-5521-11eb-9cdd-f23c92a7f68e
                      title: 'Shota Rustaveli St., 10'
                      location:
                        latitude: 50.4397796
                        longitude: 30.5212356
                      polygon:
                        -
                          latitude: 50.473417690484
                          longitude: 30.522039684664
                        -
                          latitude: 50.476325175199
                          longitude: 30.514980893773
                        -
                          latitude: 50.476543664279
                          longitude: 30.503658235981
                        -
                          latitude: 50.479820879301
                          longitude: 30.496796019138
                        -
                          latitude: 50.474140228851
                          longitude: 30.489590691453
                        -
                          latitude: 50.470207070932
                          longitude: 30.48444402882
                        -
                          latitude: 50.456957575881
                          longitude: 30.482082366943
                        -
                          latitude: 50.452148591735
                          longitude: 30.484657581
                        -
                          latitude: 50.448787470539
                          longitude: 30.488904469768
                        -
                          latitude: 50.443977655583
                          longitude: 30.487875137242
                        -
                          latitude: 50.434985277593
                          longitude: 30.492639164394
                        -
                          latitude: 50.431486258825
                          longitude: 30.506029296687
                        -
                          latitude: 50.430174060115
                          longitude: 30.521135372115
                        -
                          latitude: 50.434793923989
                          longitude: 30.530077770828
                        -
                          latitude: 50.43785536584
                          longitude: 30.542429761146
                        -
                          latitude: 50.433700503917
                          longitude: 30.544488426199
                        -
                          latitude: 50.435668641864
                          longitude: 30.54791953462
                        -
                          latitude: 50.440260645542
                          longitude: 30.556154194832
                        -
                          latitude: 50.445222397027
                          longitude: 30.556091441582
                        -
                          latitude: 50.452178398616
                          longitude: 30.543262885889
                        -
                          latitude: 50.458124973023
                          longitude: 30.529049575037
                        -
                          latitude: 50.46190018447
                          longitude: 30.52678498304
                        -
                          latitude: 50.467264442847
                          longitude: 30.525958610693
                        -
                          latitude: 50.471520649494
                          longitude: 30.525316423426
                  appearanceSettings:
                    miniCoverImage: 'https://assets.dots.live/misteram-public/94232638631eb7a7a21e7566ddb3bff8.png'
                    maxiCoverImage: 'https://assets.dots.live/misteram-public/0bfebdd8086ed09b45845f0a12f63ac0.png'
                  deliveryTypes:
                    -
                      title: 'Home delivery'
                      price: 0
                      type: 0
                      isPeopleCountAvailable: true
                    -
                      title: 'Door delivery'
                      price: 0
                      type: 1
                      isPeopleCountAvailable: true
                    -
                      title: Takeaway
                      price: 0
                      type: 2
                      isPeopleCountAvailable: true
                    -
                      title: 'Table reservation'
                      price: 0
                      type: 3
                      isPeopleCountAvailable: true
                    -
                      title: 'Serving to the table'
                      price: 0
                      type: 4
                      isPeopleCountAvailable: true
                    -
                      title: 'Room delivery'
                      price: 0
                      type: 5
                      isPeopleCountAvailable: true
                properties:
                  id:
                    type: string
                    example: f7bccc99-5521-11eb-9cdd-f23c92a7f68e
                  name:
                    type: string
                    example: "Jack's Burgers"
                  status:
                    type: integer
                    example: 1
                  rating:
                    type: number
                    example: 4.8
                  reviewsCount:
                    type: integer
                    example: 170
                  showReviews:
                    type: boolean
                    example: true
                  payForBox:
                    type: boolean
                    example: true
                  description:
                    type: string
                    example: "Jack's Burgers - real American burgers! We have built an authentic burger bar where the main dish is a gastronomic phenomenon, and not just a quick bite on the go. Specialty burgers are prepared with medium roasting on an open grill. Served with crispy fries and coleslaw salad. There is also a wide selection of snacks and drinks."
                  packagePrice:
                    type: integer
                    example: 0
                  maxCountInPackage:
                    type: integer
                    example: 5
                  schedule:
                    type: array
                    example:
                      -
                        id: 0
                        start: '08:00'
                        end: '23:00'
                        startTime: 1635746406
                        endTime: 1635800406
                        isActive: true
                      -
                        id: 1
                        start: '08:00'
                        end: '23:00'
                        startTime: 1635832806
                        endTime: 1635886806
                        isActive: true
                      -
                        id: 2
                        start: '08:00'
                        end: '23:00'
                        startTime: 1635919206
                        endTime: 1635973206
                        isActive: true
                      -
                        id: 3
                        start: '09:00'
                        end: '23:00'
                        startTime: 1636009206
                        endTime: 1636059606
                        isActive: true
                      -
                        id: 4
                        start: '09:00'
                        end: '23:00'
                        startTime: 1636095606
                        endTime: 1636146006
                        isActive: true
                      -
                        id: 5
                        start: '08:30'
                        end: '23:00'
                        startTime: 1636180206
                        endTime: 1636232406
                        isActive: true
                      -
                        id: 6
                        start: '08:00'
                        end: '23:00'
                        startTime: 1636264806
                        endTime: 1636318806
                        isActive: true
                    items:
                      type: object
                  paymentTypes:
                    type: array
                    example:
                      -
                        type: 1
                        title: Cash
                      -
                        type: 2
                        title: Online
                      -
                        type: 3
                        title: Terminal
                    items:
                      type: object
                  deliveryTime:
                    type: object
                    example:
                      title: 'Delivery time is up to 45 minutes'
                      label: 'up to 45 min.'
                      description: 'On average, the delivery time takes up to 45 minutes. Orders, on holidays or weekends, as well as during peak periods, may take longer to deliver.'
                  delivery:
                    type: object
                    example:
                      title: 'Standard delivery from $50'
                      label: 'from $50'
                      description: "Standard delivery - $50.\r\nDoorstep delivery - $55.\r\nTakeaway - free."
                  promotions:
                    type: array
                    example: []
                  noticeMessage:
                    type: object
                    example:
                      title: Important!
                      message: "Please note: This is a demo version, so your orders won't be processed."
                  addresses:
                    type: array
                    example:
                      -
                        id: f841fda9-5521-11eb-9cdd-f23c92a7f68e
                        title: 'Knyazhiy Zaton St., 9'
                        location:
                          latitude: 50.402
                          longitude: 30.625218
                        polygon:
                          -
                            latitude: 50.490410191202
                            longitude: 30.582946877205
                          -
                            latitude: 50.482327794854
                            longitude: 30.562697331615
                          -
                            latitude: 50.451296033651
                            longitude: 30.588095066762
                          -
                            latitude: 50.426149751963
                            longitude: 30.593929681594
                          -
                            latitude: 50.408648806873
                            longitude: 30.600107509062
                          -
                            latitude: 50.376868069822
                            longitude: 30.589261998108
                          -
                            latitude: 50.345986222958
                            longitude: 30.606765842601
                          -
                            latitude: 50.352777572061
                            longitude: 30.648294571694
                          -
                            latitude: 50.385406310047
                            longitude: 30.681242984858
                          -
                            latitude: 50.401821683007
                            longitude: 30.681242984858
                          -
                            latitude: 50.448891314925
                            longitude: 30.659757882153
                          -
                            latitude: 50.48320163408
                            longitude: 30.64225403766
                          -
                            latitude: 50.500456648187
                            longitude: 30.596949969559
                          -
                            latitude: 50.503732204819
                            longitude: 30.57773006188
                      -
                        id: f84200c2-5521-11eb-9cdd-f23c92a7f68e
                        title: 'Shota Rustaveli St., 10'
                        location:
                          latitude: 50.4397796
                          longitude: 30.5212356
                        polygon:
                          -
                            latitude: 50.473417690484
                            longitude: 30.522039684664
                          -
                            latitude: 50.476325175199
                            longitude: 30.514980893773
                          -
                            latitude: 50.476543664279
                            longitude: 30.503658235981
                          -
                            latitude: 50.479820879301
                            longitude: 30.496796019138
                          -
                            latitude: 50.474140228851
                            longitude: 30.489590691453
                          -
                            latitude: 50.470207070932
                            longitude: 30.48444402882
                          -
                            latitude: 50.456957575881
                            longitude: 30.482082366943
                          -
                            latitude: 50.452148591735
                            longitude: 30.484657581
                          -
                            latitude: 50.448787470539
                            longitude: 30.488904469768
                          -
                            latitude: 50.443977655583
                            longitude: 30.487875137242
                          -
                            latitude: 50.434985277593
                            longitude: 30.492639164394
                          -
                            latitude: 50.431486258825
                            longitude: 30.506029296687
                          -
                            latitude: 50.430174060115
                            longitude: 30.521135372115
                          -
                            latitude: 50.434793923989
                            longitude: 30.530077770828
                          -
                            latitude: 50.43785536584
                            longitude: 30.542429761146
                          -
                            latitude: 50.433700503917
                            longitude: 30.544488426199
                          -
                            latitude: 50.435668641864
                            longitude: 30.54791953462
                          -
                            latitude: 50.440260645542
                            longitude: 30.556154194832
                          -
                            latitude: 50.445222397027
                            longitude: 30.556091441582
                          -
                            latitude: 50.452178398616
                            longitude: 30.543262885889
                          -
                            latitude: 50.458124973023
                            longitude: 30.529049575037
                          -
                            latitude: 50.46190018447
                            longitude: 30.52678498304
                          -
                            latitude: 50.467264442847
                            longitude: 30.525958610693
                          -
                            latitude: 50.471520649494
                            longitude: 30.525316423426
                    items:
                      type: object
                  appearanceSettings:
                    type: object
                    example:
                      miniCoverImage: 'https://assets.dots.live/misteram-public/94232638631eb7a7a21e7566ddb3bff8.png'
                      maxiCoverImage: 'https://assets.dots.live/misteram-public/0bfebdd8086ed09b45845f0a12f63ac0.png'
                  deliveryTypes:
                    type: array
                    example:
                      -
                        title: 'Home delivery'
                        price: 0
                        type: 0
                        isPeopleCountAvailable: true
                      -
                        title: 'Door delivery'
                        price: 0
                        type: 1
                        isPeopleCountAvailable: true
                      -
                        title: Takeaway
                        price: 0
                        type: 2
                        isPeopleCountAvailable: true
                      -
                        title: 'Table reservation'
                        price: 0
                        type: 3
                        isPeopleCountAvailable: true
                      -
                        title: 'Serving to the table'
                        price: 0
                        type: 4
                        isPeopleCountAvailable: true
                      -
                        title: 'Room delivery'
                        price: 0
                        type: 5
                        isPeopleCountAvailable: true
                    items:
                      type: object
      tags:
        - Companies
      security: []
    parameters:
      -
        in: path
        name: id
        description: 'The ID of the company.'
        example: iste
        required: true
        schema:
          type: string
  '/api/v2/companies/{company}/items-by-categories':
    get:
      summary: 'Company Active Items By Active Categories.'
      description: ''
      parameters:
        -
          in: query
          name: v
          description: 'Api Version'
          example: 2.0.0
          required: true
          schema:
            type: string
            description: 'Api Version'
            example: 2.0.0
        -
          in: header
          name: Api-Token
          description: ''
          example: '{{YOUR_API_TOKEN}}'
          schema:
            type: string
        -
          in: header
          name: Api-Account-Token
          description: ''
          example: '{{YOUR_ACCOUNT_TOKEN}}'
          schema:
            type: string
        -
          in: header
          name: Content-Type
          description: ''
          example: application/json
          schema:
            type: string
        -
          in: header
          name: Accept
          description: ''
          example: application/json
          schema:
            type: string
      responses:
        200:
          description: 'Empty List'
          content:
            application/json:
              schema:
                type: object
                example:
                  items: []
                  hasNext: false
                properties:
                  items:
                    type: array
                    example: []
                  hasNext:
                    type: boolean
                    example: false
      tags:
        - Companies
      security: []
    parameters:
      -
        in: path
        name: company
        description: ''
        example: EedBDcef-dCFF-eECC-CFAe-AfefCDadCCEE
        required: true
        schema:
          type: string
  '/api/v2/companies/{company}/promotions':
    get:
      summary: 'Company Active Promotions.'
      description: ''
      parameters:
        -
          in: query
          name: v
          description: 'Api Version'
          example: 2.0.0
          required: true
          schema:
            type: string
            description: 'Api Version'
            example: 2.0.0
        -
          in: header
          name: Api-Token
          description: ''
          example: '{{YOUR_API_TOKEN}}'
          schema:
            type: string
        -
          in: header
          name: Api-Account-Token
          description: ''
          example: '{{YOUR_ACCOUNT_TOKEN}}'
          schema:
            type: string
        -
          in: header
          name: Content-Type
          description: ''
          example: application/json
          schema:
            type: string
        -
          in: header
          name: Accept
          description: ''
          example: application/json
          schema:
            type: string
      responses:
        200:
          description: 'Empty List'
          content:
            application/json:
              schema:
                type: object
                example:
                  items: []
                  hasNext: false
                properties:
                  items:
                    type: array
                    example: []
                  hasNext:
                    type: boolean
                    example: false
      tags:
        - Companies
      security: []
    parameters:
      -
        in: path
        name: company
        description: ''
        example: eacdeDaa-CbdD-FBad-baAC-bDcDECdcddDc
        required: true
        schema:
          type: string
  '/api/v2/companies/{company}/reviews':
    get:
      summary: 'Company Reviews.'
      description: ''
      parameters:
        -
          in: query
          name: offset
          description: 'Defaults to 0'
          example: 8
          required: false
          schema:
            type: integer
            description: 'Defaults to 0'
            example: 8
        -
          in: query
          name: v
          description: 'Api Version'
          example: 2.0.0
          required: true
          schema:
            type: string
            description: 'Api Version'
            example: 2.0.0
        -
          in: header
          name: Api-Token
          description: ''
          example: '{{YOUR_API_TOKEN}}'
          schema:
            type: string
        -
          in: header
          name: Api-Account-Token
          description: ''
          example: '{{YOUR_ACCOUNT_TOKEN}}'
          schema:
            type: string
        -
          in: header
          name: Content-Type
          description: ''
          example: application/json
          schema:
            type: string
        -
          in: header
          name: Accept
          description: ''
          example: application/json
          schema:
            type: string
      responses:
        200:
          description: 'Empty List'
          content:
            application/json:
              schema:
                type: object
                example:
                  items: []
                  hasNext: false
                properties:
                  items:
                    type: array
                    example: []
                  hasNext:
                    type: boolean
                    example: false
      tags:
        - Companies
      security: []
    parameters:
      -
        in: path
        name: company
        description: ''
        example: BBcdBffc-eFBa-CCEB-edBa-DaEbbdBBceDb
        required: true
        schema:
          type: string
  '/api/v2/companies/{company}/delivery-types':
    get:
      summary: 'Company Delivery Types.'
      description: 'If user location is specified than delivery types are shown accordingly to the location.'
      parameters:
        -
          in: query
          name: latitude
          description: 'Required with longitude.'
          example: 51.1213
          required: false
          schema:
            type: number
            description: 'Required with longitude.'
            example: 51.1213
        -
          in: query
          name: longitude
          description: 'Required with latitude.'
          example: 41.3232
          required: false
          schema:
            type: number
            description: 'Required with latitude.'
            example: 41.3232
        -
          in: query
          name: v
          description: 'Api Version'
          example: 2.0.0
          required: true
          schema:
            type: string
            description: 'Api Version'
            example: 2.0.0
        -
          in: header
          name: Api-Token
          description: ''
          example: '{{YOUR_API_TOKEN}}'
          schema:
            type: string
        -
          in: header
          name: Api-Account-Token
          description: ''
          example: '{{YOUR_ACCOUNT_TOKEN}}'
          schema:
            type: string
        -
          in: header
          name: Content-Type
          description: ''
          example: application/json
          schema:
            type: string
        -
          in: header
          name: Accept
          description: ''
          example: application/json
          schema:
            type: string
      responses:
        200:
          description: 'Success Example'
          content:
            application/json:
              schema:
                type: object
                example:
                  items:
                    -
                      title: 'Home delivery'
                      price: 0
                      type: 0
                      isPeopleCountAvailable: true
                    -
                      title: 'Door delivery'
                      price: 0
                      type: 1
                      isPeopleCountAvailable: true
                    -
                      title: Takeaway
                      price: 0
                      type: 2
                      isPeopleCountAvailable: true
                    -
                      title: 'Table reservation'
                      price: 0
                      type: 3
                      isPeopleCountAvailable: true
                    -
                      title: 'Serving to the table'
                      price: 0
                      type: 4
                      isPeopleCountAvailable: true
                    -
                      title: 'Room delivery'
                      price: 0
                      type: 5
                      isPeopleCountAvailable: true
                  hasNext: false
                properties:
                  items:
                    type: array
                    example:
                      -
                        title: 'Home delivery'
                        price: 0
                        type: 0
                        isPeopleCountAvailable: true
                      -
                        title: 'Door delivery'
                        price: 0
                        type: 1
                        isPeopleCountAvailable: true
                      -
                        title: Takeaway
                        price: 0
                        type: 2
                        isPeopleCountAvailable: true
                      -
                        title: 'Table reservation'
                        price: 0
                        type: 3
                        isPeopleCountAvailable: true
                      -
                        title: 'Serving to the table'
                        price: 0
                        type: 4
                        isPeopleCountAvailable: true
                      -
                        title: 'Room delivery'
                        price: 0
                        type: 5
                        isPeopleCountAvailable: true
                    items:
                      type: object
                  hasNext:
                    type: boolean
                    example: false
      tags:
        - Companies
      security: []
    parameters:
      -
        in: path
        name: company
        description: ''
        example: dEAfeAdE-DfAf-ddfF-cccA-dbBBaDfADFFb
        required: true
        schema:
          type: string
  '/api/v2/companies/{company}/recommended-items':
    get:
      summary: 'Company recommended items.'
      description: ''
      parameters:
        -
          in: query
          name: v
          description: 'Api Version'
          example: 2.0.0
          required: true
          schema:
            type: string
            description: 'Api Version'
            example: 2.0.0
        -
          in: header
          name: Api-Token
          description: ''
          example: '{{YOUR_API_TOKEN}}'
          schema:
            type: string
        -
          in: header
          name: Api-Account-Token
          description: ''
          example: '{{YOUR_ACCOUNT_TOKEN}}'
          schema:
            type: string
        -
          in: header
          name: Content-Type
          description: ''
          example: application/json
          schema:
            type: string
        -
          in: header
          name: Accept
          description: ''
          example: application/json
          schema:
            type: string
      responses:
        200:
          description: 'Empty List'
          content:
            application/json:
              schema:
                type: object
                example:
                  items: []
                  hasNext: false
                properties:
                  items:
                    type: array
                    example: []
                  hasNext:
                    type: boolean
                    example: false
      tags:
        - Companies
      security: []
    parameters:
      -
        in: path
        name: company
        description: ''
        example: dbCAdECc-CaeF-cFDf-eFEd-CfdcCcdfdEBb
        required: true
        schema:
          type: string
  '/api/v2/items/{id}':
    get:
      summary: 'Company Item Info.'
      description: ''
      parameters:
        -
          in: query
          name: v
          description: 'Api Version'
          example: 2.0.0
          required: true
          schema:
            type: string
            description: 'Api Version'
            example: 2.0.0
        -
          in: header
          name: Api-Token
          description: ''
          example: '{{YOUR_API_TOKEN}}'
          schema:
            type: string
        -
          in: header
          name: Api-Account-Token
          description: ''
          example: '{{YOUR_ACCOUNT_TOKEN}}'
          schema:
            type: string
        -
          in: header
          name: Content-Type
          description: ''
          example: application/json
          schema:
            type: string
        -
          in: header
          name: Accept
          description: ''
          example: application/json
          schema:
            type: string
      responses:
        200:
          description: ''
          content:
            text/plain:
              schema:
                type: string
                example: "{\n  \"item\": {\n    \"id\": \"d4e1623c-1def-43eb-a7c3-d9055aefed78\",\n    \"companyCategoryId\": \"60af6add-1a11-46d3-b920-770cb1598c88\",\n    \"isAvailableToOrder\": true,\n    \"name\": \"Test\",\n    \"description\": \"Description\",\n    \"fullDescription\": \"Full Description\",\n    \"measureText\": \"nme8rnmD0s Undefined\",\n    \"price\": 41,\n    \"promotionPrice\": null,\n    \"packagePrice\": 14,\n    \"maxCountPositionsInPackage\": 1,\n    \"image\": \"http://clients-api.test/uploads/images/Mt23fOPg1b-400x0.png\",\n    \"promotionsIds\": [],\n    \"modifiers\": array:1 [,\n      0: \"kTpKUEgwcD\",\n    ],\n    \"nutrientsData\": [],\n    \"promoLabelText\": null\n  },\n  \"promotions\": [],\n  \"modifierGroups\": []\n}"
      tags:
        - Companies
      security: []
    parameters:
      -
        in: path
        name: id
        description: 'The ID of the item.'
        example: nisi
        required: true
        schema:
          type: string
  /api/v2/orders:
    post:
      summary: 'Store Order.'
      description: "<aside>Note: Orders are creating asynchronously. Usually it takes 1-2 second to propagate an order. You receive an ID of creating order,\nYou may check order creation status with this ID by making <a href=\"#order-info\">order info</a> request.</aside>\n<h3>Delivery types: </h3><br>\n<p>0 - delivery to door <br>\n1 - delivery to flat <br>\n2 - pickup <br>\n3 - table booking (used when user want to book a table)<br>\n4 - order in company (used when user is in company and want to make order to table)<br>\n5 - inner order to room (used for hotels)</p>\n<h3>Payment types: </h3><br>\n<p>1 - cash<br>\n2 - online (used when user want to pay with a card or Apple Pay/GPay.)<br>\n3 - terminal (used when user want to pay with a credit card to your courier/company)</p>."
      parameters:
        -
          in: query
          name: v
          description: 'Api Version'
          example: 2.0.0
          required: true
          schema:
            type: string
            description: 'Api Version'
            example: 2.0.0
        -
          in: header
          name: Api-Auth-Token
          description: ''
          example: '{{YOUR_API_AUTH_TOKEN}}'
          schema:
            type: string
        -
          in: header
          name: Api-Token
          description: ''
          example: '{{YOUR_API_TOKEN}}'
          schema:
            type: string
        -
          in: header
          name: Api-Account-Token
          description: ''
          example: '{{YOUR_ACCOUNT_TOKEN}}'
          schema:
            type: string
        -
          in: header
          name: Content-Type
          description: ''
          example: application/json
          schema:
            type: string
        -
          in: header
          name: Accept
          description: ''
          example: application/json
          schema:
            type: string
      responses:
        200:
          description: 'Success Example'
          content:
            application/json:
              schema:
                type: object
                example:
                  id: 95760c30-ba38-48fa-ae19-5ad41cbe7749
                properties:
                  id:
                    type: string
                    example: 95760c30-ba38-48fa-ae19-5ad41cbe7749
      tags:
        - Orders
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                orderFields:
                  type: object
                  description: ''
                  example:
                    cityId: '{{cityId}}'
                  properties:
                    cityId:
                      type: uuid
                      description: 'City where you create order.'
                      example: '{{cityId}}'
                    companyId:
                      type: uuid
                      description: 'Company where you create order. Must belong to city.'
                      example: '{{companyId}}'
                    companyAddressId:
                      type: uuid
                      description: "Company Address where exactly need to prepare order.\nUsed when delivery type in [2,3,4,5] (non delivering order).\nFor orders with type 0 or 1 system will automatically use the best companyAddress.\nMust belong to company."
                      example: '{{companyAddressId}}'
                    userName:
                      type: string
                      description: 'Displayed name of user. Max 100 characters.'
                      example: Yehor
                    userPhone:
                      type: string
                      description: 'Displayed phone of user. Must be in format 380XXXXXXXXX.'
                      example: '380630001122'
                    deliveryType:
                      type: integer
                      description: 'Delivery type. Must be one of 0, 1, 2, 3, 4, or 5.'
                      example: 0
                    paymentType:
                      type: integer
                      description: 'Payment type. Must be one of 1, 2, 3.'
                      example: 1
                    deliveryTime:
                      type: integer
                      description: "Timestamp when user wants to receive order.\nUse 0 if user want to receive order as soon as possible."
                      example: 0
                    paidByCashbackAmount:
                      type: number
                      description: 'Should be specified if user has available cashback and wants to pay with it'
                      example: 0.0
                    cartItems:
                      type: string
                      description: 'Specify cart items here.'
                      example: '[{"id": {{itemId}}, "count": 2}]'
              required:
                - orderFields
  '/api/v2/orders/{id}':
    get:
      summary: 'Order info.'
      description: ''
      parameters:
        -
          in: query
          name: v
          description: 'Api Version'
          example: 2.0.0
          required: true
          schema:
            type: string
            description: 'Api Version'
            example: 2.0.0
        -
          in: header
          name: Api-Auth-Token
          description: ''
          example: '{{YOUR_API_AUTH_TOKEN}}'
          schema:
            type: string
        -
          in: header
          name: Api-Token
          description: ''
          example: '{{YOUR_API_TOKEN}}'
          schema:
            type: string
        -
          in: header
          name: Api-Account-Token
          description: ''
          example: '{{YOUR_ACCOUNT_TOKEN}}'
          schema:
            type: string
        -
          in: header
          name: Content-Type
          description: ''
          example: application/json
          schema:
            type: string
        -
          in: header
          name: Accept
          description: ''
          example: application/json
          schema:
            type: string
      responses:
        200:
          description: 'Success Example'
          content:
            application/json:
              schema:
                type: object
                example:
                  id: f2d8c084-abca-435c-a937-25bacca9650e
                  number: 976-91940
                  cityId: f68b48c2-5521-11eb-9cdd-f23c92a7f68e
                  companyId: f7bccc99-5521-11eb-9cdd-f23c92a7f68e
                  showReorderButton: false
                  companyActive: true
                  completedTime: null
                  companyName: "Jack's Burgers"
                  delivery:
                    deliveryTypeText: 'Door delivery'
                    deliveryAddress: ', '
                  deliveryTime:
                    title: 'As soon as possible'
                    type: asap
                  payment:
                    type: 2
                    title: Online
                  user:
                    name: vel
                    phone: '380630001122'
                    wishes: ''
                    peopleCount: null
                  prices:
                    itemsPrice: 198
                    packagePrice: 0
                    deliveryPrice: 55
                    promoCodeDiscountAmount: 0
                    paidByCashbackAmount: 0
                    receivingCashbackAmount: 0
                    checkPrice: 198
                    fullPrice: 253
                  items:
                    -
                      id: 68d0ecf3-5522-11eb-9cdd-f23c92a7f68e
                      count: 2
                      name: 'Signature pizza'
                      modifierValue: null
                      price: 99
                      promoPrice: null
                      isAvailableToOrder: false
                  review: null
                properties:
                  id:
                    type: string
                    example: f2d8c084-abca-435c-a937-25bacca9650e
                  number:
                    type: string
                    example: 976-91940
                  cityId:
                    type: string
                    example: f68b48c2-5521-11eb-9cdd-f23c92a7f68e
                  companyId:
                    type: string
                    example: f7bccc99-5521-11eb-9cdd-f23c92a7f68e
                  showReorderButton:
                    type: boolean
                    example: false
                  companyActive:
                    type: boolean
                    example: true
                  completedTime:
                    type: string
                    example: null
                  companyName:
                    type: string
                    example: "Jack's Burgers"
                  delivery:
                    type: object
                    example:
                      deliveryTypeText: 'Door delivery'
                      deliveryAddress: ', '
                  deliveryTime:
                    type: object
                    example:
                      title: 'As soon as possible'
                      type: asap
                  payment:
                    type: object
                    example:
                      type: 2
                      title: Online
                  user:
                    type: object
                    example:
                      name: vel
                      phone: '380630001122'
                      wishes: ''
                      peopleCount: null
                  prices:
                    type: object
                    example:
                      itemsPrice: 198
                      packagePrice: 0
                      deliveryPrice: 55
                      promoCodeDiscountAmount: 0
                      paidByCashbackAmount: 0
                      receivingCashbackAmount: 0
                      checkPrice: 198
                      fullPrice: 253
                  items:
                    type: array
                    example:
                      -
                        id: 68d0ecf3-5522-11eb-9cdd-f23c92a7f68e
                        count: 2
                        name: 'Signature pizza'
                        modifierValue: null
                        price: 99
                        promoPrice: null
                        isAvailableToOrder: false
                    items:
                      type: object
                  review:
                    type: string
                    example: null
      tags:
        - Orders
    parameters:
      -
        in: path
        name: id
        description: 'The ID of the order.'
        example: et
        required: true
        schema:
          type: string
  '/api/v2/orders/{order}/online-payment-data':
    get:
      summary: 'Online payment Data.'
      description: "When you create order system will create online payment. When it is created you need to redirect to <b>checkoutUrl</b>\nor use <b>token</b> to render payment within SDK."
      parameters:
        -
          in: query
          name: v
          description: 'Api Version'
          example: 2.0.0
          required: true
          schema:
            type: string
            description: 'Api Version'
            example: 2.0.0
        -
          in: header
          name: Api-Auth-Token
          description: ''
          example: '{{YOUR_API_AUTH_TOKEN}}'
          schema:
            type: string
        -
          in: header
          name: Api-Token
          description: ''
          example: '{{YOUR_API_TOKEN}}'
          schema:
            type: string
        -
          in: header
          name: Api-Account-Token
          description: ''
          example: '{{YOUR_ACCOUNT_TOKEN}}'
          schema:
            type: string
        -
          in: header
          name: Content-Type
          description: ''
          example: application/json
          schema:
            type: string
        -
          in: header
          name: Accept
          description: ''
          example: application/json
          schema:
            type: string
      responses:
        200:
          description: 'Success Example'
          content:
            application/json:
              schema:
                type: object
                example:
                  id: 0a9b4a1e-6ea5-4398-ad58-f1f4a8b813d2
                  status: 1
                  onlinePayment:
                    merchantId: 1440488
                    orderPrice: 21990
                    description: 'Payment for order'
                    currency: UAH
                    operationId: 15164-dots
                    token: 67c814e2593e23ede3135a16cb5bf89af5faeb33
                    commission: 0.027
                    feeAmount: 594
                    callbackUrl: 'https://jackburgersbar.com/ua/chernigov/cart/success'
                    checkoutUrl: 'https://pay.fondy.eu/merchants/61afab6b27e2c096f3ab183360792381/default/index.html?token=67c814e2593e23ede3135a16cb5bf89af5faeb33'
                    totalPrice: 22584
                properties:
                  id:
                    type: string
                    example: 0a9b4a1e-6ea5-4398-ad58-f1f4a8b813d2
                  status:
                    type: integer
                    example: 1
                  onlinePayment:
                    type: object
                    example:
                      merchantId: 1440488
                      orderPrice: 21990
                      description: 'Payment for order'
                      currency: UAH
                      operationId: 15164-dots
                      token: 67c814e2593e23ede3135a16cb5bf89af5faeb33
                      commission: 0.027
                      feeAmount: 594
                      callbackUrl: 'https://jackburgersbar.com/ua/chernigov/cart/success'
                      checkoutUrl: 'https://pay.fondy.eu/merchants/61afab6b27e2c096f3ab183360792381/default/index.html?token=67c814e2593e23ede3135a16cb5bf89af5faeb33'
                      totalPrice: 22584
      tags:
        - Orders
    parameters:
      -
        in: path
        name: order
        description: ''
        example: CbcCfCdA-dFBf-cfcf-daEB-dFaDdccDaCac
        required: true
        schema:
          type: string
  '/api/v2/orders/{order}/courier-data':
    get:
      summary: 'Order courier info.'
      description: ''
      parameters:
        -
          in: query
          name: v
          description: 'Api Version'
          example: 2.0.0
          required: true
          schema:
            type: string
            description: 'Api Version'
            example: 2.0.0
        -
          in: header
          name: Api-Auth-Token
          description: ''
          example: '{{YOUR_API_AUTH_TOKEN}}'
          schema:
            type: string
        -
          in: header
          name: Api-Token
          description: ''
          example: '{{YOUR_API_TOKEN}}'
          schema:
            type: string
        -
          in: header
          name: Api-Account-Token
          description: ''
          example: '{{YOUR_ACCOUNT_TOKEN}}'
          schema:
            type: string
        -
          in: header
          name: Content-Type
          description: ''
          example: application/json
          schema:
            type: string
        -
          in: header
          name: Accept
          description: ''
          example: application/json
          schema:
            type: string
      responses:
        200:
          description: 'Success Example'
          content:
            application/json:
              schema:
                type: object
                example:
                  courier:
                    name: 'Andrew 127'
                  courierRoute:
                    status: 10
                    duration: 54
                    lastUpdated: 1622118255
                    currentCourierPositionDTO:
                      latitude: 51.496267236017
                      longitude: 31.306502453193
                    routeCourierPositionDTOs:
                      -
                        latitude: 51.496267236017
                        longitude: 31.306502453193
                      -
                        latitude: 51.496267236017
                        longitude: 31.306502453193
                      -
                        latitude: 51.496267236017
                        longitude: 31.306502453193
                      -
                        latitude: 51.49618693554
                        longitude: 31.30643749379
                      -
                        latitude: 51.49618693554
                        longitude: 31.30643749379
                      -
                        latitude: 51.49618693554
                        longitude: 31.30643749379
                      -
                        latitude: 51.49618693554
                        longitude: 31.30643749379
                      -
                        latitude: 51.49618693554
                        longitude: 31.30643749379
                      -
                        latitude: 51.49618693554
                        longitude: 31.30643749379
                      -
                        latitude: 51.49618693554
                        longitude: 31.30643749379
                properties:
                  courier:
                    type: object
                    example:
                      name: 'Andrew 127'
                  courierRoute:
                    type: object
                    example:
                      status: 10
                      duration: 54
                      lastUpdated: 1622118255
                      currentCourierPositionDTO:
                        latitude: 51.496267236017
                        longitude: 31.306502453193
                      routeCourierPositionDTOs:
                        -
                          latitude: 51.496267236017
                          longitude: 31.306502453193
                        -
                          latitude: 51.496267236017
                          longitude: 31.306502453193
                        -
                          latitude: 51.496267236017
                          longitude: 31.306502453193
                        -
                          latitude: 51.49618693554
                          longitude: 31.30643749379
                        -
                          latitude: 51.49618693554
                          longitude: 31.30643749379
                        -
                          latitude: 51.49618693554
                          longitude: 31.30643749379
                        -
                          latitude: 51.49618693554
                          longitude: 31.30643749379
                        -
                          latitude: 51.49618693554
                          longitude: 31.30643749379
                        -
                          latitude: 51.49618693554
                          longitude: 31.30643749379
                        -
                          latitude: 51.49618693554
                          longitude: 31.30643749379
      tags:
        - Orders
    parameters:
      -
        in: path
        name: order
        description: ''
        example: AbdEabff-dfBE-BFcd-cdEb-dFAABDFFBAFF
        required: true
        schema:
          type: string
  '/api/v2/orders/{order}/decline':
    patch:
      summary: 'Decline Order.'
      description: ''
      parameters:
        -
          in: query
          name: v
          description: 'Api Version'
          example: 2.0.0
          required: true
          schema:
            type: string
            description: 'Api Version'
            example: 2.0.0
        -
          in: header
          name: Api-Auth-Token
          description: ''
          example: '{{YOUR_API_AUTH_TOKEN}}'
          schema:
            type: string
        -
          in: header
          name: Api-Token
          description: ''
          example: '{{YOUR_API_TOKEN}}'
          schema:
            type: string
        -
          in: header
          name: Api-Account-Token
          description: ''
          example: '{{YOUR_ACCOUNT_TOKEN}}'
          schema:
            type: string
        -
          in: header
          name: Content-Type
          description: ''
          example: application/json
          schema:
            type: string
        -
          in: header
          name: Accept
          description: ''
          example: application/json
          schema:
            type: string
      responses:
        200:
          description: 'Success Example'
          content:
            application/json:
              schema:
                type: array
                items:
                  type: string
                example:
                  - ok
      tags:
        - Orders
    parameters:
      -
        in: path
        name: order
        description: ''
        example: cdbBFbBB-ddAf-dCaf-dBDf-BEcdCABdDfdb
        required: true
        schema:
          type: string
  '/api/v2/orders/{order}/repeat-cart-data':
    get:
      summary: 'Get repeat order cart info.'
      description: ''
      parameters:
        -
          in: query
          name: v
          description: 'Api Version'
          example: 2.0.0
          required: true
          schema:
            type: string
            description: 'Api Version'
            example: 2.0.0
        -
          in: header
          name: Api-Auth-Token
          description: ''
          example: '{{YOUR_API_AUTH_TOKEN}}'
          schema:
            type: string
        -
          in: header
          name: Api-Token
          description: ''
          example: '{{YOUR_API_TOKEN}}'
          schema:
            type: string
        -
          in: header
          name: Api-Account-Token
          description: ''
          example: '{{YOUR_ACCOUNT_TOKEN}}'
          schema:
            type: string
        -
          in: header
          name: Content-Type
          description: ''
          example: application/json
          schema:
            type: string
        -
          in: header
          name: Accept
          description: ''
          example: application/json
          schema:
            type: string
      responses:
        200:
          description: 'Success Example'
          content:
            text/plain:
              schema:
                type: string
                example: storage/app/scribe/responses/orders/repeat/success.json
      tags:
        - Orders
    parameters:
      -
        in: path
        name: order
        description: ''
        example: FFACAaBD-ccFd-fdeC-BAfb-dfEeAcaABdfd
        required: true
        schema:
          type: string
  '/api/v2/orders/{order}/reviews':
    post:
      summary: 'Review: Store Order Review.'
      description: "<aside>Message is required for reviews with rating 4 or less.</aside>\nReviews with 5 rating will be shown in the company page immediately.\nReviews with any message will be shown only after moderation."
      parameters:
        -
          in: query
          name: v
          description: 'Api Version'
          example: 2.0.0
          required: true
          schema:
            type: string
            description: 'Api Version'
            example: 2.0.0
        -
          in: header
          name: Api-Auth-Token
          description: ''
          example: '{{YOUR_API_AUTH_TOKEN}}'
          schema:
            type: string
        -
          in: header
          name: Api-Token
          description: ''
          example: '{{YOUR_API_TOKEN}}'
          schema:
            type: string
        -
          in: header
          name: Api-Account-Token
          description: ''
          example: '{{YOUR_ACCOUNT_TOKEN}}'
          schema:
            type: string
        -
          in: header
          name: Content-Type
          description: ''
          example: application/json
          schema:
            type: string
        -
          in: header
          name: Accept
          description: ''
          example: application/json
          schema:
            type: string
      responses:
        200:
          description: 'Success Example'
          content:
            application/json:
              schema:
                type: array
                items:
                  type: string
                example:
                  - ok
      tags:
        - Orders
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                companyRating:
                  type: integer
                  description: 'Company rating must be from 1 to 5.'
                  example: 4
                companyMessage:
                  type: string
                  description: 'Company message is required only if company rating below 5. Up to 400 characters.'
                  example: 'Soup was too salty.'
                courierRating:
                  type: integer
                  description: 'Courier rating is required only if order delivery type was with 0 or 1. Must be from 1 to 5.'
                  example: 4
                courierMessage:
                  type: string
                  description: 'Courier message is required only if courier rating below 5. Up to 400 characters.'
                  example: 'Courier was late.'
              required:
                - companyRating
    parameters:
      -
        in: path
        name: order
        description: ''
        example: assumenda
        required: true
        schema:
          type: string
  '/api/v2/orders/{order_id}/reviews/{id}':
    patch:
      summary: "Review: Update order review\n<aside>Message is required for reviews with rating 4 or less.</aside>\nReviews with 5 rating will be shown in the company page immediately."
      description: 'Reviews with any message will be shown only after moderation.'
      parameters:
        -
          in: query
          name: v
          description: 'Api Version'
          example: 2.0.0
          required: true
          schema:
            type: string
            description: 'Api Version'
            example: 2.0.0
        -
          in: header
          name: Api-Auth-Token
          description: ''
          example: '{{YOUR_API_AUTH_TOKEN}}'
          schema:
            type: string
        -
          in: header
          name: Api-Token
          description: ''
          example: '{{YOUR_API_TOKEN}}'
          schema:
            type: string
        -
          in: header
          name: Api-Account-Token
          description: ''
          example: '{{YOUR_ACCOUNT_TOKEN}}'
          schema:
            type: string
        -
          in: header
          name: Content-Type
          description: ''
          example: application/json
          schema:
            type: string
        -
          in: header
          name: Accept
          description: ''
          example: application/json
          schema:
            type: string
      responses:
        200:
          description: 'Success Example'
          content:
            application/json:
              schema:
                type: array
                items:
                  type: string
                example:
                  - ok
      tags:
        - Orders
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                companyRating:
                  type: integer
                  description: 'Company rating must be from 1 to 5.'
                  example: 4
                companyMessage:
                  type: string
                  description: 'Company message is required only if company rating below 5. Up to 400 characters.'
                  example: 'Soup was too salty.'
                courierRating:
                  type: integer
                  description: 'Courier rating is required only if order delivery type was with 0 or 1. Must be from 1 to 5.'
                  example: 4
                courierMessage:
                  type: string
                  description: 'Courier message is required only if courier rating below 5. Up to 400 characters.'
                  example: 'Courier was late.'
              required:
                - companyRating
    parameters:
      -
        in: path
        name: order_id
        description: 'The ID of the order.'
        example: commodi
        required: true
        schema:
          type: string
      -
        in: path
        name: id
        description: 'The ID of the review.'
        example: quibusdam
        required: true
        schema:
          type: string
  /api/v2/user-addresses/validate:
    post:
      summary: 'Validate User Address.'
      description: "You can validate address without saving to check if user address\nis correctly recognized by and if it is in city polygon o delivery.\n\n<h3>User Address types: </h3><br>\n<p>0 - apartment<br>\n1 - private house<br>\n2 - office<br>\n3 - other</p>"
      parameters:
        -
          in: query
          name: v
          description: 'Api Version'
          example: 2.0.0
          required: true
          schema:
            type: string
            description: 'Api Version'
            example: 2.0.0
        -
          in: header
          name: Api-Token
          description: ''
          example: '{{YOUR_API_TOKEN}}'
          schema:
            type: string
        -
          in: header
          name: Api-Account-Token
          description: ''
          example: '{{YOUR_ACCOUNT_TOKEN}}'
          schema:
            type: string
        -
          in: header
          name: Content-Type
          description: ''
          example: application/json
          schema:
            type: string
        -
          in: header
          name: Accept
          description: ''
          example: application/json
          schema:
            type: string
      responses:
        200:
          description: 'Success With not found address coordinates'
          content:
            application/json:
              schema:
                type: object
                example:
                  cityId: f688da6b-5521-11eb-9cdd-f23c92a7f68e
                  type: 0
                  position: null
                  inCityPolygon: false
                  street: '2312312'
                  house: 99b
                  flat: '7'
                  stage: '3'
                  note: 'New buildings'
                  title: null
                properties:
                  cityId:
                    type: string
                    example: f688da6b-5521-11eb-9cdd-f23c92a7f68e
                  type:
                    type: integer
                    example: 0
                  position:
                    type: string
                    example: null
                  inCityPolygon:
                    type: boolean
                    example: false
                  street:
                    type: string
                    example: '2312312'
                  house:
                    type: string
                    example: 99b
                  flat:
                    type: string
                    example: '7'
                  stage:
                    type: string
                    example: '3'
                  note:
                    type: string
                    example: 'New buildings'
                  title:
                    type: string
                    example: null
        422:
          description: 'Validation fails'
          content:
            application/json:
              schema:
                type: object
                example:
                  message: 'The given data was invalid.'
                  errors:
                    cityId:
                      - validation.required
                    type:
                      - validation.required
                    street:
                      - validation.required
                    house:
                      - validation.required
                    flat:
                      - validation.required
                    stage:
                      - validation.required
                properties:
                  message:
                    type: string
                    example: 'The given data was invalid.'
                  errors:
                    type: object
                    example:
                      cityId:
                        - validation.required
                      type:
                        - validation.required
                      street:
                        - validation.required
                      house:
                        - validation.required
                      flat:
                        - validation.required
                      stage:
                        - validation.required
      tags:
        - 'User Addresses'
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                cityId:
                  type: uuid
                  description: ''
                  example: 8aa41c38-2229-427d-a6cd-b93c5d11da5c
                type:
                  type: integer
                  description: 'Must be one of [0,1,2,3].'
                  example: 0
                street:
                  type: string
                  description: 'Max 255 characters allowed.'
                  example: Shevchenko
                house:
                  type: string
                  description: 'Required if type one of [0,1,2]. Max 10 characters allowed.'
                  example: 11a
                flat:
                  type: string
                  description: 'Required if type one of [0,2]. Max 10 characters allowed.'
                  example: '7'
                stage:
                  type: string
                  description: 'Required if type is 0. Max 10 characters allowed.'
                  example: '3'
                note:
                  type: string
                  description: 'Max 100 characters allowed. User can specify some details here. Note will be shown to courier.'
                  example: 'The entrance is between bank and drugstore.'
                title:
                  type: string
                  description: 'Max 100 characters allowed. Only user will see this title. Used to quick navigation between addresses.'
                  example: 'Sweet home.'
              required:
                - cityId
                - type
                - street
      security: []
  /api/v2/user-addresses:
    post:
      summary: 'Store User Address.'
      description: 'Validation is the same as in <a href="#validate-user-address">Validate User Address</a>.'
      parameters:
        -
          in: query
          name: v
          description: 'Api Version'
          example: 2.0.0
          required: true
          schema:
            type: string
            description: 'Api Version'
            example: 2.0.0
        -
          in: header
          name: Api-Token
          description: ''
          example: '{{YOUR_API_TOKEN}}'
          schema:
            type: string
        -
          in: header
          name: Api-Account-Token
          description: ''
          example: '{{YOUR_ACCOUNT_TOKEN}}'
          schema:
            type: string
        -
          in: header
          name: Content-Type
          description: ''
          example: application/json
          schema:
            type: string
        -
          in: header
          name: Accept
          description: ''
          example: application/json
          schema:
            type: string
      responses:
        200:
          description: 'Success With not found address coordinates'
          content:
            application/json:
              schema:
                type: object
                example:
                  cityId: f688da6b-5521-11eb-9cdd-f23c92a7f68e
                  type: 0
                  position: null
                  inCityPolygon: false
                  street: '2312312'
                  house: 99b
                  flat: '7'
                  stage: '3'
                  note: 'New buildings'
                  title: null
                properties:
                  cityId:
                    type: string
                    example: f688da6b-5521-11eb-9cdd-f23c92a7f68e
                  type:
                    type: integer
                    example: 0
                  position:
                    type: string
                    example: null
                  inCityPolygon:
                    type: boolean
                    example: false
                  street:
                    type: string
                    example: '2312312'
                  house:
                    type: string
                    example: 99b
                  flat:
                    type: string
                    example: '7'
                  stage:
                    type: string
                    example: '3'
                  note:
                    type: string
                    example: 'New buildings'
                  title:
                    type: string
                    example: null
        422:
          description: 'Validation fails'
          content:
            application/json:
              schema:
                type: object
                example:
                  message: 'The given data was invalid.'
                  errors:
                    cityId:
                      - validation.required
                    type:
                      - validation.required
                    street:
                      - validation.required
                    house:
                      - validation.required
                    flat:
                      - validation.required
                    stage:
                      - validation.required
                properties:
                  message:
                    type: string
                    example: 'The given data was invalid.'
                  errors:
                    type: object
                    example:
                      cityId:
                        - validation.required
                      type:
                        - validation.required
                      street:
                        - validation.required
                      house:
                        - validation.required
                      flat:
                        - validation.required
                      stage:
                        - validation.required
      tags:
        - 'User Addresses'
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                cityId:
                  type: uuid
                  description: ''
                  example: 8aa41c38-2229-427d-a6cd-b93c5d11da5c
                type:
                  type: integer
                  description: 'Must be one of [0,1,2,3].'
                  example: 0
                street:
                  type: string
                  description: 'Max 255 characters allowed.'
                  example: Shevchenko
                house:
                  type: string
                  description: 'Required if type one of [0,1,2]. Max 10 characters allowed.'
                  example: 11a
                flat:
                  type: string
                  description: 'Required if type one of [0,2]. Max 10 characters allowed.'
                  example: '7'
                stage:
                  type: string
                  description: 'Required if type is 0. Max 10 characters allowed.'
                  example: '3'
                note:
                  type: string
                  description: 'Max 100 characters allowed. User can specify some details here. Note will be shown to courier.'
                  example: 'The entrance is between bank and drugstore.'
                title:
                  type: string
                  description: 'Max 100 characters allowed. Only user will see this title. Used to quick navigation between addresses.'
                  example: 'Sweet home.'
              required:
                - cityId
                - type
                - street
      security: []
  '/api/v2/user-addresses/{userAddress}':
    patch:
      summary: 'Update User Address.'
      description: 'Validation is the same as in <a href="#validate-user-address">Validate User Address</a>.'
      parameters:
        -
          in: query
          name: v
          description: 'Api Version'
          example: 2.0.0
          required: true
          schema:
            type: string
            description: 'Api Version'
            example: 2.0.0
        -
          in: header
          name: Api-Token
          description: ''
          example: '{{YOUR_API_TOKEN}}'
          schema:
            type: string
        -
          in: header
          name: Api-Account-Token
          description: ''
          example: '{{YOUR_ACCOUNT_TOKEN}}'
          schema:
            type: string
        -
          in: header
          name: Content-Type
          description: ''
          example: application/json
          schema:
            type: string
        -
          in: header
          name: Accept
          description: ''
          example: application/json
          schema:
            type: string
      responses:
        200:
          description: 'Success With not found address coordinates'
          content:
            application/json:
              schema:
                type: object
                example:
                  cityId: f688da6b-5521-11eb-9cdd-f23c92a7f68e
                  type: 0
                  position: null
                  inCityPolygon: false
                  street: '2312312'
                  house: 99b
                  flat: '7'
                  stage: '3'
                  note: 'New buildings'
                  title: null
                properties:
                  cityId:
                    type: string
                    example: f688da6b-5521-11eb-9cdd-f23c92a7f68e
                  type:
                    type: integer
                    example: 0
                  position:
                    type: string
                    example: null
                  inCityPolygon:
                    type: boolean
                    example: false
                  street:
                    type: string
                    example: '2312312'
                  house:
                    type: string
                    example: 99b
                  flat:
                    type: string
                    example: '7'
                  stage:
                    type: string
                    example: '3'
                  note:
                    type: string
                    example: 'New buildings'
                  title:
                    type: string
                    example: null
        422:
          description: 'Validation fails'
          content:
            application/json:
              schema:
                type: object
                example:
                  message: 'The given data was invalid.'
                  errors:
                    cityId:
                      - validation.required
                    type:
                      - validation.required
                    street:
                      - validation.required
                    house:
                      - validation.required
                    flat:
                      - validation.required
                    stage:
                      - validation.required
                properties:
                  message:
                    type: string
                    example: 'The given data was invalid.'
                  errors:
                    type: object
                    example:
                      cityId:
                        - validation.required
                      type:
                        - validation.required
                      street:
                        - validation.required
                      house:
                        - validation.required
                      flat:
                        - validation.required
                      stage:
                        - validation.required
      tags:
        - 'User Addresses'
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                cityId:
                  type: uuid
                  description: ''
                  example: 8aa41c38-2229-427d-a6cd-b93c5d11da5c
                type:
                  type: integer
                  description: 'Must be one of [0,1,2,3].'
                  example: 0
                street:
                  type: string
                  description: 'Max 255 characters allowed.'
                  example: Shevchenko
                house:
                  type: string
                  description: 'Required if type one of [0,1,2]. Max 10 characters allowed.'
                  example: 11a
                flat:
                  type: string
                  description: 'Required if type one of [0,2]. Max 10 characters allowed.'
                  example: '7'
                stage:
                  type: string
                  description: 'Required if type is 0. Max 10 characters allowed.'
                  example: '3'
                note:
                  type: string
                  description: 'Max 100 characters allowed. User can specify some details here. Note will be shown to courier.'
                  example: 'The entrance is between bank and drugstore.'
                title:
                  type: string
                  description: 'Max 100 characters allowed. Only user will see this title. Used to quick navigation between addresses.'
                  example: 'Sweet home.'
              required:
                - cityId
                - type
                - street
      security: []
    delete:
      summary: 'Destroy User Address.'
      description: ''
      parameters:
        -
          in: query
          name: v
          description: 'Api Version'
          example: 2.0.0
          required: true
          schema:
            type: string
            description: 'Api Version'
            example: 2.0.0
        -
          in: header
          name: Api-Auth-Token
          description: ''
          example: '{{YOUR_API_AUTH_TOKEN}}'
          schema:
            type: string
        -
          in: header
          name: Api-Token
          description: ''
          example: '{{YOUR_API_TOKEN}}'
          schema:
            type: string
        -
          in: header
          name: Api-Account-Token
          description: ''
          example: '{{YOUR_ACCOUNT_TOKEN}}'
          schema:
            type: string
        -
          in: header
          name: Content-Type
          description: ''
          example: application/json
          schema:
            type: string
        -
          in: header
          name: Accept
          description: ''
          example: application/json
          schema:
            type: string
      responses:
        200:
          description: 'Success Example'
          content:
            application/json:
              schema:
                type: array
                items:
                  type: string
                example:
                  - ok
      tags:
        - 'User Addresses'
    parameters:
      -
        in: path
        name: userAddress
        description: ''
        example: sequi
        required: true
        schema:
          type: string
  '/api/v2/users/{user}/orders/active':
    get:
      summary: 'User Orders: Active list.'
      description: 'Active Orders that are in progress and orders that requires review will be returned here.'
      parameters:
        -
          in: query
          name: v
          description: 'Api Version'
          example: 2.0.0
          required: true
          schema:
            type: string
            description: 'Api Version'
            example: 2.0.0
        -
          in: header
          name: Api-Auth-Token
          description: ''
          example: '{{YOUR_API_AUTH_TOKEN}}'
          schema:
            type: string
        -
          in: header
          name: Api-Token
          description: ''
          example: '{{YOUR_API_TOKEN}}'
          schema:
            type: string
        -
          in: header
          name: Api-Account-Token
          description: ''
          example: '{{YOUR_ACCOUNT_TOKEN}}'
          schema:
            type: string
        -
          in: header
          name: Content-Type
          description: ''
          example: application/json
          schema:
            type: string
        -
          in: header
          name: Accept
          description: ''
          example: application/json
          schema:
            type: string
      responses:
        401:
          description: ''
          content:
            application/json:
              schema:
                type: object
                example:
                  message: 'App Token is invalid'
                  exception: Symfony\Component\HttpKernel\Exception\HttpException
                  file: /var/www/clients-api/vendor/laravel/framework/src/Illuminate/Foundation/Application.php
                  line: 1146
                  trace:
                    -
                      file: /var/www/clients-api/vendor/laravel/framework/src/Illuminate/Foundation/helpers.php
                      line: 44
                      function: abort
                      class: Illuminate\Foundation\Application
                      type: '->'
                    -
                      file: /var/www/clients-api/app/Http/Middleware/Auth/AppAuth.php
                      line: 34
                      function: abort
                    -
                      file: /var/www/clients-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php
                      line: 180
                      function: handle
                      class: App\Http\Middleware\Auth\AppAuth
                      type: '->'
                    -
                      file: /var/www/clients-api/app/Http/Middleware/Headers/VerifyAppTokenHeader.php
                      line: 30
                      function: 'Illuminate\Pipeline\{closure}'
                      class: Illuminate\Pipeline\Pipeline
                      type: '->'
                    -
                      file: /var/www/clients-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php
                      line: 180
                      function: handle
                      class: App\Http\Middleware\Headers\VerifyAppTokenHeader
                      type: '->'
                    -
                      file: /var/www/clients-api/app/Http/Middleware/Headers/VerifyAccountTokenHeader.php
                      line: 38
                      function: 'Illuminate\Pipeline\{closure}'
                      class: Illuminate\Pipeline\Pipeline
                      type: '->'
                    -
                      file: /var/www/clients-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php
                      line: 180
                      function: handle
                      class: App\Http\Middleware\Headers\VerifyAccountTokenHeader
                      type: '->'
                    -
                      file: /var/www/clients-api/app/Http/Middleware/StoreUserApiVersion.php
                      line: 44
                      function: 'Illuminate\Pipeline\{closure}'
                      class: Illuminate\Pipeline\Pipeline
                      type: '->'
                    -
                      file: /var/www/clients-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php
                      line: 180
                      function: handle
                      class: App\Http\Middleware\StoreUserApiVersion
                      type: '->'
                    -
                      file: /var/www/clients-api/app/Http/Middleware/RestrictUnsupportedApiVersion.php
                      line: 34
                      function: 'Illuminate\Pipeline\{closure}'
                      class: Illuminate\Pipeline\Pipeline
                      type: '->'
                    -
                      file: /var/www/clients-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php
                      line: 180
                      function: handle
                      class: App\Http\Middleware\RestrictUnsupportedApiVersion
                      type: '->'
                    -
                      file: /var/www/clients-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php
                      line: 116
                      function: 'Illuminate\Pipeline\{closure}'
                      class: Illuminate\Pipeline\Pipeline
                      type: '->'
                    -
                      file: /var/www/clients-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php
                      line: 726
                      function: then
                      class: Illuminate\Pipeline\Pipeline
                      type: '->'
                    -
                      file: /var/www/clients-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php
                      line: 703
                      function: runRouteWithinStack
                      class: Illuminate\Routing\Router
                      type: '->'
                    -
                      file: /var/www/clients-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php
                      line: 667
                      function: runRoute
                      class: Illuminate\Routing\Router
                      type: '->'
                    -
                      file: /var/www/clients-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php
                      line: 656
                      function: dispatchToRoute
                      class: Illuminate\Routing\Router
                      type: '->'
                    -
                      file: /var/www/clients-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php
                      line: 167
                      function: dispatch
                      class: Illuminate\Routing\Router
                      type: '->'
                    -
                      file: /var/www/clients-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php
                      line: 141
                      function: 'Illuminate\Foundation\Http\{closure}'
                      class: Illuminate\Foundation\Http\Kernel
                      type: '->'
                    -
                      file: /var/www/clients-api/vendor/laravel/vapor-core/src/Http/Middleware/ServeStaticAssets.php
                      line: 21
                      function: 'Illuminate\Pipeline\{closure}'
                      class: Illuminate\Pipeline\Pipeline
                      type: '->'
                    -
                      file: /var/www/clients-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php
                      line: 180
                      function: handle
                      class: Laravel\Vapor\Http\Middleware\ServeStaticAssets
                      type: '->'
                    -
                      file: /var/www/clients-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php
                      line: 21
                      function: 'Illuminate\Pipeline\{closure}'
                      class: Illuminate\Pipeline\Pipeline
                      type: '->'
                    -
                      file: /var/www/clients-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/ConvertEmptyStringsToNull.php
                      line: 31
                      function: handle
                      class: Illuminate\Foundation\Http\Middleware\TransformsRequest
                      type: '->'
                    -
                      file: /var/www/clients-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php
                      line: 180
                      function: handle
                      class: Illuminate\Foundation\Http\Middleware\ConvertEmptyStringsToNull
                      type: '->'
                    -
                      file: /var/www/clients-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php
                      line: 21
                      function: 'Illuminate\Pipeline\{closure}'
                      class: Illuminate\Pipeline\Pipeline
                      type: '->'
                    -
                      file: /var/www/clients-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TrimStrings.php
                      line: 40
                      function: handle
                      class: Illuminate\Foundation\Http\Middleware\TransformsRequest
                      type: '->'
                    -
                      file: /var/www/clients-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php
                      line: 180
                      function: handle
                      class: Illuminate\Foundation\Http\Middleware\TrimStrings
                      type: '->'
                    -
                      file: /var/www/clients-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/ValidatePostSize.php
                      line: 27
                      function: 'Illuminate\Pipeline\{closure}'
                      class: Illuminate\Pipeline\Pipeline
                      type: '->'
                    -
                      file: /var/www/clients-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php
                      line: 180
                      function: handle
                      class: Illuminate\Foundation\Http\Middleware\ValidatePostSize
                      type: '->'
                    -
                      file: /var/www/clients-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/PreventRequestsDuringMaintenance.php
                      line: 86
                      function: 'Illuminate\Pipeline\{closure}'
                      class: Illuminate\Pipeline\Pipeline
                      type: '->'
                    -
                      file: /var/www/clients-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php
                      line: 180
                      function: handle
                      class: Illuminate\Foundation\Http\Middleware\PreventRequestsDuringMaintenance
                      type: '->'
                    -
                      file: /var/www/clients-api/vendor/laravel/framework/src/Illuminate/Http/Middleware/HandleCors.php
                      line: 62
                      function: 'Illuminate\Pipeline\{closure}'
                      class: Illuminate\Pipeline\Pipeline
                      type: '->'
                    -
                      file: /var/www/clients-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php
                      line: 180
                      function: handle
                      class: Illuminate\Http\Middleware\HandleCors
                      type: '->'
                    -
                      file: /var/www/clients-api/vendor/laravel/framework/src/Illuminate/Http/Middleware/TrustProxies.php
                      line: 39
                      function: 'Illuminate\Pipeline\{closure}'
                      class: Illuminate\Pipeline\Pipeline
                      type: '->'
                    -
                      file: /var/www/clients-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php
                      line: 180
                      function: handle
                      class: Illuminate\Http\Middleware\TrustProxies
                      type: '->'
                    -
                      file: /var/www/clients-api/vendor/laravel/framework/src/Illuminate/Http/Middleware/TrustHosts.php
                      line: 48
                      function: 'Illuminate\Pipeline\{closure}'
                      class: Illuminate\Pipeline\Pipeline
                      type: '->'
                    -
                      file: /var/www/clients-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php
                      line: 180
                      function: handle
                      class: Illuminate\Http\Middleware\TrustHosts
                      type: '->'
                    -
                      file: /var/www/clients-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php
                      line: 116
                      function: 'Illuminate\Pipeline\{closure}'
                      class: Illuminate\Pipeline\Pipeline
                      type: '->'
                    -
                      file: /var/www/clients-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php
                      line: 142
                      function: then
                      class: Illuminate\Pipeline\Pipeline
                      type: '->'
                    -
                      file: /var/www/clients-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php
                      line: 111
                      function: sendRequestThroughRouter
                      class: Illuminate\Foundation\Http\Kernel
                      type: '->'
                    -
                      file: /var/www/clients-api/vendor/knuckleswtf/scribe/src/Extracting/Strategies/Responses/ResponseCalls.php
                      line: 299
                      function: handle
                      class: Illuminate\Foundation\Http\Kernel
                      type: '->'
                    -
                      file: /var/www/clients-api/vendor/knuckleswtf/scribe/src/Extracting/Strategies/Responses/ResponseCalls.php
                      line: 287
                      function: callLaravelOrLumenRoute
                      class: Knuckles\Scribe\Extracting\Strategies\Responses\ResponseCalls
                      type: '->'
                    -
                      file: /var/www/clients-api/vendor/knuckleswtf/scribe/src/Extracting/Strategies/Responses/ResponseCalls.php
                      line: 89
                      function: makeApiCall
                      class: Knuckles\Scribe\Extracting\Strategies\Responses\ResponseCalls
                      type: '->'
                    -
                      file: /var/www/clients-api/vendor/knuckleswtf/scribe/src/Extracting/Strategies/Responses/ResponseCalls.php
                      line: 45
                      function: makeResponseCall
                      class: Knuckles\Scribe\Extracting\Strategies\Responses\ResponseCalls
                      type: '->'
                    -
                      file: /var/www/clients-api/vendor/knuckleswtf/scribe/src/Extracting/Strategies/Responses/ResponseCalls.php
                      line: 35
                      function: makeResponseCallIfConditionsPass
                      class: Knuckles\Scribe\Extracting\Strategies\Responses\ResponseCalls
                      type: '->'
                    -
                      file: /var/www/clients-api/vendor/knuckleswtf/scribe/src/Extracting/Extractor.php
                      line: 222
                      function: __invoke
                      class: Knuckles\Scribe\Extracting\Strategies\Responses\ResponseCalls
                      type: '->'
                    -
                      file: /var/www/clients-api/vendor/knuckleswtf/scribe/src/Extracting/Extractor.php
                      line: 179
                      function: iterateThroughStrategies
                      class: Knuckles\Scribe\Extracting\Extractor
                      type: '->'
                    -
                      file: /var/www/clients-api/vendor/knuckleswtf/scribe/src/Extracting/Extractor.php
                      line: 116
                      function: fetchResponses
                      class: Knuckles\Scribe\Extracting\Extractor
                      type: '->'
                    -
                      file: /var/www/clients-api/vendor/knuckleswtf/scribe/src/GroupedEndpoints/GroupedEndpointsFromApp.php
                      line: 123
                      function: processRoute
                      class: Knuckles\Scribe\Extracting\Extractor
                      type: '->'
                    -
                      file: /var/www/clients-api/vendor/knuckleswtf/scribe/src/GroupedEndpoints/GroupedEndpointsFromApp.php
                      line: 80
                      function: extractEndpointsInfoFromLaravelApp
                      class: Knuckles\Scribe\GroupedEndpoints\GroupedEndpointsFromApp
                      type: '->'
                    -
                      file: /var/www/clients-api/vendor/knuckleswtf/scribe/src/GroupedEndpoints/GroupedEndpointsFromApp.php
                      line: 56
                      function: extractEndpointsInfoAndWriteToDisk
                      class: Knuckles\Scribe\GroupedEndpoints\GroupedEndpointsFromApp
                      type: '->'
                    -
                      file: /var/www/clients-api/vendor/knuckleswtf/scribe/src/Commands/GenerateDocumentation.php
                      line: 55
                      function: get
                      class: Knuckles\Scribe\GroupedEndpoints\GroupedEndpointsFromApp
                      type: '->'
                    -
                      file: /var/www/clients-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php
                      line: 36
                      function: handle
                      class: Knuckles\Scribe\Commands\GenerateDocumentation
                      type: '->'
                    -
                      file: /var/www/clients-api/vendor/laravel/framework/src/Illuminate/Container/Util.php
                      line: 41
                      function: 'Illuminate\Container\{closure}'
                      class: Illuminate\Container\BoundMethod
                      type: '::'
                    -
                      file: /var/www/clients-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php
                      line: 93
                      function: unwrapIfClosure
                      class: Illuminate\Container\Util
                      type: '::'
                    -
                      file: /var/www/clients-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php
                      line: 37
                      function: callBoundMethod
                      class: Illuminate\Container\BoundMethod
                      type: '::'
                    -
                      file: /var/www/clients-api/vendor/laravel/framework/src/Illuminate/Container/Container.php
                      line: 651
                      function: call
                      class: Illuminate\Container\BoundMethod
                      type: '::'
                    -
                      file: /var/www/clients-api/vendor/laravel/framework/src/Illuminate/Console/Command.php
                      line: 136
                      function: call
                      class: Illuminate\Container\Container
                      type: '->'
                    -
                      file: /var/www/clients-api/vendor/symfony/console/Command/Command.php
                      line: 308
                      function: execute
                      class: Illuminate\Console\Command
                      type: '->'
                    -
                      file: /var/www/clients-api/vendor/laravel/framework/src/Illuminate/Console/Command.php
                      line: 121
                      function: run
                      class: Symfony\Component\Console\Command\Command
                      type: '->'
                    -
                      file: /var/www/clients-api/vendor/symfony/console/Application.php
                      line: 998
                      function: run
                      class: Illuminate\Console\Command
                      type: '->'
                    -
                      file: /var/www/clients-api/vendor/symfony/console/Application.php
                      line: 299
                      function: doRunCommand
                      class: Symfony\Component\Console\Application
                      type: '->'
                    -
                      file: /var/www/clients-api/vendor/symfony/console/Application.php
                      line: 171
                      function: doRun
                      class: Symfony\Component\Console\Application
                      type: '->'
                    -
                      file: /var/www/clients-api/vendor/laravel/framework/src/Illuminate/Console/Application.php
                      line: 102
                      function: run
                      class: Symfony\Component\Console\Application
                      type: '->'
                    -
                      file: /var/www/clients-api/vendor/laravel/framework/src/Illuminate/Foundation/Console/Kernel.php
                      line: 129
                      function: run
                      class: Illuminate\Console\Application
                      type: '->'
                    -
                      file: /var/www/clients-api/artisan
                      line: 37
                      function: handle
                      class: Illuminate\Foundation\Console\Kernel
                      type: '->'
                properties:
                  message:
                    type: string
                    example: 'App Token is invalid'
                  exception:
                    type: string
                    example: Symfony\Component\HttpKernel\Exception\HttpException
                  file:
                    type: string
                    example: /var/www/clients-api/vendor/laravel/framework/src/Illuminate/Foundation/Application.php
                  line:
                    type: integer
                    example: 1146
                  trace:
                    type: array
                    example:
                      -
                        file: /var/www/clients-api/vendor/laravel/framework/src/Illuminate/Foundation/helpers.php
                        line: 44
                        function: abort
                        class: Illuminate\Foundation\Application
                        type: '->'
                      -
                        file: /var/www/clients-api/app/Http/Middleware/Auth/AppAuth.php
                        line: 34
                        function: abort
                      -
                        file: /var/www/clients-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php
                        line: 180
                        function: handle
                        class: App\Http\Middleware\Auth\AppAuth
                        type: '->'
                      -
                        file: /var/www/clients-api/app/Http/Middleware/Headers/VerifyAppTokenHeader.php
                        line: 30
                        function: 'Illuminate\Pipeline\{closure}'
                        class: Illuminate\Pipeline\Pipeline
                        type: '->'
                      -
                        file: /var/www/clients-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php
                        line: 180
                        function: handle
                        class: App\Http\Middleware\Headers\VerifyAppTokenHeader
                        type: '->'
                      -
                        file: /var/www/clients-api/app/Http/Middleware/Headers/VerifyAccountTokenHeader.php
                        line: 38
                        function: 'Illuminate\Pipeline\{closure}'
                        class: Illuminate\Pipeline\Pipeline
                        type: '->'
                      -
                        file: /var/www/clients-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php
                        line: 180
                        function: handle
                        class: App\Http\Middleware\Headers\VerifyAccountTokenHeader
                        type: '->'
                      -
                        file: /var/www/clients-api/app/Http/Middleware/StoreUserApiVersion.php
                        line: 44
                        function: 'Illuminate\Pipeline\{closure}'
                        class: Illuminate\Pipeline\Pipeline
                        type: '->'
                      -
                        file: /var/www/clients-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php
                        line: 180
                        function: handle
                        class: App\Http\Middleware\StoreUserApiVersion
                        type: '->'
                      -
                        file: /var/www/clients-api/app/Http/Middleware/RestrictUnsupportedApiVersion.php
                        line: 34
                        function: 'Illuminate\Pipeline\{closure}'
                        class: Illuminate\Pipeline\Pipeline
                        type: '->'
                      -
                        file: /var/www/clients-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php
                        line: 180
                        function: handle
                        class: App\Http\Middleware\RestrictUnsupportedApiVersion
                        type: '->'
                      -
                        file: /var/www/clients-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php
                        line: 116
                        function: 'Illuminate\Pipeline\{closure}'
                        class: Illuminate\Pipeline\Pipeline
                        type: '->'
                      -
                        file: /var/www/clients-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php
                        line: 726
                        function: then
                        class: Illuminate\Pipeline\Pipeline
                        type: '->'
                      -
                        file: /var/www/clients-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php
                        line: 703
                        function: runRouteWithinStack
                        class: Illuminate\Routing\Router
                        type: '->'
                      -
                        file: /var/www/clients-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php
                        line: 667
                        function: runRoute
                        class: Illuminate\Routing\Router
                        type: '->'
                      -
                        file: /var/www/clients-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php
                        line: 656
                        function: dispatchToRoute
                        class: Illuminate\Routing\Router
                        type: '->'
                      -
                        file: /var/www/clients-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php
                        line: 167
                        function: dispatch
                        class: Illuminate\Routing\Router
                        type: '->'
                      -
                        file: /var/www/clients-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php
                        line: 141
                        function: 'Illuminate\Foundation\Http\{closure}'
                        class: Illuminate\Foundation\Http\Kernel
                        type: '->'
                      -
                        file: /var/www/clients-api/vendor/laravel/vapor-core/src/Http/Middleware/ServeStaticAssets.php
                        line: 21
                        function: 'Illuminate\Pipeline\{closure}'
                        class: Illuminate\Pipeline\Pipeline
                        type: '->'
                      -
                        file: /var/www/clients-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php
                        line: 180
                        function: handle
                        class: Laravel\Vapor\Http\Middleware\ServeStaticAssets
                        type: '->'
                      -
                        file: /var/www/clients-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php
                        line: 21
                        function: 'Illuminate\Pipeline\{closure}'
                        class: Illuminate\Pipeline\Pipeline
                        type: '->'
                      -
                        file: /var/www/clients-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/ConvertEmptyStringsToNull.php
                        line: 31
                        function: handle
                        class: Illuminate\Foundation\Http\Middleware\TransformsRequest
                        type: '->'
                      -
                        file: /var/www/clients-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php
                        line: 180
                        function: handle
                        class: Illuminate\Foundation\Http\Middleware\ConvertEmptyStringsToNull
                        type: '->'
                      -
                        file: /var/www/clients-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php
                        line: 21
                        function: 'Illuminate\Pipeline\{closure}'
                        class: Illuminate\Pipeline\Pipeline
                        type: '->'
                      -
                        file: /var/www/clients-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TrimStrings.php
                        line: 40
                        function: handle
                        class: Illuminate\Foundation\Http\Middleware\TransformsRequest
                        type: '->'
                      -
                        file: /var/www/clients-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php
                        line: 180
                        function: handle
                        class: Illuminate\Foundation\Http\Middleware\TrimStrings
                        type: '->'
                      -
                        file: /var/www/clients-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/ValidatePostSize.php
                        line: 27
                        function: 'Illuminate\Pipeline\{closure}'
                        class: Illuminate\Pipeline\Pipeline
                        type: '->'
                      -
                        file: /var/www/clients-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php
                        line: 180
                        function: handle
                        class: Illuminate\Foundation\Http\Middleware\ValidatePostSize
                        type: '->'
                      -
                        file: /var/www/clients-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/PreventRequestsDuringMaintenance.php
                        line: 86
                        function: 'Illuminate\Pipeline\{closure}'
                        class: Illuminate\Pipeline\Pipeline
                        type: '->'
                      -
                        file: /var/www/clients-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php
                        line: 180
                        function: handle
                        class: Illuminate\Foundation\Http\Middleware\PreventRequestsDuringMaintenance
                        type: '->'
                      -
                        file: /var/www/clients-api/vendor/laravel/framework/src/Illuminate/Http/Middleware/HandleCors.php
                        line: 62
                        function: 'Illuminate\Pipeline\{closure}'
                        class: Illuminate\Pipeline\Pipeline
                        type: '->'
                      -
                        file: /var/www/clients-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php
                        line: 180
                        function: handle
                        class: Illuminate\Http\Middleware\HandleCors
                        type: '->'
                      -
                        file: /var/www/clients-api/vendor/laravel/framework/src/Illuminate/Http/Middleware/TrustProxies.php
                        line: 39
                        function: 'Illuminate\Pipeline\{closure}'
                        class: Illuminate\Pipeline\Pipeline
                        type: '->'
                      -
                        file: /var/www/clients-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php
                        line: 180
                        function: handle
                        class: Illuminate\Http\Middleware\TrustProxies
                        type: '->'
                      -
                        file: /var/www/clients-api/vendor/laravel/framework/src/Illuminate/Http/Middleware/TrustHosts.php
                        line: 48
                        function: 'Illuminate\Pipeline\{closure}'
                        class: Illuminate\Pipeline\Pipeline
                        type: '->'
                      -
                        file: /var/www/clients-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php
                        line: 180
                        function: handle
                        class: Illuminate\Http\Middleware\TrustHosts
                        type: '->'
                      -
                        file: /var/www/clients-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php
                        line: 116
                        function: 'Illuminate\Pipeline\{closure}'
                        class: Illuminate\Pipeline\Pipeline
                        type: '->'
                      -
                        file: /var/www/clients-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php
                        line: 142
                        function: then
                        class: Illuminate\Pipeline\Pipeline
                        type: '->'
                      -
                        file: /var/www/clients-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php
                        line: 111
                        function: sendRequestThroughRouter
                        class: Illuminate\Foundation\Http\Kernel
                        type: '->'
                      -
                        file: /var/www/clients-api/vendor/knuckleswtf/scribe/src/Extracting/Strategies/Responses/ResponseCalls.php
                        line: 299
                        function: handle
                        class: Illuminate\Foundation\Http\Kernel
                        type: '->'
                      -
                        file: /var/www/clients-api/vendor/knuckleswtf/scribe/src/Extracting/Strategies/Responses/ResponseCalls.php
                        line: 287
                        function: callLaravelOrLumenRoute
                        class: Knuckles\Scribe\Extracting\Strategies\Responses\ResponseCalls
                        type: '->'
                      -
                        file: /var/www/clients-api/vendor/knuckleswtf/scribe/src/Extracting/Strategies/Responses/ResponseCalls.php
                        line: 89
                        function: makeApiCall
                        class: Knuckles\Scribe\Extracting\Strategies\Responses\ResponseCalls
                        type: '->'
                      -
                        file: /var/www/clients-api/vendor/knuckleswtf/scribe/src/Extracting/Strategies/Responses/ResponseCalls.php
                        line: 45
                        function: makeResponseCall
                        class: Knuckles\Scribe\Extracting\Strategies\Responses\ResponseCalls
                        type: '->'
                      -
                        file: /var/www/clients-api/vendor/knuckleswtf/scribe/src/Extracting/Strategies/Responses/ResponseCalls.php
                        line: 35
                        function: makeResponseCallIfConditionsPass
                        class: Knuckles\Scribe\Extracting\Strategies\Responses\ResponseCalls
                        type: '->'
                      -
                        file: /var/www/clients-api/vendor/knuckleswtf/scribe/src/Extracting/Extractor.php
                        line: 222
                        function: __invoke
                        class: Knuckles\Scribe\Extracting\Strategies\Responses\ResponseCalls
                        type: '->'
                      -
                        file: /var/www/clients-api/vendor/knuckleswtf/scribe/src/Extracting/Extractor.php
                        line: 179
                        function: iterateThroughStrategies
                        class: Knuckles\Scribe\Extracting\Extractor
                        type: '->'
                      -
                        file: /var/www/clients-api/vendor/knuckleswtf/scribe/src/Extracting/Extractor.php
                        line: 116
                        function: fetchResponses
                        class: Knuckles\Scribe\Extracting\Extractor
                        type: '->'
                      -
                        file: /var/www/clients-api/vendor/knuckleswtf/scribe/src/GroupedEndpoints/GroupedEndpointsFromApp.php
                        line: 123
                        function: processRoute
                        class: Knuckles\Scribe\Extracting\Extractor
                        type: '->'
                      -
                        file: /var/www/clients-api/vendor/knuckleswtf/scribe/src/GroupedEndpoints/GroupedEndpointsFromApp.php
                        line: 80
                        function: extractEndpointsInfoFromLaravelApp
                        class: Knuckles\Scribe\GroupedEndpoints\GroupedEndpointsFromApp
                        type: '->'
                      -
                        file: /var/www/clients-api/vendor/knuckleswtf/scribe/src/GroupedEndpoints/GroupedEndpointsFromApp.php
                        line: 56
                        function: extractEndpointsInfoAndWriteToDisk
                        class: Knuckles\Scribe\GroupedEndpoints\GroupedEndpointsFromApp
                        type: '->'
                      -
                        file: /var/www/clients-api/vendor/knuckleswtf/scribe/src/Commands/GenerateDocumentation.php
                        line: 55
                        function: get
                        class: Knuckles\Scribe\GroupedEndpoints\GroupedEndpointsFromApp
                        type: '->'
                      -
                        file: /var/www/clients-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php
                        line: 36
                        function: handle
                        class: Knuckles\Scribe\Commands\GenerateDocumentation
                        type: '->'
                      -
                        file: /var/www/clients-api/vendor/laravel/framework/src/Illuminate/Container/Util.php
                        line: 41
                        function: 'Illuminate\Container\{closure}'
                        class: Illuminate\Container\BoundMethod
                        type: '::'
                      -
                        file: /var/www/clients-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php
                        line: 93
                        function: unwrapIfClosure
                        class: Illuminate\Container\Util
                        type: '::'
                      -
                        file: /var/www/clients-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php
                        line: 37
                        function: callBoundMethod
                        class: Illuminate\Container\BoundMethod
                        type: '::'
                      -
                        file: /var/www/clients-api/vendor/laravel/framework/src/Illuminate/Container/Container.php
                        line: 651
                        function: call
                        class: Illuminate\Container\BoundMethod
                        type: '::'
                      -
                        file: /var/www/clients-api/vendor/laravel/framework/src/Illuminate/Console/Command.php
                        line: 136
                        function: call
                        class: Illuminate\Container\Container
                        type: '->'
                      -
                        file: /var/www/clients-api/vendor/symfony/console/Command/Command.php
                        line: 308
                        function: execute
                        class: Illuminate\Console\Command
                        type: '->'
                      -
                        file: /var/www/clients-api/vendor/laravel/framework/src/Illuminate/Console/Command.php
                        line: 121
                        function: run
                        class: Symfony\Component\Console\Command\Command
                        type: '->'
                      -
                        file: /var/www/clients-api/vendor/symfony/console/Application.php
                        line: 998
                        function: run
                        class: Illuminate\Console\Command
                        type: '->'
                      -
                        file: /var/www/clients-api/vendor/symfony/console/Application.php
                        line: 299
                        function: doRunCommand
                        class: Symfony\Component\Console\Application
                        type: '->'
                      -
                        file: /var/www/clients-api/vendor/symfony/console/Application.php
                        line: 171
                        function: doRun
                        class: Symfony\Component\Console\Application
                        type: '->'
                      -
                        file: /var/www/clients-api/vendor/laravel/framework/src/Illuminate/Console/Application.php
                        line: 102
                        function: run
                        class: Symfony\Component\Console\Application
                        type: '->'
                      -
                        file: /var/www/clients-api/vendor/laravel/framework/src/Illuminate/Foundation/Console/Kernel.php
                        line: 129
                        function: run
                        class: Illuminate\Console\Application
                        type: '->'
                      -
                        file: /var/www/clients-api/artisan
                        line: 37
                        function: handle
                        class: Illuminate\Foundation\Console\Kernel
                        type: '->'
                    items:
                      type: object
      tags:
        - Users
    parameters:
      -
        in: path
        name: user
        description: ''
        example: sed
        required: true
        schema:
          type: string
  '/api/v2/users/{user}/orders/history':
    get:
      summary: 'User Orders: History list.'
      description: ''
      parameters:
        -
          in: query
          name: v
          description: 'Api Version'
          example: 2.0.0
          required: true
          schema:
            type: string
            description: 'Api Version'
            example: 2.0.0
        -
          in: header
          name: Api-Auth-Token
          description: ''
          example: '{{YOUR_API_AUTH_TOKEN}}'
          schema:
            type: string
        -
          in: header
          name: Api-Token
          description: ''
          example: '{{YOUR_API_TOKEN}}'
          schema:
            type: string
        -
          in: header
          name: Api-Account-Token
          description: ''
          example: '{{YOUR_ACCOUNT_TOKEN}}'
          schema:
            type: string
        -
          in: header
          name: Content-Type
          description: ''
          example: application/json
          schema:
            type: string
        -
          in: header
          name: Accept
          description: ''
          example: application/json
          schema:
            type: string
      responses:
        200:
          description: ''
          content:
            text/plain:
              schema:
                type: string
                example: "{\n\n \"items\": [{\n   \"id\" => \"fb6be6bd-9089-4408-8837-89f27897745b\",\n   \"status\" => \"7\",\n   \"title\" => \"19.05.2021 - Test - #111-11111\",\n }],\n \"hasNext\": false"
      tags:
        - Users
    parameters:
      -
        in: path
        name: user
        description: ''
        example: repellat
        required: true
        schema:
          type: string
  '/api/v2/users/{id}':
    get:
      summary: 'User Info.'
      description: ''
      parameters:
        -
          in: query
          name: v
          description: 'Api Version'
          example: 2.0.0
          required: true
          schema:
            type: string
            description: 'Api Version'
            example: 2.0.0
        -
          in: header
          name: Api-Auth-Token
          description: ''
          example: '{{YOUR_API_AUTH_TOKEN}}'
          schema:
            type: string
        -
          in: header
          name: Api-Token
          description: ''
          example: '{{YOUR_API_TOKEN}}'
          schema:
            type: string
        -
          in: header
          name: Api-Account-Token
          description: ''
          example: '{{YOUR_ACCOUNT_TOKEN}}'
          schema:
            type: string
        -
          in: header
          name: Content-Type
          description: ''
          example: application/json
          schema:
            type: string
        -
          in: header
          name: Accept
          description: ''
          example: application/json
          schema:
            type: string
      responses:
        401:
          description: ''
          content:
            application/json:
              schema:
                type: object
                example:
                  message: 'App Token is invalid'
                  exception: Symfony\Component\HttpKernel\Exception\HttpException
                  file: /var/www/clients-api/vendor/laravel/framework/src/Illuminate/Foundation/Application.php
                  line: 1146
                  trace:
                    -
                      file: /var/www/clients-api/vendor/laravel/framework/src/Illuminate/Foundation/helpers.php
                      line: 44
                      function: abort
                      class: Illuminate\Foundation\Application
                      type: '->'
                    -
                      file: /var/www/clients-api/app/Http/Middleware/Auth/AppAuth.php
                      line: 34
                      function: abort
                    -
                      file: /var/www/clients-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php
                      line: 180
                      function: handle
                      class: App\Http\Middleware\Auth\AppAuth
                      type: '->'
                    -
                      file: /var/www/clients-api/app/Http/Middleware/Headers/VerifyAppTokenHeader.php
                      line: 30
                      function: 'Illuminate\Pipeline\{closure}'
                      class: Illuminate\Pipeline\Pipeline
                      type: '->'
                    -
                      file: /var/www/clients-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php
                      line: 180
                      function: handle
                      class: App\Http\Middleware\Headers\VerifyAppTokenHeader
                      type: '->'
                    -
                      file: /var/www/clients-api/app/Http/Middleware/Headers/VerifyAccountTokenHeader.php
                      line: 38
                      function: 'Illuminate\Pipeline\{closure}'
                      class: Illuminate\Pipeline\Pipeline
                      type: '->'
                    -
                      file: /var/www/clients-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php
                      line: 180
                      function: handle
                      class: App\Http\Middleware\Headers\VerifyAccountTokenHeader
                      type: '->'
                    -
                      file: /var/www/clients-api/app/Http/Middleware/StoreUserApiVersion.php
                      line: 44
                      function: 'Illuminate\Pipeline\{closure}'
                      class: Illuminate\Pipeline\Pipeline
                      type: '->'
                    -
                      file: /var/www/clients-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php
                      line: 180
                      function: handle
                      class: App\Http\Middleware\StoreUserApiVersion
                      type: '->'
                    -
                      file: /var/www/clients-api/app/Http/Middleware/RestrictUnsupportedApiVersion.php
                      line: 34
                      function: 'Illuminate\Pipeline\{closure}'
                      class: Illuminate\Pipeline\Pipeline
                      type: '->'
                    -
                      file: /var/www/clients-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php
                      line: 180
                      function: handle
                      class: App\Http\Middleware\RestrictUnsupportedApiVersion
                      type: '->'
                    -
                      file: /var/www/clients-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php
                      line: 116
                      function: 'Illuminate\Pipeline\{closure}'
                      class: Illuminate\Pipeline\Pipeline
                      type: '->'
                    -
                      file: /var/www/clients-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php
                      line: 726
                      function: then
                      class: Illuminate\Pipeline\Pipeline
                      type: '->'
                    -
                      file: /var/www/clients-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php
                      line: 703
                      function: runRouteWithinStack
                      class: Illuminate\Routing\Router
                      type: '->'
                    -
                      file: /var/www/clients-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php
                      line: 667
                      function: runRoute
                      class: Illuminate\Routing\Router
                      type: '->'
                    -
                      file: /var/www/clients-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php
                      line: 656
                      function: dispatchToRoute
                      class: Illuminate\Routing\Router
                      type: '->'
                    -
                      file: /var/www/clients-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php
                      line: 167
                      function: dispatch
                      class: Illuminate\Routing\Router
                      type: '->'
                    -
                      file: /var/www/clients-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php
                      line: 141
                      function: 'Illuminate\Foundation\Http\{closure}'
                      class: Illuminate\Foundation\Http\Kernel
                      type: '->'
                    -
                      file: /var/www/clients-api/vendor/laravel/vapor-core/src/Http/Middleware/ServeStaticAssets.php
                      line: 21
                      function: 'Illuminate\Pipeline\{closure}'
                      class: Illuminate\Pipeline\Pipeline
                      type: '->'
                    -
                      file: /var/www/clients-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php
                      line: 180
                      function: handle
                      class: Laravel\Vapor\Http\Middleware\ServeStaticAssets
                      type: '->'
                    -
                      file: /var/www/clients-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php
                      line: 21
                      function: 'Illuminate\Pipeline\{closure}'
                      class: Illuminate\Pipeline\Pipeline
                      type: '->'
                    -
                      file: /var/www/clients-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/ConvertEmptyStringsToNull.php
                      line: 31
                      function: handle
                      class: Illuminate\Foundation\Http\Middleware\TransformsRequest
                      type: '->'
                    -
                      file: /var/www/clients-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php
                      line: 180
                      function: handle
                      class: Illuminate\Foundation\Http\Middleware\ConvertEmptyStringsToNull
                      type: '->'
                    -
                      file: /var/www/clients-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php
                      line: 21
                      function: 'Illuminate\Pipeline\{closure}'
                      class: Illuminate\Pipeline\Pipeline
                      type: '->'
                    -
                      file: /var/www/clients-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TrimStrings.php
                      line: 40
                      function: handle
                      class: Illuminate\Foundation\Http\Middleware\TransformsRequest
                      type: '->'
                    -
                      file: /var/www/clients-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php
                      line: 180
                      function: handle
                      class: Illuminate\Foundation\Http\Middleware\TrimStrings
                      type: '->'
                    -
                      file: /var/www/clients-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/ValidatePostSize.php
                      line: 27
                      function: 'Illuminate\Pipeline\{closure}'
                      class: Illuminate\Pipeline\Pipeline
                      type: '->'
                    -
                      file: /var/www/clients-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php
                      line: 180
                      function: handle
                      class: Illuminate\Foundation\Http\Middleware\ValidatePostSize
                      type: '->'
                    -
                      file: /var/www/clients-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/PreventRequestsDuringMaintenance.php
                      line: 86
                      function: 'Illuminate\Pipeline\{closure}'
                      class: Illuminate\Pipeline\Pipeline
                      type: '->'
                    -
                      file: /var/www/clients-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php
                      line: 180
                      function: handle
                      class: Illuminate\Foundation\Http\Middleware\PreventRequestsDuringMaintenance
                      type: '->'
                    -
                      file: /var/www/clients-api/vendor/laravel/framework/src/Illuminate/Http/Middleware/HandleCors.php
                      line: 62
                      function: 'Illuminate\Pipeline\{closure}'
                      class: Illuminate\Pipeline\Pipeline
                      type: '->'
                    -
                      file: /var/www/clients-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php
                      line: 180
                      function: handle
                      class: Illuminate\Http\Middleware\HandleCors
                      type: '->'
                    -
                      file: /var/www/clients-api/vendor/laravel/framework/src/Illuminate/Http/Middleware/TrustProxies.php
                      line: 39
                      function: 'Illuminate\Pipeline\{closure}'
                      class: Illuminate\Pipeline\Pipeline
                      type: '->'
                    -
                      file: /var/www/clients-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php
                      line: 180
                      function: handle
                      class: Illuminate\Http\Middleware\TrustProxies
                      type: '->'
                    -
                      file: /var/www/clients-api/vendor/laravel/framework/src/Illuminate/Http/Middleware/TrustHosts.php
                      line: 48
                      function: 'Illuminate\Pipeline\{closure}'
                      class: Illuminate\Pipeline\Pipeline
                      type: '->'
                    -
                      file: /var/www/clients-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php
                      line: 180
                      function: handle
                      class: Illuminate\Http\Middleware\TrustHosts
                      type: '->'
                    -
                      file: /var/www/clients-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php
                      line: 116
                      function: 'Illuminate\Pipeline\{closure}'
                      class: Illuminate\Pipeline\Pipeline
                      type: '->'
                    -
                      file: /var/www/clients-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php
                      line: 142
                      function: then
                      class: Illuminate\Pipeline\Pipeline
                      type: '->'
                    -
                      file: /var/www/clients-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php
                      line: 111
                      function: sendRequestThroughRouter
                      class: Illuminate\Foundation\Http\Kernel
                      type: '->'
                    -
                      file: /var/www/clients-api/vendor/knuckleswtf/scribe/src/Extracting/Strategies/Responses/ResponseCalls.php
                      line: 299
                      function: handle
                      class: Illuminate\Foundation\Http\Kernel
                      type: '->'
                    -
                      file: /var/www/clients-api/vendor/knuckleswtf/scribe/src/Extracting/Strategies/Responses/ResponseCalls.php
                      line: 287
                      function: callLaravelOrLumenRoute
                      class: Knuckles\Scribe\Extracting\Strategies\Responses\ResponseCalls
                      type: '->'
                    -
                      file: /var/www/clients-api/vendor/knuckleswtf/scribe/src/Extracting/Strategies/Responses/ResponseCalls.php
                      line: 89
                      function: makeApiCall
                      class: Knuckles\Scribe\Extracting\Strategies\Responses\ResponseCalls
                      type: '->'
                    -
                      file: /var/www/clients-api/vendor/knuckleswtf/scribe/src/Extracting/Strategies/Responses/ResponseCalls.php
                      line: 45
                      function: makeResponseCall
                      class: Knuckles\Scribe\Extracting\Strategies\Responses\ResponseCalls
                      type: '->'
                    -
                      file: /var/www/clients-api/vendor/knuckleswtf/scribe/src/Extracting/Strategies/Responses/ResponseCalls.php
                      line: 35
                      function: makeResponseCallIfConditionsPass
                      class: Knuckles\Scribe\Extracting\Strategies\Responses\ResponseCalls
                      type: '->'
                    -
                      file: /var/www/clients-api/vendor/knuckleswtf/scribe/src/Extracting/Extractor.php
                      line: 222
                      function: __invoke
                      class: Knuckles\Scribe\Extracting\Strategies\Responses\ResponseCalls
                      type: '->'
                    -
                      file: /var/www/clients-api/vendor/knuckleswtf/scribe/src/Extracting/Extractor.php
                      line: 179
                      function: iterateThroughStrategies
                      class: Knuckles\Scribe\Extracting\Extractor
                      type: '->'
                    -
                      file: /var/www/clients-api/vendor/knuckleswtf/scribe/src/Extracting/Extractor.php
                      line: 116
                      function: fetchResponses
                      class: Knuckles\Scribe\Extracting\Extractor
                      type: '->'
                    -
                      file: /var/www/clients-api/vendor/knuckleswtf/scribe/src/GroupedEndpoints/GroupedEndpointsFromApp.php
                      line: 123
                      function: processRoute
                      class: Knuckles\Scribe\Extracting\Extractor
                      type: '->'
                    -
                      file: /var/www/clients-api/vendor/knuckleswtf/scribe/src/GroupedEndpoints/GroupedEndpointsFromApp.php
                      line: 80
                      function: extractEndpointsInfoFromLaravelApp
                      class: Knuckles\Scribe\GroupedEndpoints\GroupedEndpointsFromApp
                      type: '->'
                    -
                      file: /var/www/clients-api/vendor/knuckleswtf/scribe/src/GroupedEndpoints/GroupedEndpointsFromApp.php
                      line: 56
                      function: extractEndpointsInfoAndWriteToDisk
                      class: Knuckles\Scribe\GroupedEndpoints\GroupedEndpointsFromApp
                      type: '->'
                    -
                      file: /var/www/clients-api/vendor/knuckleswtf/scribe/src/Commands/GenerateDocumentation.php
                      line: 55
                      function: get
                      class: Knuckles\Scribe\GroupedEndpoints\GroupedEndpointsFromApp
                      type: '->'
                    -
                      file: /var/www/clients-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php
                      line: 36
                      function: handle
                      class: Knuckles\Scribe\Commands\GenerateDocumentation
                      type: '->'
                    -
                      file: /var/www/clients-api/vendor/laravel/framework/src/Illuminate/Container/Util.php
                      line: 41
                      function: 'Illuminate\Container\{closure}'
                      class: Illuminate\Container\BoundMethod
                      type: '::'
                    -
                      file: /var/www/clients-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php
                      line: 93
                      function: unwrapIfClosure
                      class: Illuminate\Container\Util
                      type: '::'
                    -
                      file: /var/www/clients-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php
                      line: 37
                      function: callBoundMethod
                      class: Illuminate\Container\BoundMethod
                      type: '::'
                    -
                      file: /var/www/clients-api/vendor/laravel/framework/src/Illuminate/Container/Container.php
                      line: 651
                      function: call
                      class: Illuminate\Container\BoundMethod
                      type: '::'
                    -
                      file: /var/www/clients-api/vendor/laravel/framework/src/Illuminate/Console/Command.php
                      line: 136
                      function: call
                      class: Illuminate\Container\Container
                      type: '->'
                    -
                      file: /var/www/clients-api/vendor/symfony/console/Command/Command.php
                      line: 308
                      function: execute
                      class: Illuminate\Console\Command
                      type: '->'
                    -
                      file: /var/www/clients-api/vendor/laravel/framework/src/Illuminate/Console/Command.php
                      line: 121
                      function: run
                      class: Symfony\Component\Console\Command\Command
                      type: '->'
                    -
                      file: /var/www/clients-api/vendor/symfony/console/Application.php
                      line: 998
                      function: run
                      class: Illuminate\Console\Command
                      type: '->'
                    -
                      file: /var/www/clients-api/vendor/symfony/console/Application.php
                      line: 299
                      function: doRunCommand
                      class: Symfony\Component\Console\Application
                      type: '->'
                    -
                      file: /var/www/clients-api/vendor/symfony/console/Application.php
                      line: 171
                      function: doRun
                      class: Symfony\Component\Console\Application
                      type: '->'
                    -
                      file: /var/www/clients-api/vendor/laravel/framework/src/Illuminate/Console/Application.php
                      line: 102
                      function: run
                      class: Symfony\Component\Console\Application
                      type: '->'
                    -
                      file: /var/www/clients-api/vendor/laravel/framework/src/Illuminate/Foundation/Console/Kernel.php
                      line: 129
                      function: run
                      class: Illuminate\Console\Application
                      type: '->'
                    -
                      file: /var/www/clients-api/artisan
                      line: 37
                      function: handle
                      class: Illuminate\Foundation\Console\Kernel
                      type: '->'
                properties:
                  message:
                    type: string
                    example: 'App Token is invalid'
                  exception:
                    type: string
                    example: Symfony\Component\HttpKernel\Exception\HttpException
                  file:
                    type: string
                    example: /var/www/clients-api/vendor/laravel/framework/src/Illuminate/Foundation/Application.php
                  line:
                    type: integer
                    example: 1146
                  trace:
                    type: array
                    example:
                      -
                        file: /var/www/clients-api/vendor/laravel/framework/src/Illuminate/Foundation/helpers.php
                        line: 44
                        function: abort
                        class: Illuminate\Foundation\Application
                        type: '->'
                      -
                        file: /var/www/clients-api/app/Http/Middleware/Auth/AppAuth.php
                        line: 34
                        function: abort
                      -
                        file: /var/www/clients-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php
                        line: 180
                        function: handle
                        class: App\Http\Middleware\Auth\AppAuth
                        type: '->'
                      -
                        file: /var/www/clients-api/app/Http/Middleware/Headers/VerifyAppTokenHeader.php
                        line: 30
                        function: 'Illuminate\Pipeline\{closure}'
                        class: Illuminate\Pipeline\Pipeline
                        type: '->'
                      -
                        file: /var/www/clients-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php
                        line: 180
                        function: handle
                        class: App\Http\Middleware\Headers\VerifyAppTokenHeader
                        type: '->'
                      -
                        file: /var/www/clients-api/app/Http/Middleware/Headers/VerifyAccountTokenHeader.php
                        line: 38
                        function: 'Illuminate\Pipeline\{closure}'
                        class: Illuminate\Pipeline\Pipeline
                        type: '->'
                      -
                        file: /var/www/clients-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php
                        line: 180
                        function: handle
                        class: App\Http\Middleware\Headers\VerifyAccountTokenHeader
                        type: '->'
                      -
                        file: /var/www/clients-api/app/Http/Middleware/StoreUserApiVersion.php
                        line: 44
                        function: 'Illuminate\Pipeline\{closure}'
                        class: Illuminate\Pipeline\Pipeline
                        type: '->'
                      -
                        file: /var/www/clients-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php
                        line: 180
                        function: handle
                        class: App\Http\Middleware\StoreUserApiVersion
                        type: '->'
                      -
                        file: /var/www/clients-api/app/Http/Middleware/RestrictUnsupportedApiVersion.php
                        line: 34
                        function: 'Illuminate\Pipeline\{closure}'
                        class: Illuminate\Pipeline\Pipeline
                        type: '->'
                      -
                        file: /var/www/clients-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php
                        line: 180
                        function: handle
                        class: App\Http\Middleware\RestrictUnsupportedApiVersion
                        type: '->'
                      -
                        file: /var/www/clients-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php
                        line: 116
                        function: 'Illuminate\Pipeline\{closure}'
                        class: Illuminate\Pipeline\Pipeline
                        type: '->'
                      -
                        file: /var/www/clients-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php
                        line: 726
                        function: then
                        class: Illuminate\Pipeline\Pipeline
                        type: '->'
                      -
                        file: /var/www/clients-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php
                        line: 703
                        function: runRouteWithinStack
                        class: Illuminate\Routing\Router
                        type: '->'
                      -
                        file: /var/www/clients-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php
                        line: 667
                        function: runRoute
                        class: Illuminate\Routing\Router
                        type: '->'
                      -
                        file: /var/www/clients-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php
                        line: 656
                        function: dispatchToRoute
                        class: Illuminate\Routing\Router
                        type: '->'
                      -
                        file: /var/www/clients-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php
                        line: 167
                        function: dispatch
                        class: Illuminate\Routing\Router
                        type: '->'
                      -
                        file: /var/www/clients-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php
                        line: 141
                        function: 'Illuminate\Foundation\Http\{closure}'
                        class: Illuminate\Foundation\Http\Kernel
                        type: '->'
                      -
                        file: /var/www/clients-api/vendor/laravel/vapor-core/src/Http/Middleware/ServeStaticAssets.php
                        line: 21
                        function: 'Illuminate\Pipeline\{closure}'
                        class: Illuminate\Pipeline\Pipeline
                        type: '->'
                      -
                        file: /var/www/clients-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php
                        line: 180
                        function: handle
                        class: Laravel\Vapor\Http\Middleware\ServeStaticAssets
                        type: '->'
                      -
                        file: /var/www/clients-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php
                        line: 21
                        function: 'Illuminate\Pipeline\{closure}'
                        class: Illuminate\Pipeline\Pipeline
                        type: '->'
                      -
                        file: /var/www/clients-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/ConvertEmptyStringsToNull.php
                        line: 31
                        function: handle
                        class: Illuminate\Foundation\Http\Middleware\TransformsRequest
                        type: '->'
                      -
                        file: /var/www/clients-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php
                        line: 180
                        function: handle
                        class: Illuminate\Foundation\Http\Middleware\ConvertEmptyStringsToNull
                        type: '->'
                      -
                        file: /var/www/clients-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php
                        line: 21
                        function: 'Illuminate\Pipeline\{closure}'
                        class: Illuminate\Pipeline\Pipeline
                        type: '->'
                      -
                        file: /var/www/clients-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TrimStrings.php
                        line: 40
                        function: handle
                        class: Illuminate\Foundation\Http\Middleware\TransformsRequest
                        type: '->'
                      -
                        file: /var/www/clients-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php
                        line: 180
                        function: handle
                        class: Illuminate\Foundation\Http\Middleware\TrimStrings
                        type: '->'
                      -
                        file: /var/www/clients-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/ValidatePostSize.php
                        line: 27
                        function: 'Illuminate\Pipeline\{closure}'
                        class: Illuminate\Pipeline\Pipeline
                        type: '->'
                      -
                        file: /var/www/clients-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php
                        line: 180
                        function: handle
                        class: Illuminate\Foundation\Http\Middleware\ValidatePostSize
                        type: '->'
                      -
                        file: /var/www/clients-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/PreventRequestsDuringMaintenance.php
                        line: 86
                        function: 'Illuminate\Pipeline\{closure}'
                        class: Illuminate\Pipeline\Pipeline
                        type: '->'
                      -
                        file: /var/www/clients-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php
                        line: 180
                        function: handle
                        class: Illuminate\Foundation\Http\Middleware\PreventRequestsDuringMaintenance
                        type: '->'
                      -
                        file: /var/www/clients-api/vendor/laravel/framework/src/Illuminate/Http/Middleware/HandleCors.php
                        line: 62
                        function: 'Illuminate\Pipeline\{closure}'
                        class: Illuminate\Pipeline\Pipeline
                        type: '->'
                      -
                        file: /var/www/clients-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php
                        line: 180
                        function: handle
                        class: Illuminate\Http\Middleware\HandleCors
                        type: '->'
                      -
                        file: /var/www/clients-api/vendor/laravel/framework/src/Illuminate/Http/Middleware/TrustProxies.php
                        line: 39
                        function: 'Illuminate\Pipeline\{closure}'
                        class: Illuminate\Pipeline\Pipeline
                        type: '->'
                      -
                        file: /var/www/clients-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php
                        line: 180
                        function: handle
                        class: Illuminate\Http\Middleware\TrustProxies
                        type: '->'
                      -
                        file: /var/www/clients-api/vendor/laravel/framework/src/Illuminate/Http/Middleware/TrustHosts.php
                        line: 48
                        function: 'Illuminate\Pipeline\{closure}'
                        class: Illuminate\Pipeline\Pipeline
                        type: '->'
                      -
                        file: /var/www/clients-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php
                        line: 180
                        function: handle
                        class: Illuminate\Http\Middleware\TrustHosts
                        type: '->'
                      -
                        file: /var/www/clients-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php
                        line: 116
                        function: 'Illuminate\Pipeline\{closure}'
                        class: Illuminate\Pipeline\Pipeline
                        type: '->'
                      -
                        file: /var/www/clients-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php
                        line: 142
                        function: then
                        class: Illuminate\Pipeline\Pipeline
                        type: '->'
                      -
                        file: /var/www/clients-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php
                        line: 111
                        function: sendRequestThroughRouter
                        class: Illuminate\Foundation\Http\Kernel
                        type: '->'
                      -
                        file: /var/www/clients-api/vendor/knuckleswtf/scribe/src/Extracting/Strategies/Responses/ResponseCalls.php
                        line: 299
                        function: handle
                        class: Illuminate\Foundation\Http\Kernel
                        type: '->'
                      -
                        file: /var/www/clients-api/vendor/knuckleswtf/scribe/src/Extracting/Strategies/Responses/ResponseCalls.php
                        line: 287
                        function: callLaravelOrLumenRoute
                        class: Knuckles\Scribe\Extracting\Strategies\Responses\ResponseCalls
                        type: '->'
                      -
                        file: /var/www/clients-api/vendor/knuckleswtf/scribe/src/Extracting/Strategies/Responses/ResponseCalls.php
                        line: 89
                        function: makeApiCall
                        class: Knuckles\Scribe\Extracting\Strategies\Responses\ResponseCalls
                        type: '->'
                      -
                        file: /var/www/clients-api/vendor/knuckleswtf/scribe/src/Extracting/Strategies/Responses/ResponseCalls.php
                        line: 45
                        function: makeResponseCall
                        class: Knuckles\Scribe\Extracting\Strategies\Responses\ResponseCalls
                        type: '->'
                      -
                        file: /var/www/clients-api/vendor/knuckleswtf/scribe/src/Extracting/Strategies/Responses/ResponseCalls.php
                        line: 35
                        function: makeResponseCallIfConditionsPass
                        class: Knuckles\Scribe\Extracting\Strategies\Responses\ResponseCalls
                        type: '->'
                      -
                        file: /var/www/clients-api/vendor/knuckleswtf/scribe/src/Extracting/Extractor.php
                        line: 222
                        function: __invoke
                        class: Knuckles\Scribe\Extracting\Strategies\Responses\ResponseCalls
                        type: '->'
                      -
                        file: /var/www/clients-api/vendor/knuckleswtf/scribe/src/Extracting/Extractor.php
                        line: 179
                        function: iterateThroughStrategies
                        class: Knuckles\Scribe\Extracting\Extractor
                        type: '->'
                      -
                        file: /var/www/clients-api/vendor/knuckleswtf/scribe/src/Extracting/Extractor.php
                        line: 116
                        function: fetchResponses
                        class: Knuckles\Scribe\Extracting\Extractor
                        type: '->'
                      -
                        file: /var/www/clients-api/vendor/knuckleswtf/scribe/src/GroupedEndpoints/GroupedEndpointsFromApp.php
                        line: 123
                        function: processRoute
                        class: Knuckles\Scribe\Extracting\Extractor
                        type: '->'
                      -
                        file: /var/www/clients-api/vendor/knuckleswtf/scribe/src/GroupedEndpoints/GroupedEndpointsFromApp.php
                        line: 80
                        function: extractEndpointsInfoFromLaravelApp
                        class: Knuckles\Scribe\GroupedEndpoints\GroupedEndpointsFromApp
                        type: '->'
                      -
                        file: /var/www/clients-api/vendor/knuckleswtf/scribe/src/GroupedEndpoints/GroupedEndpointsFromApp.php
                        line: 56
                        function: extractEndpointsInfoAndWriteToDisk
                        class: Knuckles\Scribe\GroupedEndpoints\GroupedEndpointsFromApp
                        type: '->'
                      -
                        file: /var/www/clients-api/vendor/knuckleswtf/scribe/src/Commands/GenerateDocumentation.php
                        line: 55
                        function: get
                        class: Knuckles\Scribe\GroupedEndpoints\GroupedEndpointsFromApp
                        type: '->'
                      -
                        file: /var/www/clients-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php
                        line: 36
                        function: handle
                        class: Knuckles\Scribe\Commands\GenerateDocumentation
                        type: '->'
                      -
                        file: /var/www/clients-api/vendor/laravel/framework/src/Illuminate/Container/Util.php
                        line: 41
                        function: 'Illuminate\Container\{closure}'
                        class: Illuminate\Container\BoundMethod
                        type: '::'
                      -
                        file: /var/www/clients-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php
                        line: 93
                        function: unwrapIfClosure
                        class: Illuminate\Container\Util
                        type: '::'
                      -
                        file: /var/www/clients-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php
                        line: 37
                        function: callBoundMethod
                        class: Illuminate\Container\BoundMethod
                        type: '::'
                      -
                        file: /var/www/clients-api/vendor/laravel/framework/src/Illuminate/Container/Container.php
                        line: 651
                        function: call
                        class: Illuminate\Container\BoundMethod
                        type: '::'
                      -
                        file: /var/www/clients-api/vendor/laravel/framework/src/Illuminate/Console/Command.php
                        line: 136
                        function: call
                        class: Illuminate\Container\Container
                        type: '->'
                      -
                        file: /var/www/clients-api/vendor/symfony/console/Command/Command.php
                        line: 308
                        function: execute
                        class: Illuminate\Console\Command
                        type: '->'
                      -
                        file: /var/www/clients-api/vendor/laravel/framework/src/Illuminate/Console/Command.php
                        line: 121
                        function: run
                        class: Symfony\Component\Console\Command\Command
                        type: '->'
                      -
                        file: /var/www/clients-api/vendor/symfony/console/Application.php
                        line: 998
                        function: run
                        class: Illuminate\Console\Command
                        type: '->'
                      -
                        file: /var/www/clients-api/vendor/symfony/console/Application.php
                        line: 299
                        function: doRunCommand
                        class: Symfony\Component\Console\Application
                        type: '->'
                      -
                        file: /var/www/clients-api/vendor/symfony/console/Application.php
                        line: 171
                        function: doRun
                        class: Symfony\Component\Console\Application
                        type: '->'
                      -
                        file: /var/www/clients-api/vendor/laravel/framework/src/Illuminate/Console/Application.php
                        line: 102
                        function: run
                        class: Symfony\Component\Console\Application
                        type: '->'
                      -
                        file: /var/www/clients-api/vendor/laravel/framework/src/Illuminate/Foundation/Console/Kernel.php
                        line: 129
                        function: run
                        class: Illuminate\Console\Application
                        type: '->'
                      -
                        file: /var/www/clients-api/artisan
                        line: 37
                        function: handle
                        class: Illuminate\Foundation\Console\Kernel
                        type: '->'
                    items:
                      type: object
      tags:
        - Users
    parameters:
      -
        in: path
        name: id
        description: 'The ID of the user.'
        example: commodi
        required: true
        schema:
          type: string
  '/api/v2/users/{user}/notifications':
    get:
      summary: 'User Notifications List.'
      description: ''
      parameters:
        -
          in: query
          name: v
          description: 'Api Version'
          example: 2.0.0
          required: true
          schema:
            type: string
            description: 'Api Version'
            example: 2.0.0
        -
          in: header
          name: Api-Auth-Token
          description: ''
          example: '{{YOUR_API_AUTH_TOKEN}}'
          schema:
            type: string
        -
          in: header
          name: Api-Token
          description: ''
          example: '{{YOUR_API_TOKEN}}'
          schema:
            type: string
        -
          in: header
          name: Api-Account-Token
          description: ''
          example: '{{YOUR_ACCOUNT_TOKEN}}'
          schema:
            type: string
        -
          in: header
          name: Content-Type
          description: ''
          example: application/json
          schema:
            type: string
        -
          in: header
          name: Accept
          description: ''
          example: application/json
          schema:
            type: string
      responses:
        200:
          description: ''
          content:
            text/plain:
              schema:
                type: string
                example: "{\n \"hasNext\": false,\n \"items\": [{\n  \"id\" => \"UUID\",\n  \"title\" => \"Вам нараховано кешбек.\",\n  \"text\" => \"Вам успішно нараховано кешбек у розмірі 30.00. Дякуємо за замовлення\",\n  \"image\" => null,\n  \"sent_at\" => 1604918827,\n  \"read\" => true,\n  \"pushNotificationActionData\" => {\n    \"params\" => {\n      \"cityId\" => \"UUID\",\n      \"orderId\" => \"UUID\",\n      \"fallback_screen\" => \"order-details-info\",\n    },\n    \"screen\" => \"active-orders\"\n  },\n }]\n}"
      tags:
        - Users
    parameters:
      -
        in: path
        name: user
        description: ''
        example: enim
        required: true
        schema:
          type: string
  '/api/v2/users/{user}/addresses/by-city/{city}':
    get:
      summary: 'User Addresses List By City.'
      description: ''
      parameters:
        -
          in: query
          name: v
          description: 'Api Version'
          example: 2.0.0
          required: true
          schema:
            type: string
            description: 'Api Version'
            example: 2.0.0
        -
          in: header
          name: Api-Auth-Token
          description: ''
          example: '{{YOUR_API_AUTH_TOKEN}}'
          schema:
            type: string
        -
          in: header
          name: Api-Token
          description: ''
          example: '{{YOUR_API_TOKEN}}'
          schema:
            type: string
        -
          in: header
          name: Api-Account-Token
          description: ''
          example: '{{YOUR_ACCOUNT_TOKEN}}'
          schema:
            type: string
        -
          in: header
          name: Content-Type
          description: ''
          example: application/json
          schema:
            type: string
        -
          in: header
          name: Accept
          description: ''
          example: application/json
          schema:
            type: string
      responses:
        200:
          description: ''
          content:
            text/plain:
              schema:
                type: string
                example: "{\n \"hasNext\": false,\n \"items\": [{\n  \"id\" => \"UUID\",\n  \"userId\" => \"UUID\",\n  \"cityId\" => \"UUID\",\n  \"type\" => 0,\n  \"street\" => \"Shevchenko\",\n  \"house\" => \"99b\",\n  \"flat\" => \"1\",\n  \"stage\" => \"5\",\n  \"title\" => \"Home\",\n  \"note\" => \"Near hotel\",\n  \"position\" => {\n    \"latitude\" => 51.4,\n    \"longitude\" => 31.4\n  },\n  \"inCityPolygon\" => true\n }]\n}"
      tags:
        - Users
    parameters:
      -
        in: path
        name: user
        description: ''
        example: molestiae
        required: true
        schema:
          type: string
      -
        in: path
        name: city
        description: ''
        example: corporis
        required: true
        schema:
          type: string
  '/api/v2/users/{user_id}/city':
    patch:
      summary: 'Update User City.'
      description: 'Update users city id: used when user selects another city.'
      parameters:
        -
          in: query
          name: v
          description: 'Api Version'
          example: 2.0.0
          required: true
          schema:
            type: string
            description: 'Api Version'
            example: 2.0.0
        -
          in: header
          name: Api-Auth-Token
          description: ''
          example: '{{YOUR_API_AUTH_TOKEN}}'
          schema:
            type: string
        -
          in: header
          name: Api-Token
          description: ''
          example: '{{YOUR_API_TOKEN}}'
          schema:
            type: string
        -
          in: header
          name: Api-Account-Token
          description: ''
          example: '{{YOUR_ACCOUNT_TOKEN}}'
          schema:
            type: string
        -
          in: header
          name: Content-Type
          description: ''
          example: application/json
          schema:
            type: string
        -
          in: header
          name: Accept
          description: ''
          example: application/json
          schema:
            type: string
      responses: {  }
      tags:
        - Users
    parameters:
      -
        in: path
        name: user_id
        description: 'The ID of the user.'
        example: molestiae
        required: true
        schema:
          type: string
  '/api/v2/users/{user}/state':
    get:
      summary: 'User state.'
      description: ''
      parameters:
        -
          in: query
          name: v
          description: 'Api Version'
          example: 2.0.0
          required: true
          schema:
            type: string
            description: 'Api Version'
            example: 2.0.0
        -
          in: header
          name: Api-Auth-Token
          description: ''
          example: '{{YOUR_API_AUTH_TOKEN}}'
          schema:
            type: string
        -
          in: header
          name: Api-Token
          description: ''
          example: '{{YOUR_API_TOKEN}}'
          schema:
            type: string
        -
          in: header
          name: Api-Account-Token
          description: ''
          example: '{{YOUR_ACCOUNT_TOKEN}}'
          schema:
            type: string
        -
          in: header
          name: Content-Type
          description: ''
          example: application/json
          schema:
            type: string
        -
          in: header
          name: Accept
          description: ''
          example: application/json
          schema:
            type: string
      responses:
        200:
          description: ''
          content:
            text/plain:
              schema:
                type: string
                example: "{\n  \"unreadNotificationsCount\" => 0,\n  \"actualOrdersCount\" => 0,\n}"
      tags:
        - Users
    parameters:
      -
        in: path
        name: user
        description: ''
        example: nemo
        required: true
        schema:
          type: string
  '/api/v2/users/{user}/cashback-info':
    get:
      summary: 'User Cashback info.'
      description: 'Returns user available balance and info text.'
      parameters:
        -
          in: query
          name: v
          description: 'Api Version'
          example: 2.0.0
          required: true
          schema:
            type: string
            description: 'Api Version'
            example: 2.0.0
        -
          in: header
          name: Api-Auth-Token
          description: ''
          example: '{{YOUR_API_AUTH_TOKEN}}'
          schema:
            type: string
        -
          in: header
          name: Api-Token
          description: ''
          example: '{{YOUR_API_TOKEN}}'
          schema:
            type: string
        -
          in: header
          name: Api-Account-Token
          description: ''
          example: '{{YOUR_ACCOUNT_TOKEN}}'
          schema:
            type: string
        -
          in: header
          name: Content-Type
          description: ''
          example: application/json
          schema:
            type: string
        -
          in: header
          name: Accept
          description: ''
          example: application/json
          schema:
            type: string
      responses:
        200:
          description: ''
          content:
            text/plain:
              schema:
                type: string
                example: "{\n    \"availableBalance\" => 95.0\n    \"infoText\" => \"\"\"\n        Як отримати кешбек?\\n\n        \\n\n        \\n\n        Зроби замовлення через сайт чи мобільний додаток. Через 30 хв. після успішного замовлення ми нарахуємо кешбек. Сумма кешбеку становить 1% від  чеку, без урахування доставки.\\n\n        \\n\n        \\n\n        Як скористатися кешбеком?\\n\n        \\n\n        \\n\n        Використати бонуси можна тільки через додаток. При оформленні замовлення введи всі свої дані для доставки та активуй кешбек. Мінімальна сума для списання бонусів – 50 грн.\\n\n        \\n\n        \\n\n        У разі, якщо ти використав кешбек для оплати замовлення, а воно було неуспішним, кешбек повертається на рахунок. Якщо сума кешбеку не відображається, онови додаток до останньої версії.\\n\n        \\n\n        \\n\n        Кешбек не нараховується:\\n\n        \\n\n        якщо замовляння було зроблене по телефону;\\n\n        \\n\n        якщо замовлення було неуспішним;\\n\n        \\n\n        на суму знижок за акціями та промо-кодами;\\n\n        \\n\n        на вартість доставки.\n    \"\"\",\n    \"rateText\" => \"1 bonus = 1 :currency\",\n    \"transactions\" => [\n        {\n             \"title\" => \"06.05.2021 - New York Street Pizza\",\n             \"amount\" => 44.37,\n             \"orderId\" => \"3339\",\n         },\n     ],\n}"
      tags:
        - Users
    parameters:
      -
        in: path
        name: user
        description: ''
        example: ex
        required: true
        schema:
          type: string
  /api/v2/users/statistics-by-phone:
    get:
      summary: 'Users Statistics By Phone.'
      description: "Requires permission: users-index. This endpoint usually used to show user's statics for operator(call center)."
      parameters:
        -
          in: query
          name: phone
          description: 'User phone.'
          example: '380631837252'
          required: false
          schema:
            type: string
            description: 'User phone.'
            example: '380631837252'
        -
          in: query
          name: v
          description: 'Api Version'
          example: 2.0.0
          required: true
          schema:
            type: string
            description: 'Api Version'
            example: 2.0.0
        -
          in: header
          name: Api-Auth-Token
          description: ''
          example: '{{YOUR_API_AUTH_TOKEN}}'
          schema:
            type: string
        -
          in: header
          name: Api-Token
          description: ''
          example: '{{YOUR_API_TOKEN}}'
          schema:
            type: string
        -
          in: header
          name: Api-Account-Token
          description: ''
          example: '{{YOUR_ACCOUNT_TOKEN}}'
          schema:
            type: string
        -
          in: header
          name: Content-Type
          description: ''
          example: application/json
          schema:
            type: string
        -
          in: header
          name: Accept
          description: ''
          example: application/json
          schema:
            type: string
      responses:
        200:
          description: 'Success Example'
          content:
            application/json:
              schema:
                type: object
                example:
                  user:
                    id: 85f65390-001e-11ec-b62f-91e4f52e2402
                    cashbackAvailableBalance: 200
                    phone: '380631837250'
                    lang: ua
                    name: 'Yehor Herasymchuk'
                    cityName: Chernihiv
                    about: 'Dots Platform CTO / Likes spicy chicken. '
                  orders:
                    -
                      id: 06f1efa3-fcd1-4252-a228-55e32456dfea
                      status: 1
                      deliveryType: 4
                      fullPrice: 100.5
                      company:
                        id: 631da261-93f8-4e05-b3b0-9f374dc0f261
                        name: 'Hochu Pizza'
                        urlPath: /en/chernihiv/hochu-pizza
                      createdTime: 1652953170
                      completedTime: null
                      deadlineTime: 1652960400
                  userAddresses:
                    -
                      id: e278317b-dd17-4d0c-a3bf-ed3e8935e8be
                      cityId: f688da6b-5521-11eb-9cdd-f23c92a7f68e
                      userId: 85f65390-001e-11ec-b62f-91e4f52e2402
                      type: 0
                      position:
                        latitude: 51.49667
                        longitude: 31.29202
                      inCityPolygon: true
                      street: 'Проспект Миру 41а кв. 18'
                      house: null
                      flat: null
                      stage: null
                      note: null
                      title: null
                    -
                      id: 39f85c1f-58c1-48ee-8b0a-dd17551d029f
                      cityId: f688da6b-5521-11eb-9cdd-f23c92a7f68e
                      userId: 85f65390-001e-11ec-b62f-91e4f52e2402
                      type: 0
                      position:
                        latitude: 51.4938
                        longitude: 31.30932
                      inCityPolygon: true
                      street: 'Вулиця Пушкіна 12'
                      house: null
                      flat: null
                      stage: null
                      note: null
                      title: null
                properties:
                  user:
                    type: object
                    example:
                      id: 85f65390-001e-11ec-b62f-91e4f52e2402
                      cashbackAvailableBalance: 200
                      phone: '380631837250'
                      lang: ua
                      name: 'Yehor Herasymchuk'
                      cityName: Chernihiv
                      about: 'Dots Platform CTO / Likes spicy chicken. '
                  orders:
                    type: array
                    example:
                      -
                        id: 06f1efa3-fcd1-4252-a228-55e32456dfea
                        status: 1
                        deliveryType: 4
                        fullPrice: 100.5
                        company:
                          id: 631da261-93f8-4e05-b3b0-9f374dc0f261
                          name: 'Hochu Pizza'
                          urlPath: /en/chernihiv/hochu-pizza
                        createdTime: 1652953170
                        completedTime: null
                        deadlineTime: 1652960400
                    items:
                      type: object
                  userAddresses:
                    type: array
                    example:
                      -
                        id: e278317b-dd17-4d0c-a3bf-ed3e8935e8be
                        cityId: f688da6b-5521-11eb-9cdd-f23c92a7f68e
                        userId: 85f65390-001e-11ec-b62f-91e4f52e2402
                        type: 0
                        position:
                          latitude: 51.49667
                          longitude: 31.29202
                        inCityPolygon: true
                        street: 'Проспект Миру 41а кв. 18'
                        house: null
                        flat: null
                        stage: null
                        note: null
                        title: null
                      -
                        id: 39f85c1f-58c1-48ee-8b0a-dd17551d029f
                        cityId: f688da6b-5521-11eb-9cdd-f23c92a7f68e
                        userId: 85f65390-001e-11ec-b62f-91e4f52e2402
                        type: 0
                        position:
                          latitude: 51.4938
                          longitude: 31.30932
                        inCityPolygon: true
                        street: 'Вулиця Пушкіна 12'
                        house: null
                        flat: null
                        stage: null
                        note: null
                        title: null
                    items:
                      type: object
      tags:
        - Users
  /api/v2/pages/main/site-blocks:
    get:
      summary: 'Account Main Page Site Blocks data.'
      description: ''
      parameters:
        -
          in: query
          name: v
          description: 'Api Version'
          example: 2.0.0
          required: true
          schema:
            type: string
            description: 'Api Version'
            example: 2.0.0
        -
          in: header
          name: Api-Token
          description: ''
          example: '{{YOUR_API_TOKEN}}'
          schema:
            type: string
        -
          in: header
          name: Api-Account-Token
          description: ''
          example: '{{YOUR_ACCOUNT_TOKEN}}'
          schema:
            type: string
        -
          in: header
          name: Content-Type
          description: ''
          example: application/json
          schema:
            type: string
        -
          in: header
          name: Accept
          description: ''
          example: application/json
          schema:
            type: string
      responses:
        200:
          description: ''
          content:
            application/json:
              schema:
                type: object
                example:
                  items: []
                  hasNext: false
                properties:
                  items:
                    type: array
                    example: []
                  hasNext:
                    type: boolean
                    example: false
      tags:
        - WebPages
      security: []
  /api/v2/pages/by-url:
    get:
      summary: 'Page Data By Url.'
      description: ''
      parameters:
        -
          in: query
          name: v
          description: 'Api Version'
          example: 2.0.0
          required: true
          schema:
            type: string
            description: 'Api Version'
            example: 2.0.0
        -
          in: header
          name: Api-Token
          description: ''
          example: '{{YOUR_API_TOKEN}}'
          schema:
            type: string
        -
          in: header
          name: Api-Account-Token
          description: ''
          example: '{{YOUR_ACCOUNT_TOKEN}}'
          schema:
            type: string
        -
          in: header
          name: Content-Type
          description: ''
          example: application/json
          schema:
            type: string
        -
          in: header
          name: Accept
          description: ''
          example: application/json
          schema:
            type: string
      responses:
        200:
          description: 'Redirect for old company item'
          content:
            application/json:
              schema:
                type: object
                example:
                  url: /en/chernigov/peperoni-release-a/koka-kola
                  type: company-item-old
                  lang: ua
                  entities:
                    cityId: f688da6b-5521-11eb-9cdd-f23c92a7f68e
                    cityCategoryId: null
                    companyId: f7abed3b-5521-11eb-9cdd-f23c92a7f68e
                    companyCategoryId: null
                    itemId: 68739ed3-5522-11eb-9cdd-f23c92a7f68e
                  redirect:
                    code: 301
                    url: /chernigov/peperoni-release-a/soft-drinks/koka-kola
                properties:
                  url:
                    type: string
                    example: /en/chernigov/peperoni-release-a/koka-kola
                  type:
                    type: string
                    example: company-item-old
                  lang:
                    type: string
                    example: ua
                  entities:
                    type: object
                    example:
                      cityId: f688da6b-5521-11eb-9cdd-f23c92a7f68e
                      cityCategoryId: null
                      companyId: f7abed3b-5521-11eb-9cdd-f23c92a7f68e
                      companyCategoryId: null
                      itemId: 68739ed3-5522-11eb-9cdd-f23c92a7f68e
                  redirect:
                    type: object
                    example:
                      code: 301
                      url: /chernigov/peperoni-release-a/soft-drinks/koka-kola
      tags:
        - WebPages
      security: []
  '/api/v2/pages/{pageType}/seo':
    get:
      summary: 'Page Seo.'
      description: "<h3>Available Page Types:</h3>\n<p>\nmain<br/>\ncity<br/>\ncity-promotions<br/>\ncity-promotions-category<br/>\ncity-category<br/>\ncompany<br/>\ncompany-info<br/>\ncompany-promotions<br/>\ncompany-delivery<br/>\ncompany-reviews<br/>\ncompany-category<br/>\ncompany-item<br/>\ncart-index<br/>\ncart-checkout<br/>\ncart-success<br/>\n</p>"
      parameters:
        -
          in: query
          name: url
          description: 'Entity url.'
          example: /kyiv/celentano
          required: true
          schema:
            type: string
            description: 'Entity url.'
            example: /kyiv/celentano
        -
          in: query
          name: v
          description: 'Api Version'
          example: 2.0.0
          required: true
          schema:
            type: string
            description: 'Api Version'
            example: 2.0.0
        -
          in: header
          name: Api-Token
          description: ''
          example: '{{YOUR_API_TOKEN}}'
          schema:
            type: string
        -
          in: header
          name: Api-Account-Token
          description: ''
          example: '{{YOUR_ACCOUNT_TOKEN}}'
          schema:
            type: string
        -
          in: header
          name: Content-Type
          description: ''
          example: application/json
          schema:
            type: string
        -
          in: header
          name: Accept
          description: ''
          example: application/json
          schema:
            type: string
      responses:
        200:
          description: ''
          content:
            application/json:
              schema:
                type: object
                example:
                  pageType: main
                  seo:
                    title: "Jack's Burger Bar - Food order and delivery service"
                    ogTitle: "Jack's Burger Bar - Food order and delivery service"
                    description: 'Food order and delivery service'
                    ogDescription: 'Food order and delivery service'
                    ogImage: 'https://via.placeholder.com/640x480.png/0077bb?text=alias.png'
                    ogUrl: /
                    ogSiteName: "Jack's Burger Bar"
                properties:
                  pageType:
                    type: string
                    example: main
                  seo:
                    type: object
                    example:
                      title: "Jack's Burger Bar - Food order and delivery service"
                      ogTitle: "Jack's Burger Bar - Food order and delivery service"
                      description: 'Food order and delivery service'
                      ogDescription: 'Food order and delivery service'
                      ogImage: 'https://via.placeholder.com/640x480.png/0077bb?text=alias.png'
                      ogUrl: /
                      ogSiteName: "Jack's Burger Bar"
      tags:
        - WebPages
      security: []
    parameters:
      -
        in: path
        name: pageType
        description: 'Optional parameter. Must be withing Available Page Types.'
        required: true
        schema:
          type: string
        examples:
          omitted:
            summary: 'When the value is omitted'
            value: ''
          present:
            summary: 'When the value is present'
            value: main
  /api/v2/pages/cashback:
    get:
      summary: 'Account Cashback Page data.'
      description: ''
      parameters:
        -
          in: query
          name: v
          description: 'Api Version'
          example: 2.0.0
          required: true
          schema:
            type: string
            description: 'Api Version'
            example: 2.0.0
        -
          in: header
          name: Api-Token
          description: ''
          example: '{{YOUR_API_TOKEN}}'
          schema:
            type: string
        -
          in: header
          name: Api-Account-Token
          description: ''
          example: '{{YOUR_ACCOUNT_TOKEN}}'
          schema:
            type: string
        -
          in: header
          name: Content-Type
          description: ''
          example: application/json
          schema:
            type: string
        -
          in: header
          name: Accept
          description: ''
          example: application/json
          schema:
            type: string
      responses:
        404:
          description: ''
          content:
            application/json:
              schema:
                type: object
                example:
                  message: ''
                  exception: Symfony\Component\HttpKernel\Exception\NotFoundHttpException
                  file: /var/www/clients-api/vendor/laravel/framework/src/Illuminate/Foundation/Application.php
                  line: 1143
                  trace:
                    -
                      file: /var/www/clients-api/vendor/laravel/framework/src/Illuminate/Foundation/helpers.php
                      line: 44
                      function: abort
                      class: Illuminate\Foundation\Application
                      type: '->'
                    -
                      file: /var/www/clients-api/app/Http/Controllers/Api/Pages/CashbackPageSiteBlockController.php
                      line: 32
                      function: abort
                    -
                      file: /var/www/clients-api/vendor/laravel/framework/src/Illuminate/Routing/Controller.php
                      line: 54
                      function: __invoke
                      class: App\Http\Controllers\Api\Pages\CashbackPageSiteBlockController
                      type: '->'
                    -
                      file: /var/www/clients-api/vendor/laravel/framework/src/Illuminate/Routing/ControllerDispatcher.php
                      line: 45
                      function: callAction
                      class: Illuminate\Routing\Controller
                      type: '->'
                    -
                      file: /var/www/clients-api/vendor/laravel/framework/src/Illuminate/Routing/Route.php
                      line: 268
                      function: dispatch
                      class: Illuminate\Routing\ControllerDispatcher
                      type: '->'
                    -
                      file: /var/www/clients-api/vendor/laravel/framework/src/Illuminate/Routing/Route.php
                      line: 211
                      function: runController
                      class: Illuminate\Routing\Route
                      type: '->'
                    -
                      file: /var/www/clients-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php
                      line: 725
                      function: run
                      class: Illuminate\Routing\Route
                      type: '->'
                    -
                      file: /var/www/clients-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php
                      line: 141
                      function: 'Illuminate\Routing\{closure}'
                      class: Illuminate\Routing\Router
                      type: '->'
                    -
                      file: /var/www/clients-api/app/Http/Middleware/Headers/VerifyAppTokenHeader.php
                      line: 30
                      function: 'Illuminate\Pipeline\{closure}'
                      class: Illuminate\Pipeline\Pipeline
                      type: '->'
                    -
                      file: /var/www/clients-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php
                      line: 180
                      function: handle
                      class: App\Http\Middleware\Headers\VerifyAppTokenHeader
                      type: '->'
                    -
                      file: /var/www/clients-api/app/Http/Middleware/Headers/VerifyAccountTokenHeader.php
                      line: 38
                      function: 'Illuminate\Pipeline\{closure}'
                      class: Illuminate\Pipeline\Pipeline
                      type: '->'
                    -
                      file: /var/www/clients-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php
                      line: 180
                      function: handle
                      class: App\Http\Middleware\Headers\VerifyAccountTokenHeader
                      type: '->'
                    -
                      file: /var/www/clients-api/app/Http/Middleware/StoreUserApiVersion.php
                      line: 44
                      function: 'Illuminate\Pipeline\{closure}'
                      class: Illuminate\Pipeline\Pipeline
                      type: '->'
                    -
                      file: /var/www/clients-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php
                      line: 180
                      function: handle
                      class: App\Http\Middleware\StoreUserApiVersion
                      type: '->'
                    -
                      file: /var/www/clients-api/app/Http/Middleware/RestrictUnsupportedApiVersion.php
                      line: 34
                      function: 'Illuminate\Pipeline\{closure}'
                      class: Illuminate\Pipeline\Pipeline
                      type: '->'
                    -
                      file: /var/www/clients-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php
                      line: 180
                      function: handle
                      class: App\Http\Middleware\RestrictUnsupportedApiVersion
                      type: '->'
                    -
                      file: /var/www/clients-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php
                      line: 116
                      function: 'Illuminate\Pipeline\{closure}'
                      class: Illuminate\Pipeline\Pipeline
                      type: '->'
                    -
                      file: /var/www/clients-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php
                      line: 726
                      function: then
                      class: Illuminate\Pipeline\Pipeline
                      type: '->'
                    -
                      file: /var/www/clients-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php
                      line: 703
                      function: runRouteWithinStack
                      class: Illuminate\Routing\Router
                      type: '->'
                    -
                      file: /var/www/clients-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php
                      line: 667
                      function: runRoute
                      class: Illuminate\Routing\Router
                      type: '->'
                    -
                      file: /var/www/clients-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php
                      line: 656
                      function: dispatchToRoute
                      class: Illuminate\Routing\Router
                      type: '->'
                    -
                      file: /var/www/clients-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php
                      line: 167
                      function: dispatch
                      class: Illuminate\Routing\Router
                      type: '->'
                    -
                      file: /var/www/clients-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php
                      line: 141
                      function: 'Illuminate\Foundation\Http\{closure}'
                      class: Illuminate\Foundation\Http\Kernel
                      type: '->'
                    -
                      file: /var/www/clients-api/vendor/laravel/vapor-core/src/Http/Middleware/ServeStaticAssets.php
                      line: 21
                      function: 'Illuminate\Pipeline\{closure}'
                      class: Illuminate\Pipeline\Pipeline
                      type: '->'
                    -
                      file: /var/www/clients-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php
                      line: 180
                      function: handle
                      class: Laravel\Vapor\Http\Middleware\ServeStaticAssets
                      type: '->'
                    -
                      file: /var/www/clients-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php
                      line: 21
                      function: 'Illuminate\Pipeline\{closure}'
                      class: Illuminate\Pipeline\Pipeline
                      type: '->'
                    -
                      file: /var/www/clients-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/ConvertEmptyStringsToNull.php
                      line: 31
                      function: handle
                      class: Illuminate\Foundation\Http\Middleware\TransformsRequest
                      type: '->'
                    -
                      file: /var/www/clients-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php
                      line: 180
                      function: handle
                      class: Illuminate\Foundation\Http\Middleware\ConvertEmptyStringsToNull
                      type: '->'
                    -
                      file: /var/www/clients-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php
                      line: 21
                      function: 'Illuminate\Pipeline\{closure}'
                      class: Illuminate\Pipeline\Pipeline
                      type: '->'
                    -
                      file: /var/www/clients-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TrimStrings.php
                      line: 40
                      function: handle
                      class: Illuminate\Foundation\Http\Middleware\TransformsRequest
                      type: '->'
                    -
                      file: /var/www/clients-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php
                      line: 180
                      function: handle
                      class: Illuminate\Foundation\Http\Middleware\TrimStrings
                      type: '->'
                    -
                      file: /var/www/clients-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/ValidatePostSize.php
                      line: 27
                      function: 'Illuminate\Pipeline\{closure}'
                      class: Illuminate\Pipeline\Pipeline
                      type: '->'
                    -
                      file: /var/www/clients-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php
                      line: 180
                      function: handle
                      class: Illuminate\Foundation\Http\Middleware\ValidatePostSize
                      type: '->'
                    -
                      file: /var/www/clients-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/PreventRequestsDuringMaintenance.php
                      line: 86
                      function: 'Illuminate\Pipeline\{closure}'
                      class: Illuminate\Pipeline\Pipeline
                      type: '->'
                    -
                      file: /var/www/clients-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php
                      line: 180
                      function: handle
                      class: Illuminate\Foundation\Http\Middleware\PreventRequestsDuringMaintenance
                      type: '->'
                    -
                      file: /var/www/clients-api/vendor/laravel/framework/src/Illuminate/Http/Middleware/HandleCors.php
                      line: 62
                      function: 'Illuminate\Pipeline\{closure}'
                      class: Illuminate\Pipeline\Pipeline
                      type: '->'
                    -
                      file: /var/www/clients-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php
                      line: 180
                      function: handle
                      class: Illuminate\Http\Middleware\HandleCors
                      type: '->'
                    -
                      file: /var/www/clients-api/vendor/laravel/framework/src/Illuminate/Http/Middleware/TrustProxies.php
                      line: 39
                      function: 'Illuminate\Pipeline\{closure}'
                      class: Illuminate\Pipeline\Pipeline
                      type: '->'
                    -
                      file: /var/www/clients-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php
                      line: 180
                      function: handle
                      class: Illuminate\Http\Middleware\TrustProxies
                      type: '->'
                    -
                      file: /var/www/clients-api/vendor/laravel/framework/src/Illuminate/Http/Middleware/TrustHosts.php
                      line: 48
                      function: 'Illuminate\Pipeline\{closure}'
                      class: Illuminate\Pipeline\Pipeline
                      type: '->'
                    -
                      file: /var/www/clients-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php
                      line: 180
                      function: handle
                      class: Illuminate\Http\Middleware\TrustHosts
                      type: '->'
                    -
                      file: /var/www/clients-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php
                      line: 116
                      function: 'Illuminate\Pipeline\{closure}'
                      class: Illuminate\Pipeline\Pipeline
                      type: '->'
                    -
                      file: /var/www/clients-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php
                      line: 142
                      function: then
                      class: Illuminate\Pipeline\Pipeline
                      type: '->'
                    -
                      file: /var/www/clients-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php
                      line: 111
                      function: sendRequestThroughRouter
                      class: Illuminate\Foundation\Http\Kernel
                      type: '->'
                    -
                      file: /var/www/clients-api/vendor/knuckleswtf/scribe/src/Extracting/Strategies/Responses/ResponseCalls.php
                      line: 299
                      function: handle
                      class: Illuminate\Foundation\Http\Kernel
                      type: '->'
                    -
                      file: /var/www/clients-api/vendor/knuckleswtf/scribe/src/Extracting/Strategies/Responses/ResponseCalls.php
                      line: 287
                      function: callLaravelOrLumenRoute
                      class: Knuckles\Scribe\Extracting\Strategies\Responses\ResponseCalls
                      type: '->'
                    -
                      file: /var/www/clients-api/vendor/knuckleswtf/scribe/src/Extracting/Strategies/Responses/ResponseCalls.php
                      line: 89
                      function: makeApiCall
                      class: Knuckles\Scribe\Extracting\Strategies\Responses\ResponseCalls
                      type: '->'
                    -
                      file: /var/www/clients-api/vendor/knuckleswtf/scribe/src/Extracting/Strategies/Responses/ResponseCalls.php
                      line: 45
                      function: makeResponseCall
                      class: Knuckles\Scribe\Extracting\Strategies\Responses\ResponseCalls
                      type: '->'
                    -
                      file: /var/www/clients-api/vendor/knuckleswtf/scribe/src/Extracting/Strategies/Responses/ResponseCalls.php
                      line: 35
                      function: makeResponseCallIfConditionsPass
                      class: Knuckles\Scribe\Extracting\Strategies\Responses\ResponseCalls
                      type: '->'
                    -
                      file: /var/www/clients-api/vendor/knuckleswtf/scribe/src/Extracting/Extractor.php
                      line: 222
                      function: __invoke
                      class: Knuckles\Scribe\Extracting\Strategies\Responses\ResponseCalls
                      type: '->'
                    -
                      file: /var/www/clients-api/vendor/knuckleswtf/scribe/src/Extracting/Extractor.php
                      line: 179
                      function: iterateThroughStrategies
                      class: Knuckles\Scribe\Extracting\Extractor
                      type: '->'
                    -
                      file: /var/www/clients-api/vendor/knuckleswtf/scribe/src/Extracting/Extractor.php
                      line: 116
                      function: fetchResponses
                      class: Knuckles\Scribe\Extracting\Extractor
                      type: '->'
                    -
                      file: /var/www/clients-api/vendor/knuckleswtf/scribe/src/GroupedEndpoints/GroupedEndpointsFromApp.php
                      line: 123
                      function: processRoute
                      class: Knuckles\Scribe\Extracting\Extractor
                      type: '->'
                    -
                      file: /var/www/clients-api/vendor/knuckleswtf/scribe/src/GroupedEndpoints/GroupedEndpointsFromApp.php
                      line: 80
                      function: extractEndpointsInfoFromLaravelApp
                      class: Knuckles\Scribe\GroupedEndpoints\GroupedEndpointsFromApp
                      type: '->'
                    -
                      file: /var/www/clients-api/vendor/knuckleswtf/scribe/src/GroupedEndpoints/GroupedEndpointsFromApp.php
                      line: 56
                      function: extractEndpointsInfoAndWriteToDisk
                      class: Knuckles\Scribe\GroupedEndpoints\GroupedEndpointsFromApp
                      type: '->'
                    -
                      file: /var/www/clients-api/vendor/knuckleswtf/scribe/src/Commands/GenerateDocumentation.php
                      line: 55
                      function: get
                      class: Knuckles\Scribe\GroupedEndpoints\GroupedEndpointsFromApp
                      type: '->'
                    -
                      file: /var/www/clients-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php
                      line: 36
                      function: handle
                      class: Knuckles\Scribe\Commands\GenerateDocumentation
                      type: '->'
                    -
                      file: /var/www/clients-api/vendor/laravel/framework/src/Illuminate/Container/Util.php
                      line: 41
                      function: 'Illuminate\Container\{closure}'
                      class: Illuminate\Container\BoundMethod
                      type: '::'
                    -
                      file: /var/www/clients-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php
                      line: 93
                      function: unwrapIfClosure
                      class: Illuminate\Container\Util
                      type: '::'
                    -
                      file: /var/www/clients-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php
                      line: 37
                      function: callBoundMethod
                      class: Illuminate\Container\BoundMethod
                      type: '::'
                    -
                      file: /var/www/clients-api/vendor/laravel/framework/src/Illuminate/Container/Container.php
                      line: 651
                      function: call
                      class: Illuminate\Container\BoundMethod
                      type: '::'
                    -
                      file: /var/www/clients-api/vendor/laravel/framework/src/Illuminate/Console/Command.php
                      line: 136
                      function: call
                      class: Illuminate\Container\Container
                      type: '->'
                    -
                      file: /var/www/clients-api/vendor/symfony/console/Command/Command.php
                      line: 308
                      function: execute
                      class: Illuminate\Console\Command
                      type: '->'
                    -
                      file: /var/www/clients-api/vendor/laravel/framework/src/Illuminate/Console/Command.php
                      line: 121
                      function: run
                      class: Symfony\Component\Console\Command\Command
                      type: '->'
                    -
                      file: /var/www/clients-api/vendor/symfony/console/Application.php
                      line: 998
                      function: run
                      class: Illuminate\Console\Command
                      type: '->'
                    -
                      file: /var/www/clients-api/vendor/symfony/console/Application.php
                      line: 299
                      function: doRunCommand
                      class: Symfony\Component\Console\Application
                      type: '->'
                    -
                      file: /var/www/clients-api/vendor/symfony/console/Application.php
                      line: 171
                      function: doRun
                      class: Symfony\Component\Console\Application
                      type: '->'
                    -
                      file: /var/www/clients-api/vendor/laravel/framework/src/Illuminate/Console/Application.php
                      line: 102
                      function: run
                      class: Symfony\Component\Console\Application
                      type: '->'
                    -
                      file: /var/www/clients-api/vendor/laravel/framework/src/Illuminate/Foundation/Console/Kernel.php
                      line: 129
                      function: run
                      class: Illuminate\Console\Application
                      type: '->'
                    -
                      file: /var/www/clients-api/artisan
                      line: 37
                      function: handle
                      class: Illuminate\Foundation\Console\Kernel
                      type: '->'
                properties:
                  message:
                    type: string
                    example: ''
                  exception:
                    type: string
                    example: Symfony\Component\HttpKernel\Exception\NotFoundHttpException
                  file:
                    type: string
                    example: /var/www/clients-api/vendor/laravel/framework/src/Illuminate/Foundation/Application.php
                  line:
                    type: integer
                    example: 1143
                  trace:
                    type: array
                    example:
                      -
                        file: /var/www/clients-api/vendor/laravel/framework/src/Illuminate/Foundation/helpers.php
                        line: 44
                        function: abort
                        class: Illuminate\Foundation\Application
                        type: '->'
                      -
                        file: /var/www/clients-api/app/Http/Controllers/Api/Pages/CashbackPageSiteBlockController.php
                        line: 32
                        function: abort
                      -
                        file: /var/www/clients-api/vendor/laravel/framework/src/Illuminate/Routing/Controller.php
                        line: 54
                        function: __invoke
                        class: App\Http\Controllers\Api\Pages\CashbackPageSiteBlockController
                        type: '->'
                      -
                        file: /var/www/clients-api/vendor/laravel/framework/src/Illuminate/Routing/ControllerDispatcher.php
                        line: 45
                        function: callAction
                        class: Illuminate\Routing\Controller
                        type: '->'
                      -
                        file: /var/www/clients-api/vendor/laravel/framework/src/Illuminate/Routing/Route.php
                        line: 268
                        function: dispatch
                        class: Illuminate\Routing\ControllerDispatcher
                        type: '->'
                      -
                        file: /var/www/clients-api/vendor/laravel/framework/src/Illuminate/Routing/Route.php
                        line: 211
                        function: runController
                        class: Illuminate\Routing\Route
                        type: '->'
                      -
                        file: /var/www/clients-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php
                        line: 725
                        function: run
                        class: Illuminate\Routing\Route
                        type: '->'
                      -
                        file: /var/www/clients-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php
                        line: 141
                        function: 'Illuminate\Routing\{closure}'
                        class: Illuminate\Routing\Router
                        type: '->'
                      -
                        file: /var/www/clients-api/app/Http/Middleware/Headers/VerifyAppTokenHeader.php
                        line: 30
                        function: 'Illuminate\Pipeline\{closure}'
                        class: Illuminate\Pipeline\Pipeline
                        type: '->'
                      -
                        file: /var/www/clients-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php
                        line: 180
                        function: handle
                        class: App\Http\Middleware\Headers\VerifyAppTokenHeader
                        type: '->'
                      -
                        file: /var/www/clients-api/app/Http/Middleware/Headers/VerifyAccountTokenHeader.php
                        line: 38
                        function: 'Illuminate\Pipeline\{closure}'
                        class: Illuminate\Pipeline\Pipeline
                        type: '->'
                      -
                        file: /var/www/clients-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php
                        line: 180
                        function: handle
                        class: App\Http\Middleware\Headers\VerifyAccountTokenHeader
                        type: '->'
                      -
                        file: /var/www/clients-api/app/Http/Middleware/StoreUserApiVersion.php
                        line: 44
                        function: 'Illuminate\Pipeline\{closure}'
                        class: Illuminate\Pipeline\Pipeline
                        type: '->'
                      -
                        file: /var/www/clients-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php
                        line: 180
                        function: handle
                        class: App\Http\Middleware\StoreUserApiVersion
                        type: '->'
                      -
                        file: /var/www/clients-api/app/Http/Middleware/RestrictUnsupportedApiVersion.php
                        line: 34
                        function: 'Illuminate\Pipeline\{closure}'
                        class: Illuminate\Pipeline\Pipeline
                        type: '->'
                      -
                        file: /var/www/clients-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php
                        line: 180
                        function: handle
                        class: App\Http\Middleware\RestrictUnsupportedApiVersion
                        type: '->'
                      -
                        file: /var/www/clients-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php
                        line: 116
                        function: 'Illuminate\Pipeline\{closure}'
                        class: Illuminate\Pipeline\Pipeline
                        type: '->'
                      -
                        file: /var/www/clients-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php
                        line: 726
                        function: then
                        class: Illuminate\Pipeline\Pipeline
                        type: '->'
                      -
                        file: /var/www/clients-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php
                        line: 703
                        function: runRouteWithinStack
                        class: Illuminate\Routing\Router
                        type: '->'
                      -
                        file: /var/www/clients-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php
                        line: 667
                        function: runRoute
                        class: Illuminate\Routing\Router
                        type: '->'
                      -
                        file: /var/www/clients-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php
                        line: 656
                        function: dispatchToRoute
                        class: Illuminate\Routing\Router
                        type: '->'
                      -
                        file: /var/www/clients-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php
                        line: 167
                        function: dispatch
                        class: Illuminate\Routing\Router
                        type: '->'
                      -
                        file: /var/www/clients-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php
                        line: 141
                        function: 'Illuminate\Foundation\Http\{closure}'
                        class: Illuminate\Foundation\Http\Kernel
                        type: '->'
                      -
                        file: /var/www/clients-api/vendor/laravel/vapor-core/src/Http/Middleware/ServeStaticAssets.php
                        line: 21
                        function: 'Illuminate\Pipeline\{closure}'
                        class: Illuminate\Pipeline\Pipeline
                        type: '->'
                      -
                        file: /var/www/clients-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php
                        line: 180
                        function: handle
                        class: Laravel\Vapor\Http\Middleware\ServeStaticAssets
                        type: '->'
                      -
                        file: /var/www/clients-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php
                        line: 21
                        function: 'Illuminate\Pipeline\{closure}'
                        class: Illuminate\Pipeline\Pipeline
                        type: '->'
                      -
                        file: /var/www/clients-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/ConvertEmptyStringsToNull.php
                        line: 31
                        function: handle
                        class: Illuminate\Foundation\Http\Middleware\TransformsRequest
                        type: '->'
                      -
                        file: /var/www/clients-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php
                        line: 180
                        function: handle
                        class: Illuminate\Foundation\Http\Middleware\ConvertEmptyStringsToNull
                        type: '->'
                      -
                        file: /var/www/clients-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php
                        line: 21
                        function: 'Illuminate\Pipeline\{closure}'
                        class: Illuminate\Pipeline\Pipeline
                        type: '->'
                      -
                        file: /var/www/clients-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TrimStrings.php
                        line: 40
                        function: handle
                        class: Illuminate\Foundation\Http\Middleware\TransformsRequest
                        type: '->'
                      -
                        file: /var/www/clients-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php
                        line: 180
                        function: handle
                        class: Illuminate\Foundation\Http\Middleware\TrimStrings
                        type: '->'
                      -
                        file: /var/www/clients-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/ValidatePostSize.php
                        line: 27
                        function: 'Illuminate\Pipeline\{closure}'
                        class: Illuminate\Pipeline\Pipeline
                        type: '->'
                      -
                        file: /var/www/clients-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php
                        line: 180
                        function: handle
                        class: Illuminate\Foundation\Http\Middleware\ValidatePostSize
                        type: '->'
                      -
                        file: /var/www/clients-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/PreventRequestsDuringMaintenance.php
                        line: 86
                        function: 'Illuminate\Pipeline\{closure}'
                        class: Illuminate\Pipeline\Pipeline
                        type: '->'
                      -
                        file: /var/www/clients-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php
                        line: 180
                        function: handle
                        class: Illuminate\Foundation\Http\Middleware\PreventRequestsDuringMaintenance
                        type: '->'
                      -
                        file: /var/www/clients-api/vendor/laravel/framework/src/Illuminate/Http/Middleware/HandleCors.php
                        line: 62
                        function: 'Illuminate\Pipeline\{closure}'
                        class: Illuminate\Pipeline\Pipeline
                        type: '->'
                      -
                        file: /var/www/clients-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php
                        line: 180
                        function: handle
                        class: Illuminate\Http\Middleware\HandleCors
                        type: '->'
                      -
                        file: /var/www/clients-api/vendor/laravel/framework/src/Illuminate/Http/Middleware/TrustProxies.php
                        line: 39
                        function: 'Illuminate\Pipeline\{closure}'
                        class: Illuminate\Pipeline\Pipeline
                        type: '->'
                      -
                        file: /var/www/clients-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php
                        line: 180
                        function: handle
                        class: Illuminate\Http\Middleware\TrustProxies
                        type: '->'
                      -
                        file: /var/www/clients-api/vendor/laravel/framework/src/Illuminate/Http/Middleware/TrustHosts.php
                        line: 48
                        function: 'Illuminate\Pipeline\{closure}'
                        class: Illuminate\Pipeline\Pipeline
                        type: '->'
                      -
                        file: /var/www/clients-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php
                        line: 180
                        function: handle
                        class: Illuminate\Http\Middleware\TrustHosts
                        type: '->'
                      -
                        file: /var/www/clients-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php
                        line: 116
                        function: 'Illuminate\Pipeline\{closure}'
                        class: Illuminate\Pipeline\Pipeline
                        type: '->'
                      -
                        file: /var/www/clients-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php
                        line: 142
                        function: then
                        class: Illuminate\Pipeline\Pipeline
                        type: '->'
                      -
                        file: /var/www/clients-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php
                        line: 111
                        function: sendRequestThroughRouter
                        class: Illuminate\Foundation\Http\Kernel
                        type: '->'
                      -
                        file: /var/www/clients-api/vendor/knuckleswtf/scribe/src/Extracting/Strategies/Responses/ResponseCalls.php
                        line: 299
                        function: handle
                        class: Illuminate\Foundation\Http\Kernel
                        type: '->'
                      -
                        file: /var/www/clients-api/vendor/knuckleswtf/scribe/src/Extracting/Strategies/Responses/ResponseCalls.php
                        line: 287
                        function: callLaravelOrLumenRoute
                        class: Knuckles\Scribe\Extracting\Strategies\Responses\ResponseCalls
                        type: '->'
                      -
                        file: /var/www/clients-api/vendor/knuckleswtf/scribe/src/Extracting/Strategies/Responses/ResponseCalls.php
                        line: 89
                        function: makeApiCall
                        class: Knuckles\Scribe\Extracting\Strategies\Responses\ResponseCalls
                        type: '->'
                      -
                        file: /var/www/clients-api/vendor/knuckleswtf/scribe/src/Extracting/Strategies/Responses/ResponseCalls.php
                        line: 45
                        function: makeResponseCall
                        class: Knuckles\Scribe\Extracting\Strategies\Responses\ResponseCalls
                        type: '->'
                      -
                        file: /var/www/clients-api/vendor/knuckleswtf/scribe/src/Extracting/Strategies/Responses/ResponseCalls.php
                        line: 35
                        function: makeResponseCallIfConditionsPass
                        class: Knuckles\Scribe\Extracting\Strategies\Responses\ResponseCalls
                        type: '->'
                      -
                        file: /var/www/clients-api/vendor/knuckleswtf/scribe/src/Extracting/Extractor.php
                        line: 222
                        function: __invoke
                        class: Knuckles\Scribe\Extracting\Strategies\Responses\ResponseCalls
                        type: '->'
                      -
                        file: /var/www/clients-api/vendor/knuckleswtf/scribe/src/Extracting/Extractor.php
                        line: 179
                        function: iterateThroughStrategies
                        class: Knuckles\Scribe\Extracting\Extractor
                        type: '->'
                      -
                        file: /var/www/clients-api/vendor/knuckleswtf/scribe/src/Extracting/Extractor.php
                        line: 116
                        function: fetchResponses
                        class: Knuckles\Scribe\Extracting\Extractor
                        type: '->'
                      -
                        file: /var/www/clients-api/vendor/knuckleswtf/scribe/src/GroupedEndpoints/GroupedEndpointsFromApp.php
                        line: 123
                        function: processRoute
                        class: Knuckles\Scribe\Extracting\Extractor
                        type: '->'
                      -
                        file: /var/www/clients-api/vendor/knuckleswtf/scribe/src/GroupedEndpoints/GroupedEndpointsFromApp.php
                        line: 80
                        function: extractEndpointsInfoFromLaravelApp
                        class: Knuckles\Scribe\GroupedEndpoints\GroupedEndpointsFromApp
                        type: '->'
                      -
                        file: /var/www/clients-api/vendor/knuckleswtf/scribe/src/GroupedEndpoints/GroupedEndpointsFromApp.php
                        line: 56
                        function: extractEndpointsInfoAndWriteToDisk
                        class: Knuckles\Scribe\GroupedEndpoints\GroupedEndpointsFromApp
                        type: '->'
                      -
                        file: /var/www/clients-api/vendor/knuckleswtf/scribe/src/Commands/GenerateDocumentation.php
                        line: 55
                        function: get
                        class: Knuckles\Scribe\GroupedEndpoints\GroupedEndpointsFromApp
                        type: '->'
                      -
                        file: /var/www/clients-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php
                        line: 36
                        function: handle
                        class: Knuckles\Scribe\Commands\GenerateDocumentation
                        type: '->'
                      -
                        file: /var/www/clients-api/vendor/laravel/framework/src/Illuminate/Container/Util.php
                        line: 41
                        function: 'Illuminate\Container\{closure}'
                        class: Illuminate\Container\BoundMethod
                        type: '::'
                      -
                        file: /var/www/clients-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php
                        line: 93
                        function: unwrapIfClosure
                        class: Illuminate\Container\Util
                        type: '::'
                      -
                        file: /var/www/clients-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php
                        line: 37
                        function: callBoundMethod
                        class: Illuminate\Container\BoundMethod
                        type: '::'
                      -
                        file: /var/www/clients-api/vendor/laravel/framework/src/Illuminate/Container/Container.php
                        line: 651
                        function: call
                        class: Illuminate\Container\BoundMethod
                        type: '::'
                      -
                        file: /var/www/clients-api/vendor/laravel/framework/src/Illuminate/Console/Command.php
                        line: 136
                        function: call
                        class: Illuminate\Container\Container
                        type: '->'
                      -
                        file: /var/www/clients-api/vendor/symfony/console/Command/Command.php
                        line: 308
                        function: execute
                        class: Illuminate\Console\Command
                        type: '->'
                      -
                        file: /var/www/clients-api/vendor/laravel/framework/src/Illuminate/Console/Command.php
                        line: 121
                        function: run
                        class: Symfony\Component\Console\Command\Command
                        type: '->'
                      -
                        file: /var/www/clients-api/vendor/symfony/console/Application.php
                        line: 998
                        function: run
                        class: Illuminate\Console\Command
                        type: '->'
                      -
                        file: /var/www/clients-api/vendor/symfony/console/Application.php
                        line: 299
                        function: doRunCommand
                        class: Symfony\Component\Console\Application
                        type: '->'
                      -
                        file: /var/www/clients-api/vendor/symfony/console/Application.php
                        line: 171
                        function: doRun
                        class: Symfony\Component\Console\Application
                        type: '->'
                      -
                        file: /var/www/clients-api/vendor/laravel/framework/src/Illuminate/Console/Application.php
                        line: 102
                        function: run
                        class: Symfony\Component\Console\Application
                        type: '->'
                      -
                        file: /var/www/clients-api/vendor/laravel/framework/src/Illuminate/Foundation/Console/Kernel.php
                        line: 129
                        function: run
                        class: Illuminate\Console\Application
                        type: '->'
                      -
                        file: /var/www/clients-api/artisan
                        line: 37
                        function: handle
                        class: Illuminate\Foundation\Console\Kernel
                        type: '->'
                    items:
                      type: object
      tags:
        - WebPages
      security: []
tags:
  -
    name: Endpoints
    description: ''
  -
    name: Geo
    description: ''
  -
    name: Accounts
    description: ''
  -
    name: App
    description: ''
  -
    name: AppTokens
    description: ''
  -
    name: Cart
    description: ''
  -
    name: Checkout
    description: ''
  -
    name: Cities
    description: ''
  -
    name: Companies
    description: ''
  -
    name: Orders
    description: ''
  -
    name: 'User Addresses'
    description: ''
  -
    name: Users
    description: ''
  -
    name: WebPages
    description: ''
components:
  securitySchemes:
    default:
      type: apiKey
      name: Api-Auth-Token
      in: header
      description: ''
security:
  -
    default: []
