Katana StockAdjustmentController API

The StockAdjustmentController API from Katana — 2 operation(s) for stockadjustmentcontroller.

Business capability
Inventory Accuracy Management BC-530.40

Operations 4

PATCH /stock_adjustments/{id} #
DELETE /stock_adjustments/{id} #
POST /stock_adjustments #
GET /stock_adjustments #

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-stockadjustmentcontroller-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-stockadjustmentcontroller-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: katana-api-gateway AdditionalCostController Stock Adjustment Controller API
  version: 0.0.1
  description: public api
  contact: {}
servers:
- url: https://api.katanamrp.com/v1
tags:
- name: StockAdjustmentController
paths:
  /stock_adjustments/{id}:
    patch:
      x-controller-name: StockAdjustmentController
      x-operation-name: updateStockAdjustment
      tags:
      - StockAdjustmentController
      responses:
        '200':
          description: Return value of StockAdjustmentController.updateStockAdjustment
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/UpdateStockAdjustmentDto'
        required: true
        x-parameter-index: 1
      operationId: StockAdjustmentController.updateStockAdjustment
      parameters:
      - name: id
        in: path
        schema:
          type: integer
          format: int32
        required: true
    delete:
      x-controller-name: StockAdjustmentController
      x-operation-name: deleteStockAdjustment
      tags:
      - StockAdjustmentController
      responses:
        '200':
          description: Return value of StockAdjustmentController.deleteStockAdjustment
      operationId: StockAdjustmentController.deleteStockAdjustment
      parameters:
      - name: id
        in: path
        schema:
          type: integer
          format: int32
        required: true
  /stock_adjustments:
    post:
      x-controller-name: StockAdjustmentController
      x-operation-name: createStockAdjustment
      tags:
      - StockAdjustmentController
      responses:
        '200':
          description: Return value of StockAdjustmentController.createStockAdjustment
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/CreateStockAdjustmentDto'
        required: true
      operationId: StockAdjustmentController.createStockAdjustment
    get:
      x-controller-name: StockAdjustmentController
      x-operation-name: findStockAdjustments
      tags:
      - StockAdjustmentController
      responses:
        '200':
          description: Return value of StockAdjustmentController.findStockAdjustments
      operationId: StockAdjustmentController.findStockAdjustments
      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: stock_adjustment_number
        in: query
        schema:
          type: string
      - name: location_id
        in: query
        schema:
          type: integer
          format: int32
      - name: include_deleted
        in: query
        schema:
          type: boolean
components:
  schemas:
    UpdateStockAdjustmentDto:
      title: UpdateStockAdjustmentDto
      type: object
      properties:
        stock_adjustment_number:
          type: string
          minLength: 1
        stock_adjustment_date:
          type: string
        reason:
          type: string
        location_id:
          type: integer
          maximum: 2147483647
        additional_info:
          type:
          - string
          - 'null'
      additionalProperties: false
    StockAdjustmentTraceabilityInputDto:
      title: StockAdjustmentTraceabilityInputDto
      type: object
      properties:
        batch_id:
          type:
          - number
          - 'null'
          minimum: 0
          maximum: 2147483647
        serial_number_id:
          type:
          - number
          - 'null'
          minimum: 0
          maximum: 2147483647
        bin_location_id:
          type:
          - number
          - 'null'
          minimum: 0
          maximum: 2147483647
        quantity:
          allOf:
          - anyOf:
            - type: number
            - type: string
              pattern: ^(-|)[0-9]+?\.?[0-9]*$
          - anyOf:
            - type: number
              not:
                const: 0
            - type: string
              not:
                pattern: ^(-|)[0]+?\.?[0]*$
      required:
      - quantity
      additionalProperties: false
    CreateStockAdjustmentDto:
      title: CreateStockAdjustmentDto
      type: object
      properties:
        stock_adjustment_number:
          type: string
        stock_adjustment_date:
          type: string
        location_id:
          type: integer
          maximum: 2147483647
        reason:
          type: string
        stock_adjustment_rows:
          type: array
          items:
            $ref: '#/components/schemas/CreateStockAdjustmentRowDto'
        additional_info:
          type:
          - string
          - 'null'
      required:
      - stock_adjustment_number
      - location_id
      - stock_adjustment_rows
      additionalProperties: false
    CreateStockAdjustmentRowDto:
      title: CreateStockAdjustmentRowDto
      type: object
      properties:
        quantity:
          type: number
          maximum: 100000000000000000
        variant_id:
          type: integer
          maximum: 2147483647
        cost_per_unit:
          type: number
          maximum: 1000000000000000000
          minimum: 0
        batch_transactions:
          type: array
          items:
            $ref: '#/components/schemas/CreateBatchTransactionV2Dto'
        traceability:
          type: array
          items:
            $ref: '#/components/schemas/StockAdjustmentTraceabilityInputDto'
      required:
      - quantity
      - variant_id
      additionalProperties: false
    CreateBatchTransactionV2Dto:
      title: CreateBatchTransactionV2Dto
      type: object
      properties:
        batch_id:
          type:
          - integer
          - 'null'
          maximum: 2147483647
        quantity:
          type: number
      required:
      - batch_id
      - quantity
      additionalProperties: false