POST
Create Product
Add a product to the catalog.
API endpoint
https://waclient.com/api/create_productExample:
curl -X POST \
'https://waclient.com/api/create_product' \
-H 'Content-Type: application/json' \
--data '{
"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": {
"product_id": "28334218596178952",
"created": true
}
}| Parameter | Description |
|---|---|
| name | Product title |
| price | Price in normal units, e.g. 199 |
| currency | Currency code |
| image_url | Product image URL |
| description | Product description (Optional) |
| instance_id | Your instance ID |
| access_token | Your access token |