Docs

Get Order Attributes

GET /organizations/{orgId}/order-attributes

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

FieldTypeRequiredDescription
orgIduuidRequired

Query Parameters

FieldTypeRequiredDescription
includeArchivedbooleanOptional

Response

Type: GetOrderAttributeResponse[]

GetOrderAttributeResponse

FieldTypeDescription
iduuid
namestring| null
fieldClassIduuid| null
typestring| null
isArchivedboolean
hasExpirationboolean
optionsGetOrderAttributeResponseOptionInfo[]| null
availabilityGetOrderAttributeResponseAvailabilityInfo
aiFillGetEventAttributeAiFillResponse

GetOrderAttributeResponseOptionInfo

FieldTypeDescription
iduuid
labelstring| null
isArchivedboolean
typestring| null
valuestring| null
colorstring| null
iconstring| null

GetOrderAttributeResponseAvailabilityInfo

FieldTypeDescription
recordIdsuuid[]| null

GetEventAttributeAiFillResponse

FieldTypeDescription
instructionsstring| null
tagsGetEventAttributeAiFillResponseTag[]| null
triggersGetEventAttributeAiFillResponseTrigger[]| null

GetEventAttributeAiFillResponseTag

FieldTypeDescription
iduuid
namestring| null

GetEventAttributeAiFillResponseTrigger

FieldTypeDescription
kindstring| null
attributeIduuid| null
corePathstring| null