GET/organizations/{orgId}/order-attributes
Lists the organization's order attribute library: name, type, fieldClassId, options, availability, expiry and AI fill. Archived attributes
are left out unless includeArchived is true. Takes an organization token with Order.View, or an event token of an event in the organization.
Path Parameters
| Field | Type | Required | Description |
|---|
| orgId | uuid | Required | |
Query Parameters
| Field | Type | Required | Description |
|---|
| includeArchived | boolean | Optional | |
Response
Type: GetOrderAttributeResponse[]
GetOrderAttributeResponse
| Field | Type | Description |
|---|
| id | uuid | |
| name | string| null | |
| fieldClassId | uuid| null | |
| type | string| null | |
| isArchived | boolean | |
| hasExpiration | boolean | |
| options | GetOrderAttributeResponseOptionInfo[]| null | |
| availability | GetOrderAttributeResponseAvailabilityInfo | |
| aiFill | GetEventAttributeAiFillResponse | |
GetOrderAttributeResponseOptionInfo
| Field | Type | Description |
|---|
| id | uuid | |
| label | string| null | |
| isArchived | boolean | |
| type | string| null | |
| value | string| null | |
| color | string| null | |
| icon | string| null | |
GetOrderAttributeResponseAvailabilityInfo
| Field | Type | Description |
|---|
| recordIds | uuid[]| null | |
GetEventAttributeAiFillResponse
| Field | Type | Description |
|---|
| instructions | string| null | |
| tags | GetEventAttributeAiFillResponseTag[]| null | |
| triggers | GetEventAttributeAiFillResponseTrigger[]| null | |
GetEventAttributeAiFillResponseTag
| Field | Type | Description |
|---|
| id | uuid | |
| name | string| null | |
GetEventAttributeAiFillResponseTrigger
| Field | Type | Description |
|---|
| kind | string| null | |
| attributeId | uuid| null | |
| corePath | string| null | |