PATCH
/product/{uid}
curl \
--request PATCH 'https://wuro.pro/api/v3.2/product/{uid}' \
--header "X-APP-ID: $API_KEY" \
--header "X-APP-SECRET: $API_KEY" \
--header "Content-Type: application/json" \
--data '{"name":"string","reference":"string","sku":"string","description":"string","price_ht":42.0,"buying_price":42.0,"cost_price":42.0,"tva":"string","tva_rate":42.0,"ecotax":42.0,"category":"string","unit":"string","electronic":true,"is_marchandise":true,"url_ext":"string","mandatory_mentions":"string","analytical_code":"string","hasVariations":true,"hasStockManagement":true,"hasSpecifications":true,"stock":{"forceSell":true,"nb_alert":42.0,"nb_min":42.0,"nb_stock":42.0},"specifications":{"depth":42.0,"height":42.0,"weight":42.0,"width":42.0},"options":[{"name":"string","values":["string"]}],"suppliers":["string"]}'
Request examples
{
"name": "string",
"reference": "string",
"sku": "string",
"description": "string",
"price_ht": 42.0,
"buying_price": 42.0,
"cost_price": 42.0,
"tva": "string",
"tva_rate": 42.0,
"ecotax": 42.0,
"category": "string",
"unit": "string",
"electronic": true,
"is_marchandise": true,
"url_ext": "string",
"mandatory_mentions": "string",
"analytical_code": "string",
"hasVariations": true,
"hasStockManagement": true,
"hasSpecifications": true,
"stock": {
"forceSell": true,
"nb_alert": 42.0,
"nb_min": 42.0,
"nb_stock": 42.0
},
"specifications": {
"depth": 42.0,
"height": 42.0,
"weight": 42.0,
"width": 42.0
},
"options": [
{
"name": "string",
"values": [
"string"
]
}
],
"suppliers": [
"string"
]
}
Response examples (200)
{
"updatedProduct": {
"_id": "string",
"name": "string",
"reference": "string",
"sku": "string",
"description": "string",
"price_ht": 42.0,
"buying_price": 42.0,
"cost_price": 42.0,
"commercial_margin": 42.0,
"gross_margin": 42.0,
"tva": "string",
"tva_rate": 42.0,
"ecotax": 42.0,
"category": "string",
"company": "string",
"unit": "string",
"electronic": true,
"is_marchandise": true,
"url_ext": "string",
"mandatory_mentions": "string",
"analytical_code": "string",
"hasVariations": false,
"hasStockManagement": false,
"hasSpecifications": false,
"stock": {
"forceSell": true,
"nb_alert": 42.0,
"nb_min": 42.0,
"nb_stock": 42.0,
"value_ht": 42.0,
"value_ttc": 42.0,
"sell_value_ht": 42.0,
"sell_value_ttc": 42.0
},
"specifications": {
"depth": 42.0,
"height": 42.0,
"weight": 42.0,
"width": 42.0
},
"options": [
{
"name": "string",
"values": [
"string"
]
}
],
"images": [
{
"filename": "string",
"id": "string",
"mime": "string",
"size": 42.0,
"url": "string"
}
],
"files": [
{
"filename": "string",
"id": "string",
"mime": "string",
"size": 42.0,
"url": "string"
}
],
"variants": [
"string"
],
"suppliers": [
"string"
],
"state": "active",
"createdAt": "2025-05-04T09:42:00Z",
"updatedAt": "2025-05-04T09:42:00Z"
}
}