On this page6 sections
Update Product
Updates product attributes and variant definitions within the active tenant and dispatches `product.updated` webhook events.
Authentication: Requires Authorization: Bearer <ACCESS_TOKEN> (Supabase JWT, OAuth2 M2M token, or integration token).
Request
Provide the following fields in the request payload.
name parameter.
code parameter.
category parameter.
cost parameter.
price parameter.
weight parameter.
uom parameter.
pricing Type parameter.
type parameter.
brand parameter.
supplier parameter.
tags parameter.
image Url parameter.
images parameter.
is Active parameter.
description parameter.
storage parameter.
barcode parameter.
track Inventory parameter.
outlet parameter.
variant Mode parameter.
variants parameter.
id parameter.
name parameter.
code parameter.
barcode parameter.
cost parameter.
price parameter.
weight parameter.
uom parameter.
is Default parameter.
is Active parameter.
sort Order parameter.
id parameter.
Responses
Select a status code to inspect schema.
Success (true).
Message.
Response payload or null.
curl -X POST "https://api.invoger.com/api/products/update-product" \
-H "Authorization: Bearer <ACCESS_TOKEN>" \
-H "Content-Type: application/json" \
-d '{ "id": "9b1deb4d-3b7d-4bad-9bdd-2b0d7b3dcb6d", "name": "Palm Sugar Iced Latte", "code": "COF-01", "price": 24000 }'Response
{
"success": true,
"message": "Product updated successfully",
"data": {
"id": "9b1deb4d-3b7d-4bad-9bdd-2b0d7b3dcb6d",
"name": "Palm Sugar Iced Latte"
}
}