Shopping cart details
How To Get the Shopping Cart Info Details
Use this service to get the details of the content of an active shopping cart using a cart token.
Note: To know how to obtain the shopping cart token to use this service, check our Purchase flow guide.
Let's get started with the example
Step-by-step examples
This guide shows how to get the details of the content of an active shopping cart using a valid cart token.
Prerequisites!
You will need a valid OAuth access_token to be able to make each call! Please refer to our Authentication Guide to obtain one.
Get the shopping cart
With this simple call we can easily obtain detailed information about of the content of an active shopping cart.
- cart-token: The unique identifier of the shopping cart that we want to obtain the detailed information, this identifier can be obtained using the Shopping Cart Create Service.
curl --location --request GET 'http://gateway-pre.oneboxtickets.net/onebox-rest2/rest/shoppingCart/details?token={{cart-token}} \
--header 'Accept: application/json' \
--header 'Content-Type: application/x-www-form-urlencoded' \
--header 'Authorization: Bearer {{access_token}}'