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
Available options:
add,
reserve,
reduce
quantity
integer
required
reason
string
required
Maximum string length: 512
variant_id
string

optional. can be null for non variant product.

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

Response

200 - application/json

OK

message
string
success
boolean
content
object