Stock - OBSOLETE API

List Stock

URL

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

HTTP Method

GET

Example

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

Count Stock

URL

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

HTTP Method

GET

Sum Stock

URL

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

HTTP Method

GET

Example

curl -H "key: {apiKey}" "https://dev.v3manager.com/demo/api/stock/sum?field=total&search=["created",">","05-07-2023"]" Encoded: curl -H "key: {apiKey}" "https://dev.v3manager.com/demo/api/stock/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 by id

URL

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

HTTP Method

GET

Example

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

Create or update Stock

URL

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

HTTP Method

POST

Fields

Name Label Data type Readonly Descrition
updateUserName Updated by string No
updateUser Updated by int Yes
alert Alert float No
warehouse Warehouse int Yes
warehouseName Warehouse string No
amount Amount float Yes
averageUnitCost Average cost float Yes
createUser Created by int Yes
createUserName Created by string No
desired Wished float No
deleted Removed bool Yes
inDeposit In deposit bool No
familyName Family string No
updated Update date datetime Yes
created Creation date datetime Yes
subfamily subfamily id string No
price Price currency No
product Product int Yes
productName Product string No
supplierName Supplier string No
id ID int Yes
sku SKU string No
subfamilyName Subfamily string No
value Assessment currency No