- Get Started
- Product
- Resources
- Tools & SDKs
- Framework
- Reference
Menu
- Get Started
- Product
- Resources
- Tools & SDKs
- Framework
- Reference
retrieveOrderLineItem - Order Module Reference
This documentation provides a reference to the retrieveOrderLineItem
method. This belongs to the Order Module.
Note: You should only use this methods when implementing complex customizations. For common cases, check out available workflows instead.
This method retrieves a line item by its ID.
Example#
A simple example that retrieves an order change by its ID:
To specify relations that should be retrieved:
Parameters#
itemId
stringThe item's ID.
The configurations determining how the line item is retrieved. Its properties, such as select
or relations
, accept the
attributes or relations associated with a line item.
select
or relations
, accept the
attributes or relations associated with a line item.Returns#
Promise
Promise<OrderLineItemDTO>The retrieved line item.
Promise
Promise<OrderLineItemDTO>Was this page helpful?