AlphaAlpha Docs
API ReferenceTypes -options

Move

Move an option

PATCH
/types/options/{typeId}/{optionId}/move/{newIndex}
AuthorizationBearer <token>

In: header

Path Parameters

typeId*string
optionId*string
newIndex*integer
Formatint32

Response Body

application/json

application/json

application/json

application/json

application/json

curl -X PATCH "http://localhost:18080/api/v1/types/options/string/string/move/0"
[
  {
    "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"
}