LoyaltySystemDetails
objectDetails about the Loyalty System communication.
Example:true
Allowed values:OKNOK
Example:OK
Example:68471892100106106113111269117711
ProductToCalculate
objectProduct to calculate prices for.
User-defined price per unit for the product.
This can be used to override a price for a given product.
If not set, the price will be looked up.
The price is per unit of the product. Promotions are calculated based on this price.
>= 0
Example:1.75
ID of the product.
>= 9 characters<= 40 characters
Example:101924500000
Number of products.
This is not used for weight-based products.
> 0
Example:1
User-defined unit for the product.
This can be used to override the unit for a given product.
If not set, the unit will be looked up.
Allowed values:CUKGMQM
Example:CU
Total weight of the product.
This is only used for weight-based products. Set the unit field to “KG” when overwriting the weight.
> 0
Example:125.2
Transaction
objectResponse for finished transaction.
Status code if there was an error.
ID of the transaction used for finishing it.
Example:5oj548c9afa59304c0eb0b7f18b77c9c
Vat
objectInformation about the VAT.
VAT code.
- 0: No taxes
- 1: Reduced taxes
- 2: Full taxes
- 9: Proportionally split
Allowed values:129
VAT rate.
> 0
Example:7.7
Taxable amount for this VAT.
> 0
Example:11.9
Amount of the VAT.
> 0
Example:1.1
Problem Details
objectProblem Details for HTTP APIs defined by RFC 7807
Example:More details
Example:400
Example:Test error
>= 1 items