/sellers/{id}
OK
Seller was not found
An internal server error was thrown
curl -L \ --url 'https://api.zydon.com.br/api/sales/sellers/{id}' \ --header 'Authorization: Bearer JWT'
{ "id": "text", "name": "text", "seller_type": "text", "fiscal_registration_number": "text", "email": "text", "phone": "text", "mobile": "text", "active": true, "max_increase_rate": 1, "max_discount_rate": 1, "attributes": { "ANY_ADDITIONAL_PROPERTY": {} } }
Seller updated successfully
A validation error was thrown
curl -L \ --request PUT \ --url 'https://api.zydon.com.br/api/sales/sellers/{id}' \ --header 'Authorization: Bearer JWT' \ --header 'Content-Type: application/json' \ --data '{"name":"text","seller_type":"text","fiscal_registration_number":"text","email":"text","phone":"text","mobile":"text","active":true,"max_increase_rate":1,"max_discount_rate":1,"attributes":{"ANY_ADDITIONAL_PROPERTY":{}}}'
Seller removed successfully
curl -L \ --request DELETE \ --url 'https://api.zydon.com.br/api/sales/sellers/{id}' \ --header 'Authorization: Bearer JWT'
{ "id": "text" }
/sellers
curl -L \ --url 'https://api.zydon.com.br/api/sales/sellers' \ --header 'Authorization: Bearer JWT'
{ "currentPage": 1, "perPage": 1, "total": 1, "items": [ { "id": "text", "name": "text", "seller_type": "text", "fiscal_registration_number": "text", "email": "text", "phone": "text", "mobile": "text", "active": true, "max_increase_rate": 1, "max_discount_rate": 1, "attributes": { "ANY_ADDITIONAL_PROPERTY": {} } } ] }
Seller created successfully
curl -L \ --request POST \ --url 'https://api.zydon.com.br/api/sales/sellers' \ --header 'Authorization: Bearer JWT' \ --header 'Content-Type: application/json' \ --data '{"name":"text","seller_type":"text","fiscal_registration_number":"text","email":"text","phone":"text","mobile":"text","active":true,"max_increase_rate":1,"max_discount_rate":1,"attributes":{"ANY_ADDITIONAL_PROPERTY":{}}}'