This endpoint displays an Cart's details for the customer, The cart's items will be listed here along with their details.Response#
Usage#
The details() method does not receive any parameters. Simply, the developer may call this method and be able to get the customer's order details according to the cart's items.Advance Usage#
Pass options or attachments or both for more cartItems related data such as options in this example cart.items.options.type.Use the simpler call unless you explicitly need options or attachments, as extra fields increase response size and processing time.
Events#
This endpoint may trigger two events, the onDetailsFetched and onDetailsNotFetched events.onDetailsFetched#
This event is triggered when fetching the cart's items list is done without having any errors coming back from the backend.onDetailsNotFetched#
This event is triggered when fetching the cart's items list is not completed and an error has occurred.