v2

latestOpenAPI 3.0.32026-08-07222102695.9 KB
Stock Adjustment

Create stock adjustment

post/stock_adjustments

Request body

quantitystring decimal nullable

A negative value is only allowed when a decreasing adjustment type has been selected and vice versa.

adjustment_type'Correction' | 'Damaged' | 'Item Sold' | 'Other' | 'Out of Date' | 'Returned' | 'Stock Purchase'

The reason for modifying the stock level.

Increase types: Stock Purchase, Returned, Other

Decrease types: Damaged, Out of Date, Item Sold, Other, Correction

notesstring nullable
product_idstring int64

The existing product you want to adjust the stock level of.

Example request

{
  "product_id": "1"
}

Response

Resource was created

adjustment_type'Correction' | 'Damaged' | 'Item Sold' | 'Other' | 'Out of Date' | 'Returned' | 'Stock Purchase'
archived_atstring date-time nullable
created_atstring date-time
idstring int64
notesstring nullable
quantitystring decimal nullable
updated_atstring date-time

Example response

{
  "links": {
    "self": "https://api.au1.cliniko.com/v1/stock_adjustments/1"
  },
  "product": {
    "links": {
      "self": "https://api.au1.cliniko.com/v1/products/1"
    }
  },
  "user": {
    "links": {
      "self": "https://api.au1.cliniko.com/v1/users/1"
    }
  }
}