listAndCountShippingOptions - Fulfillment Module Reference
This documentation provides a reference to the listAndCountShippingOptions
method. This belongs to the Fulfillment Module.
This method retrieves a paginated list of shipping options along with the total count of available shipping options satisfying the provided filters.
Example
To retrieve a list of shipping options using their IDs:
To specify relations that should be retrieved within the shipping option:
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
Omit<FilterableShippingOptionProps, "context">Construct a type with the properties of T except for those in type K.
filters
Omit<FilterableShippingOptionProps, "context">config
FindConfig<ShippingOptionDTO>The configurations determining how the shipping option is retrieved. Its properties, such as select
or relations
, accept the
attributes or relations associated with a shipping option.
config
FindConfig<ShippingOptionDTO>select
or relations
, accept the
attributes or relations associated with a shipping option.Returns
The list of shipping options along with their total count.
Was this section helpful?