Partner Payment Method removed successfully
OK
Partner Payment Method updated successfully
Partner Payment Method created successfully
const response = await fetch('https://api.zydon.com.br/api/sales/partners/{partner_id}/payment-method/{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}/payment-method/{id}', { method: 'GET', headers: { "Authorization": "Bearer JWT" }, }); const data = await response.json();
{ "id": "text", "partner_id": "text", "payment_method_id": "text", "payment_method_name": "text", "payment_method_type": "text", "payment_method_min_value": 0, "payment_method_max_value": 0 }
const response = await fetch('https://api.zydon.com.br/api/sales/partners/{partner_id}/payment-method/{id}', { method: 'PUT', headers: { "Authorization": "Bearer JWT", "Content-Type": "application/json" }, body: JSON.stringify({ "payment_method_id": "text" }), }); const data = await response.json();
const response = await fetch('https://api.zydon.com.br/api/sales/partners/{partner_id}/payment-method', { method: 'POST', headers: { "Authorization": "Bearer JWT", "Content-Type": "application/json" }, body: JSON.stringify({ "id": "text", "payment_method_id": "text" }), }); const data = await response.json();
const response = await fetch('https://api.zydon.com.br/api/sales/partners/{partner_id}/payment-method', { method: 'GET', headers: { "Authorization": "Bearer JWT" }, }); const data = await response.json();
{ "currentPage": 0, "perPage": 0, "total": 0, "items": [ { "id": "text", "partner_id": "text", "payment_method_id": "text", "payment_method_name": "text", "payment_method_type": "text", "payment_method_min_value": 0, "payment_method_max_value": 0 } ] }