listAddresses - Cart Module Reference
This documentation provides a reference to the listAddresses
method. This belongs to the Cart Module.
This method retrieves a paginated list of addresses based on optional filters and configuration.
Example
To retrieve a list of addresses using their IDs:
By default, only the first 15
records are retrieved. You can control pagination by specifying the skip
and take
properties of the config
parameter:
Parameters
filters
FilterableAddressPropsThe filters to apply on the retrieved addresss.
filters
FilterableAddressPropsconfig
FindConfig<CartAddressDTO>The configurations determining how the address is retrieved. Its properties, such as select
or relations
, accept the
attributes or relations associated with a address.
config
FindConfig<CartAddressDTO>select
or relations
, accept the
attributes or relations associated with a address.Returns
The list of addresses.
Was this section helpful?