retrieveShippingOptionRule - Fulfillment Module Reference
This documentation provides a reference to the retrieveShippingOptionRule
method. This belongs to the Fulfillment Module.
This method retrieves a shipping option rule by its ID.
Example
A simple example that retrieves a shipping option rule by its ID:
To specify relations that should be retrieved:
Parameters
id
stringRequiredThe ID of the shipping option rule.
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 retrieved shipping option rule.
Was this section helpful?