The priceQuote endpoint calculates and returns a price quote for the items in a cart. This endpoint takes into account any discounts, taxes, shipping costs, and other factors that may affect the final price, and returns the calculated price along with a breakdown of the individual costs. The price quote can be used to inform the user of the total cost of their purchase and to facilitate the checkout process.Payload#
Response#
Usage#
To perform the action of calculating and returning a price quote for the items in a cart, the developer may call the priceQuote()
as shown below.Events#
This endpoint may trigger two events, the onPriceQuoteSucceeded and onPriceQuoteFailed events.onPriceQuoteSucceeded#
This event is triggered when of calculating and returning a price quote for the items in a cart is done without having any errors coming back from the backend.onPriceQuoteFailed#
This event is triggered when of calculating and returning a price quote for the items in a cart is not completed and an error has occurred. 
扫码加入 Apifox 微信交流群
在这里,获得 Apifox 使用上的任何帮助,快速上手让你的研测效率得到大幅提升

扫码加入交流群Modified at 2025-02-20 07:53:20