Orgs / Attributes / Options

Create an attribute option

post/v2/organizations/{orgId}/attributes/{attributeId}/options

Request

  • The document declares no server URL.
  • Auth: none declared. Required headers: Authorization

Path parameters

orgIdnumber required
attributeIdstring required

Headers

Authorizationstring required

value must be Bearer <token> where <token> is api key prefixed with cal_

Request body

valuestring required
slugstring required

Response

status'success' | 'error' required

Example response

{
  "status": "success",
  "data": {
    "id": "attr_option_id",
    "attributeId": "attr_id",
    "value": "option_value",
    "slug": "option-slug"
  }
}

Changes

No recorded changes to this operation across all 1 revision of this API.