PUT/order-types/{typeId}/effects/{effectId}
Replaces an effect; send each kept output with its id. Needs Order.Configure at the organization.
Path Parameters
| Field | Type | Required | Description |
|---|
| typeId | uuid | Required | |
| effectId | uuid | Required | |
Request Body
| Field | Type | Required | Description |
|---|
| name | string | Optional | |
| index | integer | Optional | |
| rootLogic | string | Optional | |
| groups | UpdateOrderTypeEffectRequestConditionGroup[] | Optional | |
| outputs | UpdateOrderTypeEffectRequestOutput[] | Optional | |
UpdateOrderTypeEffectRequestConditionGroup
| Field | Type | Description |
|---|
| logic | string| null | |
| threshold | integer| null | |
| conditions | UpdateOrderTypeEffectRequestCondition[]| null | |
UpdateOrderTypeEffectRequestOutput
| Field | Type | Description |
|---|
| id | uuid| null | |
| type | string| null | |
| subjectTemplate | string| null | |
| bodyTemplate | string| null | |
| recipients | UpdateOrderTypeEffectRequestOutputRecipient[]| null | |
| roleDefinitionId | uuid| null | |
| targetAttributeId | uuid| null | |
| required | boolean| null | |
| isRequired | boolean| null | |
| isTaskTracked | boolean| null | |
| isTaskReviewRequired | boolean| null | |
| fillSource | string| null | |
| sourceQuestionId | uuid| null | |
| sourceRoleDefinitionId | uuid| null | |
| fillValue | string| null | |
UpdateOrderTypeEffectRequestCondition
| Field | Type | Description |
|---|
| sourceKind | string| null | |
| sourceId | uuid| null | |
| sourcePath | string| null | |
| operator | string| null | |
| value | string| null | |
UpdateOrderTypeEffectRequestOutputRecipient
| Field | Type | Description |
|---|
| crewId | uuid| null | |
| roleDefinitionId | uuid| null | |
| channel | string| null | |