Skip to main content
Skip to main content

retrieveLineItem - Order Module Reference

This documentation provides a reference to the retrieveLineItem method. This belongs to the Order Module.

This method retrieves a {return type} by its ID.

Example

await orderModuleService.retrieveLineItem("12345");

Parameters

itemIdstringRequired
The item's ID.
The configurations determining how the order line item is retrieved. Its properties, such as select or relations, accept the attributes or relations associated with a order line item.
sharedContextContext
A context used to share resources, such as transaction manager, between the application and the module.

Returns

PromisePromise<OrderLineItemDTO>Required
The retrieved {return type}(s).
Was this section helpful?