Katana SalesOrderController API

The SalesOrderController API from Katana — 4 operation(s) for salesordercontroller.

Business capability
Order Fulfilment Management BC-520.40

Operations 7

POST /sales_orders/search #
GET /sales_orders/{id}/returnable_items #
PATCH /sales_orders/{id} #
GET /sales_orders/{id} #
DELETE /sales_orders/{id} #
POST /sales_orders #
GET /sales_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/katana-salesordercontroller-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 email required.

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

OpenAPI Specification

katana-salesordercontroller-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: katana-api-gateway AdditionalCostController Sales Order Controller API
  version: 0.0.1
  description: public api
  contact: {}
servers:
- url: https://api.katanamrp.com/v1
tags:
- name: SalesOrderController
paths:
  /sales_orders/search:
    post:
      x-controller-name: SalesOrderController
      x-operation-name: searchSalesOrders
      tags:
      - SalesOrderController
      responses:
        '200':
          description: Return value of SalesOrderController.searchSalesOrders
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/SearchSalesOrdersDto'
        required: true
      operationId: SalesOrderController.searchSalesOrders
  /sales_orders/{id}/returnable_items:
    get:
      x-controller-name: SalesOrderController
      x-operation-name: getReturnableItems
      tags:
      - SalesOrderController
      responses:
        '200':
          description: Return value of SalesOrderController.getReturnableItems
      operationId: SalesOrderController.getReturnableItems
      parameters:
      - name: id
        in: path
        schema:
          type: integer
          format: int32
        required: true
  /sales_orders/{id}:
    patch:
      x-controller-name: SalesOrderController
      x-operation-name: updateSalesOrder
      tags:
      - SalesOrderController
      responses:
        '200':
          description: Return value of SalesOrderController.updateSalesOrder
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/UpdateSalesOrderDto'
        required: true
        x-parameter-index: 1
      operationId: SalesOrderController.updateSalesOrder
      parameters:
      - name: id
        in: path
        schema:
          type: integer
          format: int32
        required: true
    get:
      x-controller-name: SalesOrderController
      x-operation-name: getSalesOrder
      tags:
      - SalesOrderController
      responses:
        '200':
          description: Return value of SalesOrderController.getSalesOrder
      operationId: SalesOrderController.getSalesOrder
      parameters:
      - name: id
        in: path
        schema:
          type: integer
          format: int32
        required: true
    delete:
      x-controller-name: SalesOrderController
      x-operation-name: deleteSalesOrder
      tags:
      - SalesOrderController
      responses:
        '200':
          description: Return value of SalesOrderController.deleteSalesOrder
      operationId: SalesOrderController.deleteSalesOrder
      parameters:
      - name: id
        in: path
        schema:
          type: integer
          format: int32
        required: true
  /sales_orders:
    post:
      x-controller-name: SalesOrderController
      x-operation-name: createSalesOrder
      tags:
      - SalesOrderController
      responses:
        '200':
          description: Return value of SalesOrderController.createSalesOrder
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/CreateSalesOrderDto'
        required: true
      operationId: SalesOrderController.createSalesOrder
    get:
      x-controller-name: SalesOrderController
      x-operation-name: getAllSalesOrders
      tags:
      - SalesOrderController
      responses:
        '200':
          description: Return value of SalesOrderController.getAllSalesOrders
      operationId: SalesOrderController.getAllSalesOrders
      parameters:
      - name: pagination
        in: query
        content:
          application/json:
            schema:
              type: object
              additionalProperties: true
      - name: dateFilter
        in: query
        content:
          application/json:
            schema:
              type: object
              additionalProperties: true
      - name: ids
        in: query
        schema:
          type: array
          items:
            type: integer
            maximum: 2147483647
      - name: order_no
        in: query
        schema:
          type: string
      - name: source
        in: query
        schema:
          type: string
      - name: customer_id
        in: query
        schema:
          type: integer
          format: int32
      - name: location_id
        in: query
        schema:
          type: integer
          format: int32
      - name: invoicing_status
        in: query
        schema:
          type: string
      - name: product_availability
        in: query
        schema:
          enum:
          - IN_STOCK
          - EXPECTED
          - PICKED
          - NOT_AVAILABLE
          - NOT_APPLICABLE
          type: string
      - name: ingredient_availability
        in: query
        schema:
          enum:
          - PROCESSED
          - IN_STOCK
          - NOT_AVAILABLE
          - EXPECTED
          - NO_RECIPE
          - NOT_APPLICABLE
          type: string
      - name: production_status
        in: query
        schema:
          enum:
          - NOT_STARTED
          - NONE
          - NOT_APPLICABLE
          - IN_PROGRESS
          - BLOCKED
          - DONE
          type: string
      - name: status
        in: query
        schema:
          type: string
      - name: currency
        in: query
        schema:
          type: string
      - name: ecommerce_order_type
        in: query
        schema:
          type: string
      - name: ecommerce_store_name
        in: query
        schema:
          type: string
      - name: ecommerce_order_id
        in: query
        schema:
          type: string
      - name: include_deleted
        in: query
        schema:
          type: boolean
components:
  schemas:
    UpdateSalesOrderDto:
      title: UpdateSalesOrderDto
      type: object
      properties:
        order_no:
          type: string
          minLength: 1
        customer_id:
          type: integer
          maximum: 2147483647
          minimum: 1
        customer_ref:
          type:
          - string
          - 'null'
        order_created_date:
          type: string
        delivery_date:
          type: string
        picked_date:
          type: string
        location_id:
          type: integer
          maximum: 2147483647
          minimum: 1
        status:
          type: string
          enum:
          - PENDING
          - NOT_SHIPPED
          - PACKED
          - DELIVERED
        currency:
          type: string
        conversion_rate:
          type: number
        conversion_date:
          type: string
        additional_info:
          type:
          - string
          - 'null'
        tracking_number:
          type:
          - string
          - 'null'
          minLength: 1
          maxLength: 256
        tracking_number_url:
          type:
          - string
          - 'null'
          minLength: 1
          maxLength: 2048
        custom_fields:
          type:
          - object
          - 'null'
          additionalProperties: true
      additionalProperties: false
    SearchSalesOrdersDto:
      title: SearchSalesOrdersDto
      type: object
      properties:
        filter:
          type: object
          additionalProperties: false
          properties:
            where:
              type: object
              properties:
                and:
                  type: array
                  items:
                    type: object
                    additionalProperties: true
                or:
                  type: array
                  items:
                    type: object
                    additionalProperties: true
                id:
                  anyOf:
                  - type: string
                    maxLength: 256
                  - type: number
                  - type: boolean
                  - type: 'null'
                  - type: object
                    properties:
                      neq:
                        description: Not equal
                      gt:
                        description: Greater than
                      gte:
                        description: Greater than or equal
                      lt:
                        description: Less than
                      lte:
                        description: Less than or equal
                      inq:
                        type: array
                        items:
                          anyOf:
                          - type: string
                            maxLength: 256
                          - type: number
                          - type: boolean
                          - type: 'null'
                        maxItems: 100
                        description: Value is in this list
                      nin:
                        type: array
                        items:
                          anyOf:
                          - type: string
                            maxLength: 256
                          - type: number
                          - type: boolean
                          - type: 'null'
                        maxItems: 100
                        description: Value is not in this list
                      between:
                        type: array
                        items:
                          anyOf:
                          - type: string
                            maxLength: 256
                          - type: number
                          - type: boolean
                          - type: 'null'
                        minItems: 2
                        maxItems: 2
                        description: Inclusive range [low, high]
                      like:
                        type: string
                        maxLength: 256
                        description: SQL LIKE pattern, case-sensitive (`%` and `_` wildcards)
                      ilike:
                        type: string
                        maxLength: 256
                        description: SQL LIKE pattern, case-insensitive — UI `contains` / `starts with` / `ends with`
                    additionalProperties: false
                order_no:
                  anyOf:
                  - type: string
                    maxLength: 256
                  - type: number
                  - type: boolean
                  - type: 'null'
                  - type: object
                    properties:
                      neq:
                        description: Not equal
                      gt:
                        description: Greater than
                      gte:
                        description: Greater than or equal
                      lt:
                        description: Less than
                      lte:
                        description: Less than or equal
                      inq:
                        type: array
                        items:
                          anyOf:
                          - type: string
                            maxLength: 256
                          - type: number
                          - type: boolean
                          - type: 'null'
                        maxItems: 100
                        description: Value is in this list
                      nin:
                        type: array
                        items:
                          anyOf:
                          - type: string
                            maxLength: 256
                          - type: number
                          - type: boolean
                          - type: 'null'
                        maxItems: 100
                        description: Value is not in this list
                      between:
                        type: array
                        items:
                          anyOf:
                          - type: string
                            maxLength: 256
                          - type: number
                          - type: boolean
                          - type: 'null'
                        minItems: 2
                        maxItems: 2
                        description: Inclusive range [low, high]
                      like:
                        type: string
                        maxLength: 256
                        description: SQL LIKE pattern, case-sensitive (`%` and `_` wildcards)
                      ilike:
                        type: string
                        maxLength: 256
                        description: SQL LIKE pattern, case-insensitive — UI `contains` / `starts with` / `ends with`
                    additionalProperties: false
                customer_id:
                  anyOf:
                  - type: string
                    maxLength: 256
                  - type: number
                  - type: boolean
                  - type: 'null'
                  - type: object
                    properties:
                      neq:
                        description: Not equal
                      gt:
                        description: Greater than
                      gte:
                        description: Greater than or equal
                      lt:
                        description: Less than
                      lte:
                        description: Less than or equal
                      inq:
                        type: array
                        items:
                          anyOf:
                          - type: string
                            maxLength: 256
                          - type: number
                          - type: boolean
                          - type: 'null'
                        maxItems: 100
                        description: Value is in this list
                      nin:
                        type: array
                        items:
                          anyOf:
                          - type: string
                            maxLength: 256
                          - type: number
                          - type: boolean
                          - type: 'null'
                        maxItems: 100
                        description: Value is not in this list
                      between:
                        type: array
                        items:
                          anyOf:
                          - type: string
                            maxLength: 256
                          - type: number
                          - type: boolean
                          - type: 'null'
                        minItems: 2
                        maxItems: 2
                        description: Inclusive range [low, high]
                      like:
                        type: string
                        maxLength: 256
                        description: SQL LIKE pattern, case-sensitive (`%` and `_` wildcards)
                      ilike:
                        type: string
                        maxLength: 256
                        description: SQL LIKE pattern, case-insensitive — UI `contains` / `starts with` / `ends with`
                    additionalProperties: false
                customer_ref:
                  anyOf:
                  - type: string
                    maxLength: 256
                  - type: number
                  - type: boolean
                  - type: 'null'
                  - type: object
                    properties:
                      neq:
                        description: Not equal
                      gt:
                        description: Greater than
                      gte:
                        description: Greater than or equal
                      lt:
                        description: Less than
                      lte:
                        description: Less than or equal
                      inq:
                        type: array
                        items:
                          anyOf:
                          - type: string
                            maxLength: 256
                          - type: number
                          - type: boolean
                          - type: 'null'
                        maxItems: 100
                        description: Value is in this list
                      nin:
                        type: array
                        items:
                          anyOf:
                          - type: string
                            maxLength: 256
                          - type: number
                          - type: boolean
                          - type: 'null'
                        maxItems: 100
                        description: Value is not in this list
                      between:
                        type: array
                        items:
                          anyOf:
                          - type: string
                            maxLength: 256
                          - type: number
                          - type: boolean
                          - type: 'null'
                        minItems: 2
                        maxItems: 2
                        description: Inclusive range [low, high]
                      like:
                        type: string
                        maxLength: 256
                        description: SQL LIKE pattern, case-sensitive (`%` and `_` wildcards)
                      ilike:
                        type: string
                        maxLength: 256
                        description: SQL LIKE pattern, case-insensitive — UI `contains` / `starts with` / `ends with`
                    additionalProperties: false
                location_id:
                  anyOf:
                  - type: string
                    maxLength: 256
                  - type: number
                  - type: boolean
                  - type: 'null'
                  - type: object
                    properties:
                      neq:
                        description: Not equal
                      gt:
                        description: Greater than
                      gte:
                        description: Greater than or equal
                      lt:
                        description: Less than
                      lte:
                        description: Less than or equal
                      inq:
                        type: array
                        items:
                          anyOf:
                          - type: string
                            maxLength: 256
                          - type: number
                          - type: boolean
                          - type: 'null'
                        maxItems: 100
                        description: Value is in this list
                      nin:
                        type: array
                        items:
                          anyOf:
                          - type: string
                            maxLength: 256
                          - type: number
                          - type: boolean
                          - type: 'null'
                        maxItems: 100
                        description: Value is not in this list
                      between:
                        type: array
                        items:
                          anyOf:
                          - type: string
                            maxLength: 256
                          - type: number
                          - type: boolean
                          - type: 'null'
                        minItems: 2
                        maxItems: 2
                        description: Inclusive range [low, high]
                      like:
                        type: string
                        maxLength: 256
                        description: SQL LIKE pattern, case-sensitive (`%` and `_` wildcards)
                      ilike:
                        type: string
                        maxLength: 256
                        description: SQL LIKE pattern, case-insensitive — UI `contains` / `starts with` / `ends with`
                    additionalProperties: false
                status:
                  anyOf:
                  - type: string
                    maxLength: 256
                  - type: number
                  - type: boolean
                  - type: 'null'
                  - type: object
                    properties:
                      neq:
                        description: Not equal
                      gt:
                        description: Greater than
                      gte:
                        description: Greater than or equal
                      lt:
                        description: Less than
                      lte:
                        description: Less than or equal
                      inq:
                        type: array
                        items:
                          anyOf:
                          - type: string
                            maxLength: 256
                          - type: number
                          - type: boolean
                          - type: 'null'
                        maxItems: 100
                        description: Value is in this list
                      nin:
                        type: array
                        items:
                          anyOf:
                          - type: string
                            maxLength: 256
                          - type: number
                          - type: boolean
                          - type: 'null'
                        maxItems: 100
                        description: Value is not in this list
                      between:
                        type: array
                        items:
                          anyOf:
                          - type: string
                            maxLength: 256
                          - type: number
                          - type: boolean
                          - type: 'null'
                        minItems: 2
                        maxItems: 2
                        description: Inclusive range [low, high]
                      like:
                        type: string
                        maxLength: 256
                        description: SQL LIKE pattern, case-sensitive (`%` and `_` wildcards)
                      ilike:
                        type: string
                        maxLength: 256
                        description: SQL LIKE pattern, case-insensitive — UI `contains` / `starts with` / `ends with`
                    additionalProperties: false
                invoicing_status:
                  anyOf:
                  - type: string
                    maxLength: 256
                  - type: number
                  - type: boolean
                  - type: 'null'
                  - type: object
                    properties:
                      neq:
                        description: Not equal
                      gt:
                        description: Greater than
                      gte:
                        description: Greater than or equal
                      lt:
                        description: Less than
                      lte:
                        description: Less than or equal
                      inq:
                        type: array
                        items:
                          anyOf:
                          - type: string
                            maxLength: 256
                          - type: number
                          - type: boolean
                          - type: 'null'
                        maxItems: 100
                        description: Value is in this list
                      nin:
                        type: array
                        items:
                          anyOf:
                          - type: string
                            maxLength: 256
                          - type: number
                          - type: boolean
                          - type: 'null'
                        maxItems: 100
                        description: Value is not in this list
                      between:
                        type: array
                        items:
                          anyOf:
                          - type: string
                            maxLength: 256
                          - type: number
                          - type: boolean
                          - type: 'null'
                        minItems: 2
                        maxItems: 2
                        description: Inclusive range [low, high]
                      like:
                        type: string
                        maxLength: 256
                        description: SQL LIKE pattern, case-sensitive (`%` and `_` wildcards)
                      ilike:
                        type: string
                        maxLength: 256
                        description: SQL LIKE pattern, case-insensitive — UI `contains` / `starts with` / `ends with`
                    additionalProperties: false
                production_status:
                  anyOf:
                  - type: string
                    maxLength: 256
                  - type: number
                  - type: boolean
                  - type: 'null'
                  - type: object
                    properties:
                      neq:
                        description: Not equal
                      gt:
                        description: Greater than
                      gte:
                        description: Greater than or equal
                      lt:
                        description: Less than
                      lte:
                        description: Less than or equal
                      inq:
                        type: array
                        items:
                          anyOf:
                          - type: string
                            maxLength: 256
                          - type: number
                          - type: boolean
                          - type: 'null'
                        maxItems: 100
                        description: Value is in this list
                      nin:
                        type: array
                        items:
                          anyOf:
                          - type: string
                            maxLength: 256
                          - type: number
                          - type: boolean
                          - type: 'null'
                        maxItems: 100
                        description: Value is not in this list
                      between:
                        type: array
                        items:
                          anyOf:
                          - type: string
                            maxLength: 256
                          - type: number
                          - type: boolean
                          - type: 'null'
                        minItems: 2
                        maxItems: 2
                        description: Inclusive range [low, high]
                      like:
                        type: string
                        maxLength: 256
                        description: SQL LIKE pattern, case-sensitive (`%` and `_` wildcards)
                      ilike:
                        type: string
                        maxLength: 256
                        description: SQL LIKE pattern, case-insensitive — UI `contains` / `starts with` / `ends with`
                    additionalProperties: false
                source:
                  anyOf:
                  - type: string
                    maxLength: 256
                  - type: number
                  - type: boolean
                  - type: 'null'
                  - type: object
                    properties:
                      neq:
                        description: Not equal
                      gt:
                        description: Greater than
                      gte:
                        description: Greater than or equal
                      lt:
                        description: Less than
                      lte:
                        description: Less than or equal
                      inq:
                        type: array
                        items:
                          anyOf:
                          - type: string
                            maxLength: 256
                          - type: number
                          - type: boolean
                          - type: 'null'
                        maxItems: 100
                        description: Value is in this list
                      nin:
                        type: array
                        items:
                          anyOf:
                          - type: string
                            maxLength: 256
                          - type: number
                          - type: boolean
                          - type: 'null'
                        maxItems: 100
                        description: Value is not in this list
                      between:
                        type: array
                        items:
                          anyOf:
                          - type: string
                            maxLength: 256
                          - type: number
                          - type: boolean
                          - type: 'null'
                        minItems: 2
                        maxItems: 2
                        description: Inclusive range [low, high]
                      like:
                        type: string
                        maxLength: 256
                        description: SQL LIKE pattern, case-sensitive (`%` and `_` wildcards)
                      ilike:
                        type: string
                        maxLength: 256
                        description: SQL LIKE pattern, case-insensitive — UI `contains` / `starts with` / `ends with`
                    additionalProperties: false
                currency:
                  anyOf:
                  - type: string
                    maxLength: 256
                  - type: number
                  - type: boolean
                  - type: 'null'
                  - type: object
                    properties:
                      neq:
                        description: Not equal
                      gt:
                        description: Greater than
                      gte:
                        description: Greater than or equal
                      lt:
                        description: Less than
                      lte:
                        description: Less than or equal
                      inq:
                        type: array
                        items:
                          anyOf:
                          - type: string
                            maxLength: 256
                          - type: number
                          - type: boolean
                          - type: 'null'
                        maxItems: 100
                        description: Value is in this list
                      nin:
                        type: array
                        items:
                          anyOf:
                          - type: string
                            maxLength: 256
                          - type: number
                          - type: boolean
                          - type: 'null'
                        maxItems: 100
                        description: Value is not in this list
                      between:
                        type: array
                        items:
                          anyOf:
                          - type: string
                            maxLength: 256
                          - type: number
                          - type: boolean
                          - type: 'null'
                        minItems: 2
                        maxItems: 2
                        description: Inclusive range [low, high]
                      like:
                        type: string
                        maxLength: 256
                        description: SQL LIKE pattern, case-sensitive (`%` and `_` wildcards)
                      ilike:
                        type: string
                        maxLength: 256
                        description: SQL LIKE pattern, case-insensitive — UI `contains` / `starts with` / `ends with`
                    additionalProperties: false
                product_availability:
                  anyOf:
                  - type: string
                    maxLength: 

# --- truncated at 32 KB (68 KB total) ---
# Full source: https://raw.githubusercontent.com/api-evangelist/katana/refs/heads/main/openapi/katana-salesordercontroller-api-openapi.yml