Docs
Update Order Type Document
PUT /order-types/{typeId}/documents/{documentId}
PUT
/order-types/{typeId}/documents/{documentId}Renames an attached document and replaces its input mappings; the template cannot change. documentId from OrderTypes_GetOrderTypeDocuments. Needs Order.Configure at the organization.
Path Parameters
| Field | Type | Required | Description |
|---|---|---|---|
| typeId | uuid | Required | |
| documentId | uuid | Required |
Request Body
| Field | Type | Required | Description |
|---|---|---|---|
| name | string | Optional | |
| inputs | UpdateOrderTypeDocumentRequestInput[] | Optional |
UpdateOrderTypeDocumentRequestInput
| Field | Type | Description |
|---|---|---|
| filterId | uuid | |
| sourceKind | string| null | |
| hostField | string| null | |
| eventAttributeId | uuid| null | |
| fixedValues | string[]| null |