Repository navigation
ShopArticle
Fabian Steiner edited this page Nov 4, 2026
·
2 revisions
from xurrent import ShopArticle · module xurrent.shop_articles · API resource /shop_articles · Xurrent API docs
An article that can be ordered in the shop.
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 |
ShopArticle.get_by_id(connection_object: XurrentApiHelper, id: int) -> TAPI: GET /shop_articles/{id}
ShopArticle.get_shop_articles(connection_object: XurrentApiHelper, predefinedFilter: ShopArticlePredefinedFilter = None, queryfilter: dict = None) -> List[T]API: GET /shop_articles · Enums: ShopArticlePredefinedFilter
ShopArticle.create(connection_object: XurrentApiHelper, data: dict) -> TAPI: POST /shop_articles
shop_article.ref_str() -> strshop_article.update(data: dict) -> TAPI: PATCH /shop_articles/{id}
shop_article.enable() -> Tshop_article.disable() -> TUsed by: ShopArticle.get_shop_articles
| Value | Description |
|---|---|
enabled |
|
disabled |
|
on_offer |
Used by: ShopArticle.recurring_period
| Value | Description |
|---|---|
monthly |
|
yearly |
Uses:
-
Calendar:
calendar -
Product:
product -
RequestTemplate:
fulfillment_template -
ShopArticleCategory:
category
Used by:
-
ShopOrderLine:
shop_article
- XurrentApiHelper
- Calendar
- ClosureCode
- ConfigurationItem
- Contract
- CustomCollection
- CustomCollectionElement
- EffortClass
- Holiday
- KnowledgeArticle
- Organization
- OutOfOfficePeriod
- Person
- Problem
- Product
- ProductCategory
- Project
- ProjectTask
- Release
- Request
- RequestTemplate
- Risk
- Service
- ServiceInstance
- ServiceOffering
- ShopArticle
- ShopArticleCategory
- ShopOrderLine
- Site
- SkillPool
- Task
- Team
- TimeAllocation
- UiExtension
- Workflow
- WorkflowTemplate