Stock movements - OBSOLETE API

List Stock movements

URL

https://dev.v3manager.com/demo/api/stockTransaction

HTTP Method

GET

Example

curl -H "key: {apiKey}" "https://dev.v3manager.com/demo/api/stockTransaction"

Count Stock movements

URL

https://dev.v3manager.com/demo/api/stockTransaction/count

HTTP Method

GET

Sum Stock movements

URL

https://dev.v3manager.com/demo/api/stockTransaction/sum

HTTP Method

GET

Example

curl -H "key: {apiKey}" "https://dev.v3manager.com/demo/api/stockTransaction/sum?field=total&search=["created",">","05-07-2023"]" Encoded: curl -H "key: {apiKey}" "https://dev.v3manager.com/demo/api/stockTransaction/sum?field=total&search=%5B%22created%22%2C%22%3E%22%2C%2205-07-2023%22%5D"

Parameters

Name Type Required
field string yes
filter array no

Load Stock movement by id

URL

https://dev.v3manager.com/demo/api/stockTransaction/:id

HTTP Method

GET

Example

curl -H "key: {apiKey}" "https://dev.v3manager.com/demo/api/stockTransaction/22"

Fields

Name Label Data type Readonly Descrition
updateUserName Updated by string No
updateUser Updated by int Yes
warehouseName Warehouse string No
warehouse Warehouse int No
amount Amount float No
grossUnitCost Net Cost currency No
averageUnitCost Average unit cost float Yes
createUser Created by int Yes
createUserName Created by string No
deleted Removed bool Yes
updated Update date datetime Yes
created Creation date datetime Yes
comments Observations text No
fkModel Origin fkModel Yes
grossUnitPrice Net Price currency No
productName Product string No
product Product int No
supplierName Supplier string No
id ID int Yes
fkId Origin reference int Yes
sku SKU string No
stock Remaining stock float Yes
type Type select Yes
Values for type
Value Name
0 Order
1 Inventory
2 Transfer
3 Sale
4 Regulate