Skip to navigation

Create stock movement

View as Markdown

Authentication

AuthorizationBearer

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

Path parameters

productintegerRequired>=1

Request

This endpoint expects an object.
typeenumRequired
Allowed values:
quantityintegerRequired>=0
reasonstring or nullOptional<=1000 characters

Response

Stock movement created successfully.
idinteger
typeenum
Allowed values:
quantityinteger
quantity_beforeinteger
quantity_afterinteger
reasonstring or null
created_atdatetime
userobject
productobject

Errors

401
Unauthorized Error
403
Forbidden Error
404
Not Found Error
422
Unprocessable Entity Error