PUT
/
api
/
products
/
{id}
{
  "name": "Updated Product Name",
  "description": "Updated description",
  "status": "active",
  "attributes": {
    "color": "red",
    "size": "large"
  }
}
{
  "id": 1,
  "sku": "PROD-001",
  "name": "Updated Product Name",
  "updated_at": "2024-01-01T13:00:00Z"
}
Update the details of an existing product.

Path Parameters

id
integer
required
The ID of the product to update

Body Parameters

name
string
Updated product name
description
string
Updated product description
status
string
Updated product status
attributes
object
Updated attribute values
{
  "name": "Updated Product Name",
  "description": "Updated description",
  "status": "active",
  "attributes": {
    "color": "red",
    "size": "large"
  }
}
{
  "id": 1,
  "sku": "PROD-001",
  "name": "Updated Product Name",
  "updated_at": "2024-01-01T13:00:00Z"
}