cURL
curl --request POST \ --url https://app.fliqr.ai/api/products/{product_id} \ --header 'Content-Type: application/json' \ --header 'X-ACCESS-TOKEN: <api-key>' \ --data ' { "active": false, "stock": 500, "price": 40 } '
{ "success": true, "updated": true }
Update product.
if users can buy the product.
successful operation
Was this page helpful?