amount, is_tax_inclusive, and an insufficient_inventory flag when the seller’s location can’t cover the cart quantities. Options are translated to the cart locale and returned keyed by seller ID. Triggered by GET /store/shipping-options.
Usage
Input
The cart to list options for; must have
sales_channel_id, region_id, and currency_code set.List return shipping options instead; defaults to
false.Only options enabled in the storefront; defaults to
true.Extra shipping-option fields to retrieve on top of the defaults.
Custom data passed through to the workflow hooks.
Result
Map of seller ID to that seller’s priced shipping options, each extended with
amount, is_tax_inclusive, and insufficient_inventory.Hooks
setPricingContext— runs with{ cart, fulfillmentSetIds, additional_data }; return a record to merge into the price calculation context.setShippingOptionsContext— runs with the same payload; return a record to merge into the shipping-option rule context.