v1
latestOpenAPI 3.0.02026-07-2455104.8 MBProduct
Update product v1
Updates details of a single product
patch/api/v1/products/{id}
Path parameters
idstring required
Resource identifier.
Example:17
The resource's identifier.
Request body
Example request
{
"project": {
"id": "1337"
},
"measurements": {
"width": {
"value": 20,
"unit": "cm"
},
"height": {
"value": 10,
"unit": "cm"
},
"length": {
"value": 30,
"unit": "cm"
},
"weight": {
"value": 2,
"unit": "kg"
},
"netWeight": {
"value": 1.5,
"unit": "kg"
}
},
"calculatedPurchasePrice": {
"price": {
"amount": "13.37",
"currency": "EUR"
}
},
"category": {
"id": "1337"
},
"standardSupplier": {
"id": "12345"
},
"defaultStorageLocation": {
"id": "1337"
},
"freeFields": [
{
"id": "17",
"value": "Sample Product"
}
],
"options": [
{
"id": "17",
"values": [
{
"id": "17"
}
]
}
],
"selectedOptions": [
{
"id": "17",
"option": {
"id": "17"
}
}
],
"tags": [
{
"color": "ff0000"
}
],
"variantOf": {
"id": "parent-product-98765"
}
}Response
Operation completed successfully, no response body