Update Product
PUT /v2/product/:id
Updates an existing product by ID. Validates incoming changes, applies defaults where applicable, persists the resource, and returns the fully populated product record including pricing, inventory, categorization, vendor, and integration metadata.
Request Body
{
"consumption": {
"property": "licenced_users",
"metadata": {
"service": "backup"
}
},
"categories": [
"6686726add419ed504e24028",
"6686725cdd419ed504e24021"
],
"distributor": "67d83302be57bc04a82b54ef"
}
Response Example
{
"id": "product-id-1",
"group_id": "product-group-id-1",
"tenant": "tenant-id-1",
"name": "Example Product",
"status": {
"active": true,
"deleted": false
},
"sales_channel": "Shop",
"subscription_term": 0,
"payment_period": 0,
"subscription": true,
"referenced": false,
"amount": {
"min": 1,
"max": 100,
"default": 1
},
"products": [
{
"_id": "variant-id-1",
"sku": "SKU-001",
"cost_price": 10,
"price": 100,
"amount": {
"default": 1,
"min": 1,
"max": 100
},
"reference": ""
}
],
"services": [],
"managementLink": {
"title": "",
"url": ""
},
"categories": [
"category-id-1",
"category-id-2"
],
"stock": 0,
"shop_enabled": false,
"keys": [],
"media": [],
"country": {
"code": "NO",
"_id": "country-id-1"
},
"currency": {
"code": "NOK",
"_id": "currency-id-1"
},
"type": 3,
"description": "",
"integration": [],
"resell": false,
"msp": false,
"permission_features": [],
"vendor": {
"name": "Example Vendor"
},
"customInputs": [],
"integrations": [],
"created": "2025-01-01T00:00:00.000Z",
"updated": "2025-01-01T00:05:00.000Z",
"__v": 1,
"consumption": {
"property": "licensed_users",
"metadata": {
"service": "backup"
}
},
"distributor": null
}