Skip to main content

Create Cluster Option

POST 

/clusters/:lookupKey/:lookupValue/options

Use this endpoint to create a single cluster option. If a cluster option is successfully created, the response will include the option id.

Fields

NameRequired
namesno
descriptionsno
shortDescriptionsno
languageno
sourceIdno
sourceonly when sourceId is provided
isRequiredno

Request

Path Parameters

    lookupKey stringrequired

    Lookup key. Read more about cluster lookup keys

    lookupValue stringrequired

    The value of the key (id or sourceId)

Body

    descriptions

    object[]

  • Array [

  • language string
    value string
  • ]

  • isRequired boolean
    language string

    names

    object[]

  • Array [

  • language string
    value string
  • ]

  • shortDescriptions

    object[]

  • Array [

  • language string
    value string
  • ]

  • source string
    sourceId string

Responses

Create Cluster Option - 201

Response Headers

  • Alt-Svc

    string

  • Via

    string

  • alt-svc

    string

  • content-length

    string

  • date

    string

  • return-format

    string

  • x-request-id

    string

Schema

    data

    object

    descriptions

    object[]

  • Array [

  • language string
    value string
  • ]

  • id number
    isRequired string
    language string

    names

    object[]

  • Array [

  • language string
    value string
  • ]

  • shortDescriptions

    object[]

  • Array [

  • language string
    value string
  • ]

  • source string
    sourceId string
    messages string[]
    total number
Loading...