{ "$schema": "https://json-structure.org/meta/core/v0/#", "$id": "https://raw.githubusercontent.com/api-evangelist/mindbody/refs/heads/main/json-structure/public-api-v6-shopping-cart-structure.json", "name": "ShoppingCart", "description": "Implementation of the 'ShoppingCart' model. Represents a shopping cart.", "type": "object", "properties": { "Id": { "type": "string", "description": "The shopping cart ID.", "example": "example-value" }, "CartItems": { "type": "array", "items": { "$ref": "#/components/schemas/CartItem" }, "description": "Contains information about the items in the shopping cart.", "example": [ {} ] }, "SubTotal": { "type": "double", "description": "The cart\u2019s total cost before taxes and discounts were applied.", "example": 49.99 }, "DiscountTotal": { "type": "double", "description": "The monetary amount removed from the cart\u2019s total cost by applied discounts.", "example": 49.99 }, "TaxTotal": { "type": "double", "description": "The monetary amount paid in taxes, included in the cart\u2019s `GrandTotal`.", "example": 49.99 }, "GrandTotal": { "type": "double", "description": "The cart\u2019s total cost, including taxes and discounts.", "example": 49.99 }, "Transactions": { "type": "array", "items": { "$ref": "#/components/schemas/TransactionResponse" }, "description": "Contains information returned from the first call to CheckoutShoppingCart.", "example": [ {} ] }, "SaleId": { "type": "int32", "description": "The ID of the sale associated with the shopping cart.", "example": 123456 } } }