curl -L \ --request DELETE \ --url 'https://api.zydon.com.br/api/sales/brands/{id}' \ --header 'Authorization: Bearer JWT'
{ "id": "text" }
curl -L \ --url 'https://api.zydon.com.br/api/sales/brands' \ --header 'Authorization: Bearer JWT'
{ "currentPage": 1, "perPage": 1, "total": 1, "items": [ { "id": "text", "name": "text", "resource_file_id": "text", "active": true } ] }
curl -L \ --url 'https://api.zydon.com.br/api/sales/brands/{id}' \ --header 'Authorization: Bearer JWT'
{ "id": "text", "name": "text", "active": true, "images": [ { "resource_file_id": "123e4567-e89b-12d3-a456-426614174000", "main": true } ] }
curl -L \ --request PUT \ --url 'https://api.zydon.com.br/api/sales/brands/{id}' \ --header 'Authorization: Bearer JWT' \ --header 'Content-Type: application/json' \ --data '{ "name": "text", "active": true, "images": [ { "resource_file_id": "123e4567-e89b-12d3-a456-426614174000", "main": true } ] }'
{ "id": "text", "name": "text", "active": true, "image": [ { "resource_file_id": "123e4567-e89b-12d3-a456-426614174000", "main": true } ] }
curl -L \ --request POST \ --url 'https://api.zydon.com.br/api/sales/brands' \ --header 'Authorization: Bearer JWT' \ --header 'Content-Type: application/json' \ --data '{ "id": "text", "name": "text", "active": true, "images": [ { "resource_file_id": "123e4567-e89b-12d3-a456-426614174000", "main": true } ] }'