- Get Started
- Product
- Resources
- Tools & SDKs
- Framework
- Reference
Menu
- Get Started
- Product
- Resources
- Tools & SDKs
- Framework
- Reference
retrieveOrder - Order Module Reference
This documentation provides a reference to the retrieveOrder
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 an order by its ID.
Example#
A simple example that retrieves an order change by its ID:
To specify relations that should be retrieved:
Parameters#
orderId
stringThe order's ID.
The configurations determining how the order is retrieved. Its properties, such as select
or relations
, accept the
attributes or relations associated with a order.
select
or relations
, accept the
attributes or relations associated with a order.Returns#
Promise
Promise<OrderDTO>The retrieved order.
Promise
Promise<OrderDTO>Was this page helpful?