Skip to main content
POST
Update inventory stock

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer , where is your auth token.

Body

application/json
product_id
string
required

Product ID

Example:

"123456"

quantity
number
required

Opening Quantity

Example:

1

warehouse_id
integer
required

Warehouse ID

Example:

-1

action
enum<string>
required

Stock in or stock out

Available options:
in,
out
Example:

"in"

remarks
string

Remarks

Example:

"Remarks"

record_date
string

Record Date (DD-MM-YYYY)

Example:

"06-05-2025"

Response

Success Response

success
boolean

Success

Example:

false

errors
object

Error details

error_code
string

Error Code

Example:

""

message
string

Message

Example:

""