Docs
Update Order Attribute Ai Fill
PUT /order-attributes/{attributeId}/ai-fill
PUT
/order-attributes/{attributeId}/ai-fillSets or clears AI fill on an order attribute (a whole replace). Instructions say what to produce and name, as {{attributeId}} tags, the only attributes a run may read; tags and watched attributes must be live order attributes of this organization. Triggers refill automatically: AttributeChanged (attributeId), CoreChanged (corePath "name") or Created. A null body or null instructions turns AI fill off and keeps the stored values. Fills that would refresh each other in a loop are refused. attributeId comes from OrderTypes_GetOrderAttributes. Needs Order.Configure at the organization.
Path Parameters
| Field | Type | Required | Description |
|---|---|---|---|
| attributeId | uuid | Required |
Request Body
| Field | Type | Required | Description |
|---|---|---|---|
| instructions | string | Optional | |
| triggers | UpdateOrderAttributeAiFillRequestTrigger[] | Optional |
UpdateOrderAttributeAiFillRequestTrigger
| Field | Type | Description |
|---|---|---|
| kind | string| null | |
| attributeId | uuid| null | |
| corePath | string| null |