| Name | Type | Reference |
|---|---|---|
| property_idrequired | integer | CustomProperty ID |
| idrequired | integer | Select Value ID |
| Name | Value |
|---|---|
| Content-Type | application/json |
| Name | Type | Constraints | Description |
|---|---|---|---|
value | string | minLength: 1 maxLength: 128 | Custom property select value |
| color | integer | Color of custom property select value | |
null | Custom property select value without color | ||
condition | enum | [active,inactive] | Custom property select value condition |
sort_order | number | minimum: 0 | |
deleted | boolean | Custom property select value delete condition |
| Description | Response type | Example |
|---|---|---|
| Success | Object |
| Name | Type | Description |
|---|---|---|
| updated | string | Last update timestamp |
| created | string | Create date |
| id | integer | Select option id |
| custom_property_id | integer | Custom property id |
| value | string | Select option value |
| color | integer | Color number |
| author_id | integer | Author id |
| company_id | integer | Company id |
| condition | string | Custom property select value condition |
| sort_order | number | Position |
| external_id | null | string | External id |
| Description | Response type | Example |
|---|---|---|
| Validation error | Object |
| Name | Type | Description |
|---|---|---|
| message | string | Error message |
| Description | Response type | Example |
|---|---|---|
| Invalid token | String |
A schema has not been defined for this response code.
| Description | Response type | Example |
|---|---|---|
| Forbidden | Response body does not exist |
A schema has not been defined for this response code.
| Description | Response type | Example |
|---|---|---|
| Not found | Object |
| Name | Type | Description |
|---|---|---|
| message | string | Error message |
Path Parameters
1 curl --request PATCH \
2 --url 'https://example.kaiten.ru/api/latest/company/custom-properties/{property_id}/select-values/{id}' \
3 --header 'Accept: application/json' \
4 --header 'Content-Type: application/json'
5 Response
ClickTry It!to start a request and see the response here!