retrieve - Cart Module Reference
This documentation provides a reference to the retrieve method. This belongs to the Cart Module.
This method retrieves a cart by its ID.
Example
A simple example that retrieves a cart by its ID:
To specify relations that should be retrieved:
Parameters
cartIdstringRequiredThe cart's ID.
configFindConfig<CartDTO>The configurations determining how the cart is retrieved. Its properties, such as select or relations, accept the
attributes or relations associated with a cart.
configFindConfig<CartDTO>select or relations, accept the
attributes or relations associated with a cart.Returns
The retrieved cart.
Was this section helpful?