Loading...
Was this page helpful?
This documentation provides a reference to the listShippingOptionsForContextStep
. It belongs to the @medusajs/medusa/core-flows
package.
This step retrieves shipping options that can be used in the specified context, based on the shipping options' rules.
To retrieve shipping options matching a context:
To retrieve shipping options matching a context with pagination:
Learn more about paginating records and selecting fields in the service factory reference.
ListShippingOptionsForContextStepInput
ListShippingOptionsForContextStepInputcontext
Record<string, unknown>ShippingOptionDTO[]
ShippingOptionDTO[]id
stringname
stringprice_type
ShippingOptionPriceTypeservice_zone_id
stringshipping_profile_id
stringprovider_id
stringshipping_option_type_id
null | stringdata
null | Record<string, unknown>metadata
null | Record<string, unknown>service_zone
ServiceZoneDTOshipping_profile
ShippingProfileDTOfulfillment_provider
FulfillmentProviderDTOrules
ShippingOptionRuleDTO[]fulfillments
FulfillmentDTO[]created_at
Dateupdated_at
Datedeleted_at
null | Date