latestOpenAPI 3.0.12026-08-192092911.2 MB
916e669fc527
Stock
Create a stock item
Creates a new stock item entity (required scope stock:write)
post/v1/stockItems
Headers
Customer-Idinteger required
The customer identifier
Request body
Example request
{
"stockDetailsId": 5514123,
"quantity": 5.3,
"locationContactId": 5514123,
"locationVehicleId": 5514123,
"locationStockItemId": 5514123,
"soldAt": "2024-08-29T12:30:45.0000000+00:00",
"notes": "Should be kept in warehouse",
"serialNumber": "AT-25805",
"altSerialNumber": "PA-09842",
"supplierSerialNumber": "TW-015",
"customerSerialNumber": "LM-214750",
"isEquipment": true,
"condition": "new",
"usage": 0.7,
"customFields": [
{
"definitionId": 5514123,
"value": "High net worth"
}
]
}Response
Created