Huma Order Management API

The Order Management API from Huma — 4 operation(s) for order management.

Operations 4

GET /api/plugins/v1/order-management/products List Products #
POST /api/plugins/v1/order-management/user/{user_id}/order Create Order #
PUT /api/plugins/v1/order-management/user/{user_id}/order/{order_id} Update Order #
GET /api/plugins/v1/order-management/user/{user_id}/orders List Orders #

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/huma-order-management-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

huma-order-management-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Huma Platform Order Management API
  version: 1.0.0
  description: Huma Platform
servers:
- url: https://workspace-gcp-uk.api.huma.com/api/integration/v1
  description: Base URL declared by the provider in apis.yml (roadmap#122).
tags:
- name: Order Management
paths:
  /api/plugins/v1/order-management/products:
    get:
      operationId: api_plugins_v1_order_management_products_retrieve_[list_products]
      description: 'List Products

        Returns all available products.'
      summary: List Products
      tags:
      - Order Management
      security:
      - JWT Auth: []
      - Hawk Auth: []
      - jwtAuth: []
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ProductsResponseDRF'
          description: ''
  /api/plugins/v1/order-management/user/{user_id}/order:
    post:
      operationId: api_plugins_v1_order_management_user_order_create_[create_order]
      description: 'Create OrderDTO

        Creates a new order for the user.'
      summary: Create Order
      parameters:
      - in: path
        name: user_id
        schema:
          type: string
          pattern: ^[a-f0-9]{24}$
        required: true
      tags:
      - Order Management
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/CreateOrderRequestObjectDRF'
          application/x-www-form-urlencoded:
            schema:
              $ref: '#/components/schemas/CreateOrderRequestObjectDRF'
          multipart/form-data:
            schema:
              $ref: '#/components/schemas/CreateOrderRequestObjectDRF'
        required: true
      security:
      - JWT Auth: []
      - Hawk Auth: []
      - jwtAuth: []
      responses:
        '201':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ResultIdResponseObjectDRF'
          description: ''
  /api/plugins/v1/order-management/user/{user_id}/order/{order_id}:
    put:
      operationId: api_plugins_v1_order_management_user_order_update_[update_order]
      description: 'Update OrderDTO

        Updates an order''s status or cart.'
      summary: Update Order
      parameters:
      - in: path
        name: order_id
        schema:
          type: string
          pattern: ^[a-f0-9]{24}$
        required: true
      - in: path
        name: user_id
        schema:
          type: string
          pattern: ^[a-f0-9]{24}$
        required: true
      tags:
      - Order Management
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/UpdateOrderRequestObjectDRF'
          application/x-www-form-urlencoded:
            schema:
              $ref: '#/components/schemas/UpdateOrderRequestObjectDRF'
          multipart/form-data:
            schema:
              $ref: '#/components/schemas/UpdateOrderRequestObjectDRF'
      security:
      - JWT Auth: []
      - Hawk Auth: []
      - jwtAuth: []
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ResultIdResponseObjectDRF'
          description: ''
  /api/plugins/v1/order-management/user/{user_id}/orders:
    get:
      operationId: api_plugins_v1_order_management_user_orders_retrieve_[list_orders]
      description: 'List Orders

        Returns all orders for the user.'
      summary: List Orders
      parameters:
      - in: query
        name: userId
        schema:
          type: string
        required: true
      - in: path
        name: user_id
        schema:
          type: string
          pattern: ^[a-f0-9]{24}$
        required: true
      tags:
      - Order Management
      security:
      - JWT Auth: []
      - Hawk Auth: []
      - jwtAuth: []
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ListOrdersResponseObjectDRF'
          description: ''
components:
  schemas:
    ResultIdResponseObjectDRF:
      type: object
      properties:
        id:
          type: string
    UpdateOrderRequestObjectDRF:
      type: object
      properties:
        userId:
          type: string
        orderId:
          type: string
        status:
          type: string
        cart:
          type: array
          items:
            $ref: '#/components/schemas/OrderItemDRF'
    ProductsResponseDRF:
      type: object
      properties:
        products:
          type: array
          items:
            $ref: '#/components/schemas/ProductDTODRF'
    OrderDTODRF:
      type: object
      properties:
        id:
          type: string
        userId:
          type: string
        cart:
          type: array
          items:
            $ref: '#/components/schemas/OrderItemDRF'
        status:
          type: string
        createDateTime:
          type: string
          format: date-time
        updateDateTime:
          type: string
          format: date-time
      required:
      - cart
      - createDateTime
      - status
      - updateDateTime
      - userId
    ListOrdersResponseObjectDRF:
      type: object
      properties:
        orders:
          type: array
          items:
            $ref: '#/components/schemas/OrderDTODRF'
    CreateOrderRequestObjectDRF:
      type: object
      properties:
        userId:
          type: string
        cart:
          type: array
          items:
            $ref: '#/components/schemas/OrderItemDRF'
      required:
      - cart
      - userId
    OrderItemDRF:
      type: object
      properties:
        productId:
          type: string
        quantity:
          type: integer
        sku:
          type: string
        title:
          type: string
        image:
          type: string
      required:
      - productId
      - quantity
      - sku
    ProductDTODRF:
      type: object
      properties:
        id:
          type: string
        title:
          type: string
        image:
          type: string
        sku:
          type: string
      required:
      - image
      - sku
      - title
  securitySchemes:
    Hawk_Auth:
      type: apiKey
      in: header
      name: Authorization
      description: 'Hawk MAC authentication. Paste a full Authorization header value.


        Example:


        Authorization: Hawk id="userId:clientId", ts="<unix_ts>", nonce="<nonce>", mac="<mac>"[, hash="<hash>"][, ext="<ext>"]


        Note: Swagger UI cannot generate Hawk headers. Use your client to compute the MAC (e.g., with mohawk), then paste the full value here.'
    JWT_Auth:
      type: http
      scheme: bearer
      in: header
      bearerFormat: JWT
      description: 'Use HTTP Bearer auth with a JWT.


        Send the token in the Authorization header:


        Authorization: Bearer <your_jwt_here>


        The token should contain standard claims plus projectId and clientId in user claims.'
    jwtAuth:
      type: http
      scheme: bearer
      bearerFormat: JWT