DELETE /api/sales/payment-groups/{id} HTTP/1.1 Host: api.zydon.com.br Authorization: Bearer JWT Accept: */*
PaymentGroup removed successfully
{ "id": "text" }
""
0
25
asc
GET /api/sales/payment-groups HTTP/1.1 Host: api.zydon.com.br Authorization: Bearer JWT Accept: */*
OK
{ "currentPage": 1, "perPage": 1, "total": 1, "items": [ { "id": "text", "name": "text", "payment_methods": [ { "id": "text", "payment_method_id": "text", "payment_method_name": "text" } ], "partners": [ { "id": "text", "partner_id": "text" } ] } ] }
GET /api/sales/payment-groups/{id} HTTP/1.1 Host: api.zydon.com.br Authorization: Bearer JWT Accept: */*
{ "id": "text", "name": "text", "payment_methods": [ { "id": "text", "payment_method_id": "text" } ], "partners": [ { "id": "text", "partner_id": "text", "partner_name": "text" } ] }
PUT /api/sales/payment-groups/{id} HTTP/1.1 Host: api.zydon.com.br Authorization: Bearer JWT Content-Type: application/json Accept: */* Content-Length: 123 { "name": "text", "payment_methods": [ { "id": "text", "payment_method_id": "text" } ], "partners": [ { "id": "text", "partner_id": "text" } ] }
PaymentGroup updated successfully
POST /api/sales/payment-groups HTTP/1.1 Host: api.zydon.com.br Authorization: Bearer JWT Content-Type: application/json Accept: */* Content-Length: 135 { "id": "text", "name": "text", "payment_methods": [ { "id": "text", "payment_method_id": "text" } ], "partners": [ { "id": "text", "partner_id": "text" } ] }
PaymentGroup created successfully