Cart prices
Below is part of an example response from the /carts/{cartUuid}
endpoint:
{
[...]
"items": [
{
[...]
"quantity": 2,
"total_price": {
"currency": "USD",
"value": 21.6,
"formatted_value": "$ 21.60",
"formatted_iso_value": "$21.60"
},
"total_price_without_service_fee": {
"currency": "USD",
"value": 17.6,
"formatted_value": "$ 17.60",
"formatted_iso_value": "$17.60"
},
"product": {
[...]
"original_retail_price": {
"currency": "USD",
"value": 12.0,
"formatted_value": "$ 12.00",
"formatted_iso_value": "$12.00"
},
"original_retail_price_without_service_fee": {
"currency": "USD",
"value": 10.0,
"formatted_value": "$ 10.00",
"formatted_iso_value": "$10.00"
},
"retail_price": {
"currency": "USD",
"value": 10.8,
"formatted_value": "$ 10.80",
"formatted_iso_value": "$10.80"
},
"retail_price_without_service_fee": {
"currency": "USD",
"value": 8.8,
"formatted_value": "$ 8.80",
"formatted_iso_value": "$8.80"
},
"discount_amount": {
"currency": "USD",
"value": 1.2,
"formatted_value": "$ 1.20",
"formatted_iso_value": "$1.20"
},
"service_fee": {
"currency": "USD",
"value": 2.0,
"formatted_value": "$ 2.00",
"formatted_iso_value": "$2.00"
}
}
}
],
[...]
"full_price": {
"currency": "USD",
"value": 24.0,
"formatted_value": "$ 24.00",
"formatted_iso_value": "$24.00"
},
"full_price_without_service_fee": {
"currency": "USD",
"value": 20.0,
"formatted_value": "$ 20.00",
"formatted_iso_value": "$20.00"
},
"discount": {
"currency": "USD",
"value": 4.75,
"formatted_value": "$ 4.75",
"formatted_iso_value": "$4.75"
},
"total_discount": {
"currency": "USD",
"value": 7.15,
"formatted_value": "$ 7.15",
"formatted_iso_value": "$7.15"
},
"retail_price": {
"currency": "USD",
"value": 16.85,
"formatted_value": "$ 16.85",
"formatted_iso_value": "$16.85"
},
"retail_price_without_service_fee": {
"currency": "USD",
"value": 12.85,
"formatted_value": "$ 12.85",
"formatted_iso_value": "$12.85"
},
"service_fee": {
"currency": "USD",
"value": 4.0,
"formatted_value": "$ 4.00",
"formatted_iso_value": "$4.00"
},
[...]
}
Product prices
Every cart item contains information about the activity product. All of the price properties that appear in the product correspond to the same properties described on the activity prices page.
However, regardless of the quantity of products in the cart item, the product pricing corresponds to a quantity of one.
Cart item prices
Each cart item will contain price properties which take the product quantity into account:
-
total_price
-
The cart item's
quantity
multiplied by the product'sretail_price
.
-
The cart item's
-
total_price_without_service_fee
-
The cart item's
quantity
multiplied by the product'sretail_price_without_service_fee
.
-
The cart item's
Cart prices
A cart will contain price properties which take every cart item and product into account, plus additional discount info:
-
discount
- Discount information if a promo code has been applied to a cart.
-
total_discount
-
The sum of:
-
The cart's
discount
property -
Every product's
discount_amount
property multiplied by the corresponding cart item'squantity
-
The cart's
-
The sum of:
-
full_price
-
The sum of every product's
original_retail_price
property multiplied by the corresponding cart item'squantity
.
-
The sum of every product's
-
full_price_without_service_fee
-
The sum of every product's
original_retail_price_without_service_fee
property multiplied by the corresponding cart item'squantity
.
-
The sum of every product's
-
retail_price
- The final price for customers.
-
The sum of every cart item's
total_price
minus the cart'sdiscount
.
-
retail_price_without_service_fee
-
The sum of every cart item's
total_price_without_service_fee
minus the cart'sdiscount
.
-
The sum of every cart item's
-
service_fee
-
The sum of every product's
service_fee
.
-
The sum of every product's