Skip to content

CustomCollectionElement

Fabian Steiner edited this page Nov 4, 2026 · 2 revisions

CustomCollectionElement

from xurrent import CustomCollectionElement · module xurrent.custom_collection_elements · API resource /custom_collection_elements · Xurrent API docs

An element (selectable value) of a custom collection.

Back to the overview

Fields

The named arguments of the constructor. Every other field of the API response is set as an attribute as well.

Field Type Default Converted to
id int
name Optional[str] None
reference Optional[str] None
disabled Optional[bool] None
description Optional[str] None
information Optional[str] None
custom_collection None CustomCollection

Class methods

get_by_id

CustomCollectionElement.get_by_id(connection_object: XurrentApiHelper, id: int) -> T

API: GET /custom_collection_elements/{id}

get_custom_collection_elements

CustomCollectionElement.get_custom_collection_elements(connection_object: XurrentApiHelper, predefinedFilter: CustomCollectionElementPredefinedFilter = None, queryfilter: dict = None) -> List[T]

API: GET /custom_collection_elements · Enums: CustomCollectionElementPredefinedFilter

create

CustomCollectionElement.create(connection_object: XurrentApiHelper, data: dict) -> T

API: POST /custom_collection_elements

Methods

ref_str

custom_collection_element.ref_str() -> str

update

custom_collection_element.update(data: dict) -> T

API: PATCH /custom_collection_elements/{id}

enable

custom_collection_element.enable() -> T

disable

custom_collection_element.disable() -> T

Enums

CustomCollectionElementPredefinedFilter

Used by: CustomCollectionElement.get_custom_collection_elements

Value Description
disabled
enabled

Cross references

Uses:

Used by:

Clone this wiki locally