Skip to content

ShopArticle

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

ShopArticle

from xurrent import ShopArticle · module xurrent.shop_articles · API resource /shop_articles · Xurrent API docs

An article that can be ordered in the shop.

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
price None
recurring_period None ShopArticleRecurringPeriod (unknown values stay text)
max_quantity Optional[int] None
short_description Optional[str] None
full_description Optional[str] None
picture_uri Optional[str] None
category None ShopArticleCategory
product None Product
calendar None Calendar
fulfillment_template None RequestTemplate

Class methods

get_by_id

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

API: GET /shop_articles/{id}

get_shop_articles

ShopArticle.get_shop_articles(connection_object: XurrentApiHelper, predefinedFilter: ShopArticlePredefinedFilter = None, queryfilter: dict = None) -> List[T]

API: GET /shop_articles · Enums: ShopArticlePredefinedFilter

create

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

API: POST /shop_articles

Methods

ref_str

shop_article.ref_str() -> str

update

shop_article.update(data: dict) -> T

API: PATCH /shop_articles/{id}

enable

shop_article.enable() -> T

disable

shop_article.disable() -> T

Enums

ShopArticlePredefinedFilter

Used by: ShopArticle.get_shop_articles

Value Description
enabled
disabled
on_offer

ShopArticleRecurringPeriod

Used by: ShopArticle.recurring_period

Value Description
monthly
yearly

Cross references

Uses:

Used by:

Clone this wiki locally