listShippingMethods - Cart Module Reference
This documentation provides a reference to the listShippingMethods
method. This belongs to the Cart Module.
This method retrieves a paginated list of shipping methods based on optional filters and configuration.
Example
To retrieve a list of shipping methods using their IDs:
To specify relations that should be retrieved within the shipping methods:
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
The filters to apply on the retrieved shipping methods.
The configurations determining how the shipping method is retrieved. Its properties, such as select
or relations
, accept the
attributes or relations associated with a shipping method.
select
or relations
, accept the
attributes or relations associated with a shipping method.Returns
The list of shipping methods.
Was this section helpful?