latestOpenAPI 3.0.02026-08-2217901.1 MB
ef9153fcac7c
Parts
Create new part
post/parts
Query parameters
skipWebhookboolean
Set skipWebhook=true, skipWebhook=1 or skipWebhook=yes to skip all webhooks upon successful operation on the endpoint. Learn more about webhooks
Headers
x-organization-idinteger
Required if using a multi organizations token
Request body
Example request
{
"name": "Locknut - 1/8",
"area": "tool room",
"unitCost": 120,
"availableQuantity": 10,
"minimumQuantity": 5,
"barcode": "bWFpbnRhaW54Cg==",
"locationId": 852,
"locations": [
{
"locationId": 852,
"availableQuantity": 10,
"minimumQuantity": 5,
"maximumQuantity": 100,
"area": "tool room"
}
],
"assetIds": [
12,
4561
],
"teamIds": [
1,
4
],
"extraFields": {
"Part Number": "000000000"
},
"vendors": [
{
"partNumber": "XC230"
}
],
"externalId": "ext-part-001",
"committedQuantities": {
"kitted": 5,
"reserved": 3,
"staged": 2
},
"assignedQuantity": 10,
"vendorIds": [
23,
56
]
}Response
Successfully created part
Example response
{
"id": 123456
}