ProductInstanceValue
Product instance value, used with products. It configures the price and the content of a product.
Fields
Field | Description |
---|---|
max_price
decimal
(required) |
Maximum price for a variable payment voucher Example value:50.000000 |
min_price
decimal
(required) |
Minimum price for a variable payment voucher Example value:25.000000 |
price
decimal
(required) |
Price Example value:25.000000 |
pricetypes
|
Set of pricetype values (used in optionbundle products) Example value:[ { "id": 1, "from": 0 }, { "id": 2, "from": 3 }, { "id": 3, "from": 6 } ] |
tickettypeprices
int[]
|
Set of tickettypeprices (used in fixedbundle products) Example value:[ 1, 2, 3 ] |
tickettypes
int[]
|
Set of tickettypes (used in optionbundle products) Example value:[ 1, 2, 3 ] |
voucher
|
Voucher Example value:{ "amount": 20.000000, "voucherid": 123 } |
Example
1{
2 "max_price": 50.000000,
3 "min_price": 25.000000,
4 "price": 25.000000,
5 "pricetypes": [
6 {
7 "id": 1,
8 "from": 0
9 },
10 {
11 "id": 2,
12 "from": 3
13 },
14 {
15 "id": 3,
16 "from": 6
17 }
18 ],
19 "tickettypeprices": [ 1, 2, 3 ],
20 "tickettypes": [ 1, 2, 3 ],
21 "voucher": {
22 "amount": 20.000000,
23 "voucherid": 123
24 }
25}