Geniemode Variant Controller API

Variant Controller

Operations 3

GET /api/v1/order/variants/single/{orderId} getVariantsOrder #
GET /api/v1/order/variants/{orderId} getVariants #
PUT /api/v1/order/variants/{orderId} updateVariant #

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-variant-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-variant-controller-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  description: Cataloguing API.
  version: API V
  title: Cataloguing Variant 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: variant-controller
  description: Variant Controller
paths:
  /api/v1/order/variants/single/{orderId}:
    get:
      tags:
      - variant-controller
      summary: getVariantsOrder
      operationId: getVariantsOrderUsingGET_2
      parameters:
      - name: orderId
        in: path
        description: orderId
        required: true
        schema:
          type: integer
          format: int64
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/VariantResponsePayload'
        '403':
          description: Forbidden!!!!!
        '500':
          description: 500 message
  /api/v1/order/variants/{orderId}:
    get:
      tags:
      - variant-controller
      summary: getVariants
      operationId: getVariantsUsingGET
      parameters:
      - name: orderId
        in: path
        description: orderId
        required: true
        schema:
          type: integer
          format: int64
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/VariantResponsePayload'
        '403':
          description: Forbidden!!!!!
        '500':
          description: 500 message
    put:
      tags:
      - variant-controller
      summary: updateVariant
      operationId: updateVariantUsingPUT
      parameters:
      - name: orderId
        in: path
        description: orderId
        required: true
        schema:
          type: integer
          format: int64
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/VariantResponsePayload'
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/VariantsRequestPayload'
        description: variantsRequestPayload
        required: true
components:
  schemas:
    OrderBuyerPoBaseDto:
      type: object
      properties:
        buyer_po_no:
          type: string
        id:
          type: integer
          format: int64
      title: OrderBuyerPoBaseDto
    VariantBuyerPoMappingResponsePayload:
      type: object
      properties:
        created_at:
          type: integer
          format: int64
        created_by:
          type: string
        id:
          type: integer
          format: int64
        last_modified_at:
          type: integer
          format: int64
        last_modified_by:
          type: string
        locked_quantity:
          type: integer
          format: int64
        order_buyer_po:
          $ref: '#/components/schemas/OrderBuyerPoBaseDto'
        po_no:
          type: string
        quantity:
          type: integer
          format: int64
      title: VariantBuyerPoMappingResponsePayload
    OrderMinifiedDto:
      type: object
      properties:
        financial_status:
          type: string
        id:
          type: integer
          format: int64
        lead_id:
          type: integer
          format: int64
        sku:
          type: string
        style_code:
          type: string
      title: OrderMinifiedDto
    VariantsRequestPayload:
      type: object
      properties:
        check_overflow:
          type: boolean
        hold_qc:
          type: boolean
        qc_id:
          type: integer
          format: int64
        status:
          type: string
        sub_status:
          type: string
        update_by_qc:
          type: boolean
        variants:
          type: array
          items:
            $ref: '#/components/schemas/VariantRequestPayload'
      title: VariantsRequestPayload
    VariantRequestPayload:
      type: object
      properties:
        buying_price:
          type: number
        color:
          type: string
        currency_price:
          type: number
        factory_currency_price:
          type: number
        factory_dollar_price:
          type: number
        final_currency_price:
          type: number
        final_price:
          type: number
        id:
          type: integer
          format: int64
        identifier:
          type: string
        price:
          type: number
        qc_quantity:
          type: integer
          format: int64
        quantity:
          type: integer
          format: int64
        size:
          type: string
        through_qc:
          type: boolean
        uom:
          type: string
        variant_buyer_po_mappings:
          type: array
          items:
            $ref: '#/components/schemas/VariantBuyerPoMappingRequestPayload'
      title: VariantRequestPayload
    VariantBuyerPoMappingRequestPayload:
      type: object
      properties:
        id:
          type: integer
          format: int64
        locked_quantity:
          type: integer
          format: int64
        order_buyer_po:
          $ref: '#/components/schemas/OrderBuyerPoBaseDto'
        po_no:
          type: string
        quantity:
          type: integer
          format: int64
      title: VariantBuyerPoMappingRequestPayload
    VariantResponsePayload:
      type: object
      properties:
        buying_price:
          type: number
        color:
          type: string
        currency_price:
          type: number
        factory_currency_price:
          type: number
        factory_dollar_price:
          type: number
        final_currency_price:
          type: number
        final_price:
          type: number
        id:
          type: integer
          format: int64
        identifier:
          type: string
        is_quantity_same_to_proposed:
          type: boolean
        last_quantity_editor:
          type: string
        locked_quantity:
          type: integer
          format: int64
        order:
          $ref: '#/components/schemas/OrderMinifiedDto'
        packaging_status:
          type: string
          enum:
          - over_packed
          - packed
          - partially_packed
          - unpacked
        price:
          type: number
        price_locked:
          type: boolean
        proposed_quantity:
          type: integer
          format: int64
        qc_quantity:
          type: integer
          format: int64
        quantity:
          type: integer
          format: int64
        quantity_finalized:
          type: boolean
        ship_qty_negative_tolerance:
          type: integer
          format: int64
        ship_qty_positive_tolerance:
          type: integer
          format: int64
        size:
          type: string
        uom:
          type: string
        variant_buyer_po_mappings:
          type: array
          items:
            $ref: '#/components/schemas/VariantBuyerPoMappingResponsePayload'
      title: VariantResponsePayload