OK
const response = await fetch('https://api.zydon.com.br/api/sales/stock/query', { method: 'POST', headers: { "Authorization": "Bearer JWT", "Content-Type": "application/json" }, body: JSON.stringify({ "type": "PRODUCT" }), }); const data = await response.json();
[ { "id": "text", "product_id": "text", "product_variation_id": "text", "warehouse_id": "text", "company_id": "text", "active": false, "total": 0, "available": 0, "reserved": 0 } ]