This endpoint fetches the last cart created by the customer. In other words, the cart will be fetched based on the latest products.Response#
Usage#
The latest()
method does not receive any parameters. Simply, the developer may call this method and be able to get the last cart created by the customer.Events#
This endpoint may trigger two events, the onLatestFetched and onLatestFailed events.onLatestFetched#
This event is triggered when fetching the last cart created by the customer is done without having any errors coming back from the backend.onLatestFailed#
This event is triggered when fetching the last cart created by the customer is not completed and an error has occurred. 
扫码加入 Apifox 微信交流群
在这里,获得 Apifox 使用上的任何帮助,快速上手让你的研测效率得到大幅提升

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