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
filtersFilterableAddressPropsThe filters to apply on the retrieved addresss.
filtersFilterableAddressPropsconfigFindConfig<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.
configFindConfig<CartAddressDTO>select or relations, accept the
attributes or relations associated with a address.Returns
The list of addresses.
Was this section helpful?