CartPrices

Prices

Field Type Description
price Price Price without discounts and costs
discount Price Total discount that was applied
warranty Price Price that was charged to serve as a warranty. This should get reimbursed by the shop.
delivery_cost Price Delivery cost that has been charged
invoice_cost Price A shop can set an invoice cost when the user asked for an invoice
sms_cost Price A price that was charged for mobile text messages (versbox system only)
transaction_cost Price The transaction cost that was applied for the selected payment method
price_to_pay Price The total price the consumer has to pay
price_with_discount Price Optional. The price of all the items of the cart, including discounts but without any additional costs.

Examples

Example 1

{
    "price": {
        "value": 10,
        "currency": "EUR"
    },
    "discount": {
        "value": 19,
        "currency": "EUR"
    },
    "warranty": {
        "value": 16,
        "currency": "EUR"
    },
    "delivery_cost": {
        "value": 13,
        "currency": "EUR"
    },
    "invoice_cost": {
        "value": 13,
        "currency": "EUR"
    },
    "sms_cost": {
        "value": 16,
        "currency": "EUR"
    },
    "transaction_cost": {
        "value": 15,
        "currency": "EUR"
    },
    "price_to_pay": {
        "value": 12,
        "currency": "EUR"
    },
    "price_with_discount": {
        "value": 19,
        "currency": "EUR"
    }
}
This is a development version Do not use this version in production
1.10.0 development