OK
const response = await fetch('https://api.zydon.com.br/api/sales/sales/{id}/statuses', { method: 'POST', headers: { "Authorization": "Bearer JWT", "Content-Type": "application/json" }, body: JSON.stringify({ "status_id": "text" }), }); const data = await response.json();
{ "id": "123e4567-e89b-12d3-a456-426614174000", "name": "text", "title": "text", "sub_title": "text", "type": "PENDING", "background_color": "text", "font_color": "text" }