Repository navigation
ShopOrderLine
Fabian Steiner edited this page Nov 4, 2026
·
2 revisions
from xurrent import ShopOrderLine · module xurrent.shop_order_lines · API resource /shop_order_lines · Xurrent API docs
A line of a shop order: one ordered shop article with its quantity and fulfillment.
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 |
|
quantity |
None |
||
status |
None |
ShopOrderLineStatus (unknown values stay text) | |
ordered_at |
None |
||
completed_at |
None |
||
shop_article |
None |
ShopArticle | |
requested_for |
None |
Person | |
requested_by |
None |
Person | |
fulfillment_request |
None |
Request | |
fulfillment_task |
None |
Task | |
fulfillment_template |
None |
RequestTemplate | |
order |
None |
Request | |
recurring_period |
None |
ShopOrderLineRecurringPeriod (unknown values stay text) |
ShopOrderLine.get_by_id(connection_object: XurrentApiHelper, id: int) -> TAPI: GET /shop_order_lines/{id}
ShopOrderLine.get_shop_order_lines(connection_object: XurrentApiHelper, predefinedFilter: ShopOrderLinePredefinedFilter = None, queryfilter: dict = None) -> List[T]API: GET /shop_order_lines · Enums: ShopOrderLinePredefinedFilter
ShopOrderLine.create(connection_object: XurrentApiHelper, data: dict) -> TAPI: POST /shop_order_lines
shop_order_line.ref_str() -> strshop_order_line.update(data: dict) -> TAPI: PATCH /shop_order_lines/{id}
Used by: ShopOrderLine.get_shop_order_lines
| Value | Description |
|---|---|
open |
|
completed |
|
canceled |
|
personal |
Used by: ShopOrderLine.status
| Value | Description |
|---|---|
in_cart |
|
workflow_pending |
|
fulfillment_pending |
|
completed |
|
canceled |
Used by: ShopOrderLine.recurring_period
| Value | Description |
|---|---|
monthly |
|
yearly |
Uses:
-
Person:
requested_by,requested_for -
Request:
fulfillment_request,order -
RequestTemplate:
fulfillment_template -
ShopArticle:
shop_article -
Task:
fulfillment_task
- 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