OK
Partner Seller removed successfully
Partner Seller updated successfully
Partner Seller created successfully
const response = await fetch('https://api.zydon.com.br/api/sales/partners/{partner_id}/sellers/{id}', { method: 'GET', headers: { "Authorization": "Bearer JWT" }, }); const data = await response.json();
{ "id": "text", "partner_id": "text", "seller_id": "text" }
const response = await fetch('https://api.zydon.com.br/api/sales/partners/{partner_id}/sellers/{id}', { method: 'DELETE', headers: { "Authorization": "Bearer JWT" }, }); const data = await response.json();
{ "id": "text" }
const response = await fetch('https://api.zydon.com.br/api/sales/partners/{partner_id}/sellers/{id}', { method: 'PUT', headers: { "Authorization": "Bearer JWT", "Content-Type": "application/json" }, body: JSON.stringify({}), }); const data = await response.json();
const response = await fetch('https://api.zydon.com.br/api/sales/partners/{partner_id}/sellers', { method: 'GET', headers: { "Authorization": "Bearer JWT" }, }); const data = await response.json();
{ "currentPage": 0, "perPage": 0, "total": 0, "items": [ { "id": "text", "partner_id": "text", "seller_id": "text" } ] }
const response = await fetch('https://api.zydon.com.br/api/sales/partners/{partner_id}/sellers', { method: 'POST', headers: { "Authorization": "Bearer JWT", "Content-Type": "application/json" }, body: JSON.stringify({ "id": "text", "seller_id": "text" }), }); const data = await response.json();