listAndCountShippingOptionRules - Fulfillment Module Reference
This documentation provides a reference to the listAndCountShippingOptionRules
method. This belongs to the Fulfillment Module.
This method retrieves a paginated list of shipping option rules along with the total count of available shipping option rules satisfying the provided filters.
Example
To retrieve a list of shipping option rules using their IDs:
To specify relations that should be retrieved within the shipping option rule:
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 option rules.
config
FindConfig<ShippingOptionRuleDTO>The configurations determining how the shipping option rule is retrieved. Its properties, such as select
or relations
, accept the
attributes or relations associated with a shipping option rule.
config
FindConfig<ShippingOptionRuleDTO>select
or relations
, accept the
attributes or relations associated with a shipping option rule.Returns
The list of shipping option rules along with their total count.
Was this section helpful?