POST
Update Product
Update an existing catalog product.
API endpoint
https://waclient.com/api/update_productExample:
curl -X POST \
'https://waclient.com/api/update_product' \
-H 'Content-Type: application/json' \
--data '{
"product_id": "28334218596178952",
"name": "Sample Product",
"price": 249,
"instance_id": "6A4B02A1XXXX",
"access_token": "EMCUH3NQQK8YXXXX"
}'Response
{
"status": "success",
"message": "Success",
"data": {
"product_id": "28334218596178952",
"updated": true
}
}| Parameter | Description |
|---|---|
| product_id | Catalog product ID |
| name | Updated title (Optional) |
| price | Updated price (Optional) |
| instance_id | Your instance ID |
| access_token | Your access token |