v1

latestOpenAPI 3.0.3raw.githubusercontent.com2026-05-1276740.8 KB
products

Update product

put/v1/products/{id}

Request body

codestring required
namestring required
pricenumber
categoriesstring[]
attributesobject

Example request

{
  "code": "PROD-001",
  "name": "Notebook Pro",
  "price": 3999.99
}

Response

Updated

Example response

{
  "data": {
    "_id": "507f1f77bcf86cd799439011"
  }
}