OK
const response = await fetch('https://api.zydon.com.br/api/sales/partners/{id}/analysis', { method: 'GET', headers: { "Authorization": "Bearer JWT" }, }); const data = await response.json();
{ "orders_quantity": 0, "biggest_purchase_value": 0, "lowest_purchase_value": 0, "total_purchase_value": 0, "average_purchase_value": 0, "last_purchase_date": "2024-12-21T14:36:59.634Z", "last_purchase_id": "text" }