POST:orders/calculate.json
Commerce APIPOST:orders/calculate.json

POST: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.

Permission bit: "orders.calculate"

Topic: Orders

Query Parameters

order_id: String, required

Unique order identifier. See also: Unique Identifiers

Example: ?order_id=or_EQzGqWoY


shop_id: String, required

Unique shop identifier. See also: Unique Identifiers

Example: ?shop_id=sh_EQzGqWoY


uuid: String

Response Body

Order

Response Body Type

Loading module