CostAPI
API
The API for interacting with the cost of a checkout.
Anchor to orderstatusapiOrderStatusApi
The API object provided to this and other customer-account.order-status
extension targets.
Anchor to cost
cost
required
Details on the costs of the purchase for the buyer.
Was this section helpful?
Anchor to useTotalAmountuse Total Amount()
use Total Amount()
Returns a Money
value representing the minimum a buyer can expect to pay at the current step of checkout. This value excludes amounts yet to be negotiated. For example, the information step might not have delivery costs calculated.
Money
amount
number
The price amount.
currencyCode
The ISO 4217 format for the currency.
Was this section helpful?