Update
Update an option
AuthorizationBearer <token>
In: header
Path Parameters
typeId*string
optionId*string
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/json
application/json
application/json
application/json
curl -X PATCH "http://localhost:18080/api/v1/types/options/string/string" \ -H "Content-Type: application/json" \ -d '{ "activeViews": [ "string" ], "category": "string", "isConsumerOption": true, "isNeighborOption": true, "name": "string", "phase": "PLAN", "visible": true }'{
"activeViews": [
"string"
],
"category": "string",
"codes": [
{
"code": "string",
"description": "string",
"option": "string",
"price": 0.1,
"visible": true
}
],
"consumerOption": true,
"id": "string",
"isConsumerOption": true,
"isNeighborOption": true,
"name": "string",
"neighborOption": true,
"phase": "PLAN",
"visible": true
}{
"detail": "string",
"time": "2019-08-24T14:15:22Z",
"title": "string"
}{
"detail": "string",
"time": "2019-08-24T14:15:22Z",
"title": "string"
}{
"detail": "string",
"time": "2019-08-24T14:15:22Z",
"title": "string"
}{
"detail": "string",
"time": "2019-08-24T14:15:22Z",
"title": "string"
}