latestOpenAPI 3.0.12026-08-192092911.2 MB
916e669fc527
Stock
Create a stock details
Creates a new stock details entity (required scope stock:write)
post/v1/stockDetails
Headers
Customer-Idinteger required
The customer identifier
Request body
Example request
{
"model": "F1 Cleaner",
"productCategoryId": 5514123,
"make": "DustGone Solutions",
"sellingPrice": 19.99,
"currencyCode": "EUR",
"departmentCodeId": 123,
"nominalCodeId": 1234,
"notes": "Great for cleaning windows",
"isConsumable": true,
"modelNumber": "F1-00010",
"stockCode": "B10",
"batchNumber": "S8",
"size": 199,
"weight": 6.3,
"taxId": 1234
}Response
Created