DELETE /api/sales/brands/{id} HTTP/1.1 Host: api.zydon.com.br Authorization: Bearer JWT Accept: */*
Brand removed successfully
{ "id": "text" }
""
0
25
asc
GET /api/sales/brands HTTP/1.1 Host: api.zydon.com.br Authorization: Bearer JWT Accept: */*
OK
{ "currentPage": 1, "perPage": 1, "total": 1, "items": [ { "id": "text", "name": "text", "resource_file_id": "text", "active": true } ] }
GET /api/sales/brands/{id} HTTP/1.1 Host: api.zydon.com.br Authorization: Bearer JWT Accept: */*
{ "id": "text", "name": "text", "active": true, "images": [ { "resource_file_id": "123e4567-e89b-12d3-a456-426614174000", "main": true } ] }
PUT /api/sales/brands/{id} HTTP/1.1 Host: api.zydon.com.br Authorization: Bearer JWT Content-Type: application/json Accept: */* Content-Length: 112 { "name": "text", "active": true, "images": [ { "resource_file_id": "123e4567-e89b-12d3-a456-426614174000", "main": true } ] }
Brand updated successfully
{ "id": "text", "name": "text", "active": true, "image": [ { "resource_file_id": "123e4567-e89b-12d3-a456-426614174000", "main": true } ] }
POST /api/sales/brands HTTP/1.1 Host: api.zydon.com.br Authorization: Bearer JWT Content-Type: application/json Accept: */* Content-Length: 124 { "id": "text", "name": "text", "active": true, "images": [ { "resource_file_id": "123e4567-e89b-12d3-a456-426614174000", "main": true } ] }
Brand created successfully