listShippingOptionsForContext - Fulfillment Module Reference
This documentation provides a reference to the listShippingOptionsForContext
method. This belongs to the Fulfillment Module.
This method retrieves a paginated list of shipping options based on the provided context.
Example
To retrieve a list of shipping options matching a context:
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
The context of the how the shipping option is being used. It
acts as a filter for the retrieved shipping options.
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.
Was this section helpful?