Update Product
PUT
/v1/products/{id}
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request PUT '/v1/products/' \
--header 'Content-Type: application/json' \
--data-raw '{
"name": "Updated Product Name",
"category": "Updated Category",
"is_active": true
}'
Response Response Example
{
"data": {
"id": "cf0a482d-4575-4a65-a581-e8155c1f249a",
"name": "Updated Product Name",
"category": "Updated Category",
"is_active": true,
"created_at": "2025-04-15T08:48:38.163Z",
"updated_at": "2025-04-15T09:15:22.163Z"
},
"message": "Product updated successfully"
}
Request
Path Params
id
stringÂ
required
Body Params application/json
Responses
Modified at 2025-04-15 08:51:15