Orders > Orders > storefrontOrdersCalculate
POST:storefront/orders/calculate.json
Description
Calculate order shipping rates and totals.
If this is the first time, shipping rates are calculated and the one with lowest price is selected as the current. Or otherwise if another shipping rate is selected the api request will recalculate the numbers.
Topic: Orders
Arguments
Unique order identifier. See also: Unique Identifiers
Example: "or_EQzGqWoY"
Unique shop identifier. See also: Unique Identifiers
Example: "sh_EQzGqWoY"
Result
Preview (typescript)
Loading module