Middesk subpackage_orders API

The subpackage_orders API from Middesk — 3 operation(s) for subpackage_orders.

Operations 5

GET /v1/businesses/{business_id}/orders List orders for a business #
POST /v1/businesses/{business_id}/orders Create an order for a business #
GET /v1/businesses/{business_id}/orders/{id} Retrieve an order #
GET /v1/orders/{id} Retrieve an order by ID #
PUT /v1/orders/{id} Update an order #

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/middesk-subpackage-orders-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

middesk-subpackage-orders-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Middesk subpackage_actions Subpackage Orders API
  version: 1.0.0
servers:
- url: https://api.middesk.com
  description: Default
tags:
- name: subpackage_orders
paths:
  /v1/businesses/{business_id}/orders:
    get:
      operationId: list-orders
      summary: List orders for a business
      tags:
      - subpackage_orders
      parameters:
      - name: business_id
        in: path
        description: Business ID
        required: true
        schema:
          type: string
      - name: packages
        in: query
        description: Comma-separated list of packages to filter by
        required: false
        schema:
          type: string
      - name: page
        in: query
        description: Page number for pagination
        required: false
        schema:
          type: integer
      - name: per_page
        in: query
        description: Number of items per page
        required: false
        schema:
          type: integer
      - name: Authorization
        in: header
        description: Bearer authentication
        required: true
        schema:
          type: string
      responses:
        '200':
          description: orders found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/type_orders_ListOrdersResponse'
    post:
      operationId: create-order
      summary: Create an order for a business
      tags:
      - subpackage_orders
      parameters:
      - name: business_id
        in: path
        description: Business ID
        required: true
        schema:
          type: string
      - name: Authorization
        in: header
        description: Bearer authentication
        required: true
        schema:
          type: string
      responses:
        '201':
          description: order created
          content:
            application/json:
              schema:
                description: Any type
        '400':
          description: bad request - missing package
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/type__ErrorResponse'
        '422':
          description: unprocessable entity - reorder validation failed
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/type__ErrorResponse'
      requestBody:
        content:
          application/json:
            schema:
              type: object
              properties:
                product:
                  $ref: '#/components/schemas/type_orders_OrderRequestParamProduct'
                  description: Product type for the order
                subproducts:
                  type: array
                  items:
                    $ref: '#/components/schemas/type_orders_OrderRequestParamSubproductsItem'
                  description: Array of subproducts
                options:
                  $ref: '#/components/schemas/type_orders_OrderRequestParamOptions'
                  description: Additional options for the order
  /v1/businesses/{business_id}/orders/{id}:
    get:
      operationId: get-order
      summary: Retrieve an order
      tags:
      - subpackage_orders
      parameters:
      - name: business_id
        in: path
        description: Business ID
        required: true
        schema:
          type: string
      - name: id
        in: path
        description: Order ID
        required: true
        schema:
          type: string
      - name: Authorization
        in: header
        description: Bearer authentication
        required: true
        schema:
          type: string
      responses:
        '200':
          description: order found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/type__Order'
  /v1/orders/{id}:
    get:
      operationId: get-order-by-id
      summary: Retrieve an order by ID
      tags:
      - subpackage_orders
      parameters:
      - name: id
        in: path
        description: Order ID
        required: true
        schema:
          type: string
      - name: Authorization
        in: header
        description: Bearer authentication
        required: true
        schema:
          type: string
      responses:
        '200':
          description: order found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/type__Order'
    put:
      operationId: update-order
      summary: Update an order
      tags:
      - subpackage_orders
      parameters:
      - name: id
        in: path
        description: Order ID
        required: true
        schema:
          type: string
      - name: Authorization
        in: header
        description: Bearer authentication
        required: true
        schema:
          type: string
      responses:
        '200':
          description: order updated
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/type__Order'
      requestBody:
        content:
          application/json:
            schema:
              type: object
              properties:
                assignee_id:
                  type: string
                  description: ID of the user to assign the order to
                status:
                  type: string
                  description: New status for the order
components:
  schemas:
    type__ErrorResponseErrorsItem:
      type: object
      properties:
        message:
          type: string
      required:
      - message
      title: ErrorResponseErrorsItem
    type__OrderRequesterType:
      type: string
      enum:
      - account
      - user
      - api_key
      title: OrderRequesterType
    type__ErrorResponse:
      type: object
      properties:
        errors:
          type: array
          items:
            $ref: '#/components/schemas/type__ErrorResponseErrorsItem'
      required:
      - errors
      title: ErrorResponse
    type_orders_OrderRequestParamOptions:
      type: object
      properties:
        person_match:
          type: boolean
      description: Additional options for the order
      title: OrderRequestParamOptions
    type__OrderRequester:
      type: object
      properties:
        name:
          type:
          - string
          - 'null'
        type:
          oneOf:
          - $ref: '#/components/schemas/type__OrderRequesterType'
          - type: 'null'
      title: OrderRequester
    type__OrderProduct:
      type: string
      enum:
      - identity
      - liens
      - adverse_media
      - bankruptcies
      - business_enrichment
      - documents
      - enhanced_screenings
      - kyc
      - litigations
      - people_litigations
      - people_bankruptcies
      - people_tax_liens
      - people_ucc_liens
      - people_criminal_history
      - tin
      - website
      - business_verification_qualify
      - business_verification_verify
      - tax_liens
      - ucc_liens
      - email_risk
      title: OrderProduct
    type__Order:
      type: object
      properties:
        object:
          type: string
        id:
          type: string
          format: uuid
        status:
          $ref: '#/components/schemas/type__OrderStatus'
        business_id:
          type: string
          format: uuid
        subproducts:
          type: array
          items:
            $ref: '#/components/schemas/type__OrderSubproductsItem'
        completed_at:
          type:
          - string
          - 'null'
          format: date-time
        monitoring:
          type: boolean
        product:
          $ref: '#/components/schemas/type__OrderProduct'
        requester:
          $ref: '#/components/schemas/type__OrderRequester'
        created_at:
          type: string
          format: date-time
        updated_at:
          type: string
          format: date-time
      required:
      - object
      - id
      - status
      - business_id
      - product
      - created_at
      - updated_at
      title: Order
    type__OrderSubproductsItem:
      type: string
      enum:
      - Articles of Incorporation
      - Certificate of Good Standing
      - Articles of Incorporation with Certificate of Good Standing fallback
      - ucc_documents
      - web_analysis
      - industry_classification
      title: OrderSubproductsItem
    type__OrderStatus:
      type: string
      enum:
      - created
      - pending
      - audited
      - completed
      - approved
      - rejected
      title: OrderStatus
    type_orders_ListOrdersResponse:
      type: object
      properties:
        data:
          type: array
          items:
            $ref: '#/components/schemas/type__Order'
        object:
          type: string
        has_more:
          type: boolean
        total_count:
          type: integer
      required:
      - object
      - has_more
      title: ListOrdersResponse
    type_orders_OrderRequestParamProduct:
      type: string
      enum:
      - identity
      - liens
      - adverse_media
      - bankruptcies
      - business_enrichment
      - documents
      - enhanced_screenings
      - kyc
      - litigations
      - people_litigations
      - people_bankruptcies
      - people_tax_liens
      - people_ucc_liens
      - people_criminal_history
      - tin
      - website
      - business_verification_qualify
      - business_verification_verify
      - tax_liens
      - ucc_liens
      - email_risk
      description: Product type for the order
      title: OrderRequestParamProduct
    type_orders_OrderRequestParamSubproductsItem:
      type: string
      enum:
      - articles_of_incorporation
      - certificate_of_good_standing
      - articles_of_incorporation_with_fallback
      - ucc_documents
      - web_analysis
      - industry_classification
      title: OrderRequestParamSubproductsItem
  securitySchemes:
    bearer_auth:
      type: http
      scheme: bearer