Orders > Orders > storefrontOrdersCalculate
Storefront APIOrdersOrdersstorefrontOrdersCalculate
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

order_id: String!

Unique order identifier. See also: Unique Identifiers

Example: "or_EQzGqWoY"


shop_id: String!

Unique shop identifier. See also: Unique Identifiers

Example: "sh_EQzGqWoY"


uuid: String


Result

StorefrontOrder

Preview (typescript)

Loading module