ProductPrice.detailed

Field Type Description
id Int Id of the product price
name String Name of the product price (translated)
price Price Price of this product price (cents). Please also check if the shop where you want to order has an offer with a discount for this product price available.
offer OfferItem? Nullable. Specificies where a discount should get appllied. A shop can give a complete category a discount, or only a certain product, or only a fixed product price. When calculating the discount, always round the price to 1 cent before multiplying it with an amount, persons or kilograms.

Examples

Example 1

{
    "id": 12,
    "name": "string",
    "price": {
        "value": 12,
        "currency": "EUR"
    },
    "offer": {
        "type": "percentage",
        "x": 12,
        "y": 12,
        "percentage": 12,
        "minimum": 12,
        "offer": {
            "id": 12,
            "name": "string"
        }
    }
}
1.5.0 stable