Skip to main content
POST
Create inventory activity

Authorizations

Authorization
string
header
required

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

Path Parameters

id
string
required

product id

Body

application/json
warehouse_id
string
required
Maximum string length: 128
activity_type
enum<string>
required

reset rows are written when a stock quantity is set outright rather than adjusted.

Available options:
add,
reserve,
reduce,
reset,
release
quantity
integer
required
reason
string
required
Maximum string length: 512
variant_id
string | null

null for products without variants.

lot_batch
string | null
mfg_date
string<date> | null
exp_date
string<date> | null
manufacturer
string | null

Response

200 - application/json

OK

message
string
success
boolean
content
object