Geniemode Admin Controller API

Admin Controller

Operations 39

POST /api/v1/admin/GetDashboardData/{userId} getDashboardData #
PUT /api/v1/admin/auto-approve/order/risk autoApproveOrderRisk #
POST /api/v1/admin/buyerEngagementData getEngagementData #
GET /api/v1/admin/change-status/{orderId}/{status} changeStatus #
PUT /api/v1/admin/check/risk/team/approval/{orderId} createQcOldOrders #
POST /api/v1/admin/computeAuditStatus createQc #
POST /api/v1/admin/courier-budget/reset courierBudgetReset #
POST /api/v1/admin/createQcs createQc #
POST /api/v1/admin/dashboard-mv/refresh refreshLogisticsDashboardMv #
PUT /api/v1/admin/encryptAndSaveMissingQcs encryptAndSaveMissingQcs #
POST /api/v1/admin/factoryEngagementData factoryEngagementData #
PUT /api/v1/admin/fix/invoice/currency-conversion fixInvoiceCurrencyConversion #
POST /api/v1/admin/forceCompleteOrders forceCompleteOrders #
GET /api/v1/admin/getLeadsFromOrderRms getLeadsFromOrderRms #
PUT /api/v1/admin/getOrderEventData/{orderId} getOrderEventData #
GET /api/v1/admin/getOrderForNotes/{orderId} getOrderForNotes #
PUT /api/v1/admin/lock-shipment/{shipmentId} lockShipment #
PUT /api/v1/admin/manufacturer/delete deleteManufacturer #
PUT /api/v1/admin/manufacturer/set/rating/parameters setManufactureRatingParameters #
PUT /api/v1/admin/mark-invoice-payment-complete markInvoicePaymentComplete #
POST /api/v1/admin/migrateBuyerPoDocs migrateBuyerPoDocs #
PUT /api/v1/admin/openForcedCompleteOrders openForcedCompleteOrders #
POST /api/v1/admin/order-status-history/explain reexplainOrderStatusHistory #
GET /api/v1/admin/order/GetAllOrdersWithoutHierarchy index_light #
PUT /api/v1/admin/order/backfill/all backFillVariants #
PUT /api/v1/admin/order/backfill/fixIdentifier fixIdentifier #
GET /api/v1/admin/order/get-shipments-in-forwarder-quotation/list getShipmentInForwarderQuotationList #
GET /api/v1/admin/order/get-shipments-in-forwarder-quotation/page getShipmentInForwarderQuotationPage #
GET /api/v1/admin/order/get-sku-orders getSkuOrders #
GET /api/v1/admin/order/{orderId}/eta-date getOrderEtaDate #
GET /api/v1/admin/order/{orderId}/eta-epoch getOrderEtaEpoch #
PUT /api/v1/admin/propagate/variant/prices propagateVariantPrices #
GET /api/v1/admin/system-config getSystemConfig #
PUT /api/v1/admin/system-config upsertSystemConfig #
GET /api/v1/admin/test/{orderId} test #
PUT /api/v1/admin/unlock-invoice/{invoiceId} unlockInvoice #
PUT /api/v1/admin/unlock-shipment/{shipmentId} unlockShipment #
PUT /api/v1/admin/unzipAndUpdatePos unzipAndUpdatePos #
GET /api/v1/admin/user/{userId}/{type}/open-count getUserOpenOrderCount #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/geniemode-admin-controller-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

geniemode-admin-controller-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  description: Cataloguing API.
  version: API V
  title: Cataloguing Admin Controller API
  termsOfService: Terms of service
  contact:
    name: Mani Bhushan
    url: www.geniemode.com
    email: mani.kumar@geniemode.com
  license:
    name: License of API
    url: API license URL
servers:
- url: https://portal.geniemode.com
tags:
- name: admin-controller
  description: Admin Controller
paths:
  /api/v1/admin/GetDashboardData/{userId}:
    post:
      tags:
      - admin-controller
      summary: getDashboardData
      operationId: getDashboardDataUsingPOST
      parameters:
      - name: userId
        in: path
        description: userId
        required: true
        schema:
          type: integer
          format: int64
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/DashboardDataDto'
  /api/v1/admin/auto-approve/order/risk:
    put:
      tags:
      - admin-controller
      summary: autoApproveOrderRisk
      operationId: autoApproveOrderRiskUsingPUT
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: string
  /api/v1/admin/buyerEngagementData:
    post:
      tags:
      - admin-controller
      summary: getEngagementData
      operationId: getEngagementDataUsingPOST
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/EngagementDataRequestPayload'
        description: payload
        required: true
  /api/v1/admin/change-status/{orderId}/{status}:
    get:
      tags:
      - admin-controller
      summary: changeStatus
      operationId: changeStatusUsingGET
      parameters:
      - name: orderId
        in: path
        description: orderId
        required: true
        schema:
          type: integer
          format: int64
      - name: status
        in: path
        description: status
        required: true
        schema:
          type: string
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: string
        '403':
          description: Forbidden!!!!!
        '500':
          description: 500 message
  /api/v1/admin/check/risk/team/approval/{orderId}:
    put:
      tags:
      - admin-controller
      summary: createQcOldOrders
      operationId: createQcOldOrdersUsingPUT
      parameters:
      - name: orderId
        in: path
        description: orderId
        required: true
        schema:
          type: integer
          format: int64
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: boolean
  /api/v1/admin/computeAuditStatus:
    post:
      tags:
      - admin-controller
      summary: createQc
      operationId: createQcUsingPOST_1
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
                additionalProperties:
                  type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ComputeTnaStatusRequestPayload'
        description: payload
        required: true
  /api/v1/admin/courier-budget/reset:
    post:
      tags:
      - admin-controller
      summary: courierBudgetReset
      operationId: courierBudgetResetUsingPOST
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: string
  /api/v1/admin/createQcs:
    post:
      tags:
      - admin-controller
      summary: createQc
      operationId: createQcUsingPOST
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: array
                items:
                  type: integer
                  format: int64
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/OpenForcedCompleteOrdersRequestPayload'
        description: payload
        required: true
  /api/v1/admin/dashboard-mv/refresh:
    post:
      tags:
      - admin-controller
      summary: refreshLogisticsDashboardMv
      operationId: refreshLogisticsDashboardMvUsingPOST
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
                additionalProperties:
                  type: object
  /api/v1/admin/encryptAndSaveMissingQcs:
    put:
      tags:
      - admin-controller
      summary: encryptAndSaveMissingQcs
      operationId: encryptAndSaveMissingQcsUsingPUT
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: string
  /api/v1/admin/factoryEngagementData:
    post:
      tags:
      - admin-controller
      summary: factoryEngagementData
      operationId: factoryEngagementDataUsingPOST
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/EngagementDataRequestPayload'
        description: payload
        required: true
  /api/v1/admin/fix/invoice/currency-conversion:
    put:
      tags:
      - admin-controller
      summary: fixInvoiceCurrencyConversion
      operationId: fixInvoiceCurrencyConversionUsingPUT
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
                additionalProperties:
                  type: object
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/FixInvoiceCurrencyConversionRequestPayload'
        description: payload
        required: true
  /api/v1/admin/forceCompleteOrders:
    post:
      tags:
      - admin-controller
      summary: forceCompleteOrders
      operationId: forceCompleteOrdersUsingPOST
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ForceCompleteRequestPayload'
        description: payload
        required: true
  /api/v1/admin/getLeadsFromOrderRms:
    get:
      tags:
      - admin-controller
      summary: getLeadsFromOrderRms
      operationId: getLeadsFromOrderRmsUsingGET
      parameters:
      - name: orderRmIds
        in: query
        required: false
        style: form
        explode: true
        schema:
          type: array
          items:
            type: integer
            format: int64
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: array
                items:
                  type: integer
                  format: int64
        '403':
          description: Forbidden!!!!!
        '500':
          description: 500 message
  /api/v1/admin/getOrderEventData/{orderId}:
    put:
      tags:
      - admin-controller
      summary: getOrderEventData
      operationId: getOrderEventDataUsingPUT
      parameters:
      - name: orderId
        in: path
        description: orderId
        required: true
        schema:
          type: integer
          format: int64
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/OrderDetailForEvent'
  /api/v1/admin/getOrderForNotes/{orderId}:
    get:
      tags:
      - admin-controller
      summary: getOrderForNotes
      operationId: getOrderForNotesUsingGET
      parameters:
      - name: orderId
        in: path
        description: orderId
        required: true
        schema:
          type: integer
          format: int64
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GetOrderForNotesResponse'
        '403':
          description: Forbidden!!!!!
        '500':
          description: 500 message
  /api/v1/admin/lock-shipment/{shipmentId}:
    put:
      tags:
      - admin-controller
      summary: lockShipment
      operationId: lockShipmentUsingPUT
      parameters:
      - name: shipmentId
        in: path
        description: shipmentId
        required: true
        schema:
          type: integer
          format: int64
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: string
  /api/v1/admin/manufacturer/delete:
    put:
      tags:
      - admin-controller
      summary: deleteManufacturer
      operationId: deleteManufacturerUsingPUT
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ManufacturerGaId'
        description: manufacturerGaId
        required: true
  /api/v1/admin/manufacturer/set/rating/parameters:
    put:
      tags:
      - admin-controller
      summary: setManufactureRatingParameters
      operationId: setManufactureRatingParametersUsingPUT
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: string
  /api/v1/admin/mark-invoice-payment-complete:
    put:
      tags:
      - admin-controller
      summary: markInvoicePaymentComplete
      operationId: markInvoicePaymentCompleteUsingPUT
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: string
  /api/v1/admin/migrateBuyerPoDocs:
    post:
      tags:
      - admin-controller
      summary: migrateBuyerPoDocs
      operationId: migrateBuyerPoDocsUsingPOST
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: string
  /api/v1/admin/openForcedCompleteOrders:
    put:
      tags:
      - admin-controller
      summary: openForcedCompleteOrders
      operationId: openForcedCompleteOrdersUsingPUT
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/OpenForcedCompleteOrdersRequestPayload'
        description: payload
        required: true
  /api/v1/admin/order-status-history/explain:
    post:
      tags:
      - admin-controller
      summary: reexplainOrderStatusHistory
      operationId: reexplainOrderStatusHistoryUsingPOST
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
                additionalProperties:
                  type: object
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ExplainRowsRequestPayload'
        description: req
        required: true
  /api/v1/admin/order/GetAllOrdersWithoutHierarchy:
    get:
      tags:
      - admin-controller
      summary: index_light
      operationId: index_lightUsingGET
      parameters:
      - name: approvalStatus
        in: query
        required: false
        schema:
          type: string
      - name: assigneeIds
        in: query
        required: false
        style: form
        explode: true
        schema:
          type: array
          items:
            type: integer
            format: int64
      - name: brandIds
        in: query
        required: false
        style: form
        explode: true
        schema:
          type: array
          items:
            type: integer
            format: int64
      - name: businessOwnerIds
        in: query
        required: false
        style: form
        explode: true
        schema:
          type: array
          items:
            type: integer
            format: int64
      - name: buyerExFactoryEndDate
        in: query
        required: false
        schema:
          type: integer
          format: int64
      - name: buyerExFactoryStartDate
        in: query
        required: false
        schema:
          type: integer
          format: int64
      - name: companyIds
        in: query
        required: false
        style: form
        explode: true
        schema:
          type: array
          items:
            type: integer
            format: int64
      - name: confirmationDateEndDate
        in: query
        required: false
        schema:
          type: integer
          format: int64
      - name: confirmationDateStartDate
        in: query
        required: false
        schema:
          type: integer
          format: int64
      - name: draftOrders
        in: query
        required: false
        schema:
          type: boolean
      - name: fieldName
        in: query
        required: false
        schema:
          type: string
      - name: filters
        in: query
        required: false
        style: form
        explode: true
        schema:
          type: array
          items:
            type: string
      - name: financeApprovedOnce
        in: query
        required: false
        schema:
          type: boolean
      - name: financialStatus
        in: query
        required: false
        style: form
        explode: true
        schema:
          type: array
          items:
            type: string
      - name: forPo
        in: query
        required: false
        schema:
          type: boolean
      - name: fromDb
        in: query
        required: false
        schema:
          type: boolean
      - name: getDataFor
        in: query
        required: false
        schema:
          type: string
      - name: havingShipmentsOnly
        in: query
        required: false
        schema:
          type: boolean
      - name: inventoryCreated
        in: query
        required: false
        schema:
          type: boolean
      - name: leadIds
        in: query
        required: false
        style: form
        explode: true
        schema:
          type: array
          items:
            type: integer
            format: int64
      - name: manufacturerIds
        in: query
        required: false
        style: form
        explode: true
        schema:
          type: array
          items:
            type: integer
            format: int64
      - name: modelTypes
        in: query
        required: false
        style: form
        explode: true
        schema:
          type: array
          items:
            type: string
      - name: opsAssigneeIds
        in: query
        required: false
        style: form
        explode: true
        schema:
          type: array
          items:
            type: integer
            format: int64
      - name: orderIds
        in: query
        required: false
        style: form
        explode: true
        schema:
          type: array
          items:
            type: integer
            format: int64
      - name: parentOrderOnly
        in: query
        required: false
        schema:
          type: boolean
      - name: search
        in: query
        required: false
        schema:
          type: string
      - name: searchList
        in: query
        required: false
        style: form
        explode: true
        schema:
          type: array
          items:
            type: object
      - name: skipList
        in: query
        required: false
        style: form
        explode: true
        schema:
          type: array
          items:
            type: string
      - name: typeOfDelivery
        in: query
        required: false
        style: form
        explode: true
        schema:
          type: array
          items:
            type: string
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
                additionalProperties:
                  type: object
        '403':
          description: Forbidden!!!!!
        '500':
          description: 500 message
  /api/v1/admin/order/backfill/all:
    put:
      tags:
      - admin-controller
      summary: backFillVariants
      operationId: backFillVariantsUsingPUT
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/BackfillVariantResponsePayload'
  /api/v1/admin/order/backfill/fixIdentifier:
    put:
      tags:
      - admin-controller
      summary: fixIdentifier
      operationId: fixIdentifierUsingPUT
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: integer
                format: int64
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/FixVariantsIdentifierRequestPayload'
        description: fixVariantsIdentifierRequestPayload
        required: true
  /api/v1/admin/order/get-shipments-in-forwarder-quotation/list:
    get:
      tags:
      - admin-controller
      summary: getShipmentInForwarderQuotationList
      operationId: getShipmentInForwarderQuotationListUsingGET
      parameters:
      - name: ids
        in: query
        required: false
        style: form
        explode: true
        schema:
          type: array
          items:
            type: integer
            format: int64
      - name: orderIds
        in: query
        required: false
        style: form
        explode: true
        schema:
          type: array
          items:
            type: integer
            format: int64
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/ShipmentInForwarderQuotationResponse'
        '403':
          description: Forbidden!!!!!
        '500':
          description: 500 message
  /api/v1/admin/order/get-shipments-in-forwarder-quotation/page:
    get:
      tags:
      - admin-controller
      summary: getShipmentInForwarderQuotationPage
      operationId: getShipmentInForwarderQuotationPageUsingGET
      parameters:
      - name: ids
        in: query
        required: false
        style: form
        explode: true
        schema:
          type: array
          items:
            type: integer
            format: int64
      - name: orderIds
        in: query
        required: false
        style: form
        explode: true
        schema:
          type: array
          items:
            type: integer
            format: int64
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
                additionalProperties:
                  type: object
        '403':
          description: Forbidden!!!!!
        '500':
          description: 500 message
  /api/v1/admin/order/get-sku-orders:
    get:
      tags:
      - admin-controller
      summary: getSkuOrders
      operationId: getSkuOrdersUsingGET
      parameters:
      - name: sku
        in: query
        required: false
        schema:
          type: string
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/OrderDetailMinimalDto'
        '403':
          description: Forbidden!!!!!
        '500':
          description: 500 message
  /api/v1/admin/order/{orderId}/eta-date:
    get:
      tags:
      - admin-controller
      summary: getOrderEtaDate
      operationId: getOrderEtaDateUsingGET
      parameters:
      - name: orderId
        in: path
        description: orderId
        required: true
        schema:
          type: integer
          format: int64
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: string
                format: date-time
        '403':
          description: Forbidden!!!!!
        '500':
          description: 500 message
  /api/v1/admin/order/{orderId}/eta-epoch:
    get:
      tags:
      - admin-controller
      summary: getOrderEtaEpoch
      operationId: getOrderEtaEpochUsingGET
      parameters:
      - name: orderId
        in: path
        description: orderId
        required: true
        schema:
          type: integer
          format: int64
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: integer
                format: int64
        '403':
          description: Forbidden!!!!!
        '500':
          description: 500 message
  /api/v1/admin/propagate/variant/prices:
    put:
      tags:
      - admin-controller
      summary: propagateVariantPrices
      operationId: propagateVariantPricesUsingPUT
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/PropagateVariantPricesRequestPayload'
        description: payload
        required: true
  /api/v1/admin/system-config:
    get:
      tags:
      - admin-controller
      summary: getSystemConfig
      operationId: getSystemConfigUsingGET
      parameters:
      - name: id
        in: query
        description: id
        required: false
        schema:
          type: integer
          format: int64
      - name: key
        in: query
        description: key
        required: true
        schema:
          type: string
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SystemConfig'
        '403':
          description: Forbidden!!!!!
        '500':
          description: 500 message
    put:
      tags:
      - admin-controller
      summary: upsertSystemConfig
      operationId: upsertSystemConfigUsingPUT
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SystemConfig'
      requestBody:
        content:
          application/json:
            schema:
              type: object
        description: body
        required: true
  /api/v1/admin/test/{orderId}:
    get:
      tags:
      - admin-controller
      summary: test
      operationId: testUsingGET
      parameters:
      - name: orderId
        in: path
        description: orderId
        required: true
        schema:
          type: integer
          format: int64
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: string
        '403':
          description: Forbidden!!!!!
        '500':
          description: 500 message
  /api/v1/admin/unlock-invoice/{invoiceId}:
    put:
      tags:
      - admin-controller
      summary: unlockInvoice
      operationId: unlockInvoiceUsingPUT
      parameters:
      - name: invoiceId
        in: path
        description: invoiceId
        required: true
        schema:
          type: integer
          format: int64
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: string
  /api/v1/admin/unlock-shipment/{shipmentId}:
    put:
      tags:
      - admin-controller
      summary: unlockShipment
      operationId: unlockShipmentUsingPUT
      parameters:
      - name: shipmentId
        in: path
        description: shipmentId
        required: true
        schema:
          type: integer
          format: int64
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: string
  /api/v1/admin/unzipAndUpdatePos:
    put:
      tags:
      - admin-controller
      summary: unzipAndUpdatePos
      operationId: unzipAndUpdatePosUsingPUT
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
                additionalProperties:
                  type: object
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/UnzipAndUpdatePosRequestPayload'
        description: payload
        required: true
  /api/v1/admin/user/{userId}/{type}/open-count:
    get:
      tags:
      - admin-controller
      summary: getUserOpenOrderCount
      operationId: getUserOpenOrderCountUsingGET
      parameters:
      - name: type
        in: path
        description: type
        required: true
        schema:
          type: string
      - name: userId
        in: path
        description: userId
        required: true
        schema:
          type: integer
          format: int64
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: integer
                format: int64
        '403':
          description: Forbidden!!!!!
        '500':
          description: 500 message
components:
  schemas:
    ExplainRowsRequestPayload:
      type: object
      properties:
        force_overwrite:
          type: boolean
        order_id:
          type: integer
          format: int64
        order_ids:
          type: array
          items:
            type: integer
            format: int64
        order_status_history_ids:
          type: array
          items:
            type: integer
            format: int64
        use_ai:
          type: boolean
        use_queue:
          type: boolean
      title: ExplainRowsRequestPayload
    BrandVpDto:
      type: object
      properties:
        id:
          type: integer
          format: int64
        vp_email:
          type: string
        vp_id:
          type: integer
          format: int64
        vp_name:
          type: string
      title: BrandVpDto
    OrderDetailForEvent:
      type: object
      properties:
        factory:
          $ref: '#/components/schemas/UMSUserResponsePayload'
        last_finance_approver:
          type: string
        lead_data:
          $ref: '#/components/schemas/LeadPageDTO'
        manufacturer:
          $ref: '#/components/schemas/ManufacturerDetailsDTO'
        order_id:
          type: integer
          format: int64
        rm:
          $ref: '#/components/schemas/UMSUserResponsePayload'
        rm_ops:
          $ref: '#/components/schemas/UMSUserResponsePayload'
        sku:
          type: string
        style_code:
          type: string
      title: OrderDetailForEvent
    ShipmentInForwarderQuotationResponse:
      type: object
      properties:
        ex_factory_date:
          type: integer
          format: int64
        factory_invoice_no:
          type: string
        id:
          type: integer
          format: int64
        manufacturer_name:
          type: string
        order_id:
          type: integer
          format: int64
        port_of_discharge:
          type: string
        port_of_loading:
          type: string
      title: ShipmentInForwarderQuotationResponse
    LeadGenerationResponse:
      type: object
      properties:
        brand:
          $ref: '#/components/schemas/BrandResponse'
        client_id:
          type: integer
          format: int64
        company:
          $ref: '#/components/schemas/CompanyDTO'
        country:
          type: string
        email:
          type: string
        id:
          type: integer
          format: int64
        lead_approval_status:
          type: string
        lead_projection_list:
          type: array
          items:
            $ref: '#/components/schemas/LeadProjectionDTO'
        name:
          type: string
      title: LeadGenerationResponse
    LeadPageDTO:
      type: object
      properties:
        current_stage_name:
          type: string
        current_user:
          $ref: '#/components/schemas/UserResponsePayload'
        last_stage_id:
          type: integer
          format: int64
        lead_generation:
          $ref: '#/components/schemas/LeadGenerationResponse'
        time_difference:
          type: integer
          format: int64
      title: LeadPageDTO
    OrderDetailMinimalDto:
      type: object
      properties:
        confirmation_date:
          type: string
          format: date-time
        lead:
          $ref: '#/components/schemas/LeadsUnderVpResponse'
        lead_id:
          type: integer
          format: int64
        order_id:
          type: integer
          format: int64
      title: OrderDetailMinimalDto
    UMSUserResponsePayload:
      type: object
      properties:
        country_code:
          type: string
        created_by:
          type: string
        first_name:
          type: string
        group_ids:
          type: array
          items:
            type: integer
            format: int64
        id:
          type: integer
          format: int64
        last_name:
          type: string
        manager:
          $ref: '#/components/schemas/UMSUserResponsePayload'
        phone_number:
          type: string
        roles:
          type: array
          items:
            type: string
        username:
          type: string
        whatsapp_opt_in:
          type: boolean
      title: UMSUserResponsePayload
    CompanyDTO:
      type: object
      properties:
        ask_buyer_wip_on_order:
          type: boolean
        company_name:
          type: string
        compliances:
          type: array
          items:
            type: string
        id:
          type: integer
          format: int64
        min_buy_sell_margin:
          type: number
        min_commission_margin:
          type: number
        min_trading_margin:
          type: number
      title: CompanyDTO
    BrandCategoryDto:
      type: object
      properties:
        category_id:
          type: integer
          format: int64
        category_name:
          type: string
        id:
          type: integer
          format: int64
      title: BrandCategoryDto
    ManufacturerGaId:
      type: object
      properties:
        ga_id:
          type: string
        get_docs:
          type: boolean
        manufacturer_id:
          type: integer
          format: int64
        pin:
          type: integer
          format: int64
      title: ManufacturerGaId
    OpenForcedCompleteOrdersRequestPayload:
      type: object
      properties:
        order_ids:
          type: array
          items:
            type: integer
            format: int64
      title: OpenForcedCompleteOrdersRequestPayload
    GetOrderForNotesResponse:
      type: object
      properties:
        assignee_id:
          type: integer
          format: int64
        client_id:
          type: integer
          format: int64
        manufacturer_id:
          type: integer
          format: int64
        ops_assignee_id:
          type: integer
          format: int6

# --- truncated at 32 KB (39 KB total) ---
# Full source: https://raw.githubusercontent.com/api-evangelist/geniemode/refs/heads/main/openapi/geniemode-admin-controller-api-openapi.yml