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