POST
Send Product
Send a single product message. Call get_product first, then pass product_id with name, price, currency, and image_url from the response.
API endpoint
https://waclient.com/api/send_productExample:
curl -X POST \
'https://waclient.com/api/send_product' \
-H 'Content-Type: application/json' \
--data '{
"chat_id": "20100981XXXX",
"product_id": "28334218596178952",
"name": "Sample Product",
"price": 199,
"currency": "EGP",
"image_url": "https://example.com/product.jpg",
"instance_id": "6A4B02A1XXXX",
"access_token": "EMCUH3NQQK8YXXXX"
}'Response
{
"status": "success",
"message": "Success",
"data": {
"chat_id": "[email protected]",
"product_id": "28334218596178952",
"sent": true
}
}| Parameter | Description |
|---|---|
| chat_id | Recipient phone or JID |
| product_id | Catalog product ID |
| name | Product title (from get_product) |
| price | Price in normal units, e.g. 199 for 199 EGP |
| currency | Currency code, e.g. EGP |
| image_url | Product image URL — use imageUrls.original from get_product |
| description | Product description (Optional) |
| instance_id | Your instance ID |
| access_token | Your access token |