Skip to main content
POST
Create a stock adjustment

Authorizations

Authorization
string
header
required

The access token received from the authorization server in the OAuth 2.0 flow.

Headers

X-Tenant
number
required

Tenant identifier. Send the Tenant ID in the X-Tenant header to scope API requests to a specific tenant.

Body

application/json
product_id
integer
required

Filter by product ID.

Required range: x >= 1
warehouse_id
integer
required

Filter by warehouse ID.

Required range: x >= 1
mode
enum<string>
required

The mode of operation.

Available options:
in_out,
correction
quantity
number
required

The quantity value.

Required range: x >= 0
direction
enum<string> | null

Filter by direction.

Available options:
in,
out
notes
string | null

Internal notes.

Maximum string length: 65535

Response

success
string
required
data
object
required