DELETE /api/sales/measure-units/{id} HTTP/1.1 Host: api.zydon.com.br Authorization: Bearer JWT Accept: */*
MeasureUnit removed successfully
{ "id": "text" }
""
0
25
asc
GET /api/sales/measure-units HTTP/1.1 Host: api.zydon.com.br Authorization: Bearer JWT Accept: */*
OK
{ "currentPage": 1, "perPage": 1, "total": 1, "items": [ { "id": "text", "abbreviation": "text", "description": "text", "decimals_for_quantity": 1, "active": true } ] }
GET /api/sales/measure-units/{id} HTTP/1.1 Host: api.zydon.com.br Authorization: Bearer JWT Accept: */*
{ "id": "text", "abbreviation": "text", "description": "text", "decimals_for_quantity": 1, "active": true }
PUT /api/sales/measure-units/{id} HTTP/1.1 Host: api.zydon.com.br Authorization: Bearer JWT Content-Type: application/json Accept: */* Content-Length: 84 { "abbreviation": "text", "description": "text", "decimals_for_quantity": 1, "active": true }
MeasureUnit updated successfully
POST /api/sales/measure-units HTTP/1.1 Host: api.zydon.com.br Authorization: Bearer JWT Content-Type: application/json Accept: */* Content-Length: 96 { "id": "text", "abbreviation": "text", "description": "text", "decimals_for_quantity": 1, "active": true }
MeasureUnit created successfully