-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsimplified_coapi_response_selection.json
130 lines (130 loc) · 3.44 KB
/
simplified_coapi_response_selection.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
{
"token": "61b26ef0f724fc49589e7dbf29d773fb",
"selection": {
"language": "sv",
"currency": "SEK",
"paymentMethod": "dummy-first",
"paymentMethodName": "first dummy payment",
"shippingMethod": "sek",
"shippingMethodName": "SEK",
"centraCheckoutScript": "",
"items": [
{
"item": "1-1",
"productUrl": null,
"category": null,
"size": "",
"sku": "123456789",
"ean": "ABCDEFGHIJKL",
"upc": "",
"quantity": 1,
"comment": null,
"localizedSize": null,
"line": "03bae5a634438002365836d253ae9d1c",
"priceEach": "100.00 SEK",
"priceEachAsNumber": 100,
"totalPrice": "100.00 SEK",
"totalPriceAsNumber": 100,
"priceEachBeforeDiscount": "100.00 SEK",
"priceEachBeforeDiscountAsNumber": 100,
"anyDiscount": false,
"discounts": {
"vouchers": [
{
"voucher": "15percoff",
"priceOff": "-15.00 SEK",
"priceOffAsNumber": -15,
"hasAffectedItemPrice": false
}
],
"automaticDiscounts": null
},
"taxPercent": 25,
"priceEachWithoutTax": "80.00 SEK",
"priceEachWithoutTaxAsNumber": 80,
"priceEachReduction": "0.00 SEK",
"priceEachReductionAsNumber": 0,
"totalPriceBeforeDiscount": "100.00 SEK",
"totalPriceBeforeDiscountAsNumber": 100,
"product": {}
}
],
"discounts": {
"anyDiscount": true,
"discount": "0.00 SEK",
"discountAsNumber": 0,
"vouchers": [
{
"voucher": "15percoff",
"type": "code",
"priceOff": "-15.00 SEK",
"priceOffAsNumber": -15,
"description": "15percoff",
"expiryDate": "2094-05-02 11:06:58",
"lines": [
"03bae5a634438002365836d253ae9d1c"
],
"shippingDiscountAsNumber": 0,
"shippingDiscount": "0.00 SEK",
"attributes": []
}
],
"automaticDiscounts": []
},
"totals": {
"itemsTotalPrice": "100.00 SEK",
"itemsTotalPriceAsNumber": 100,
"totalDiscountPrice": "-15.00 SEK",
"totalDiscountPriceAsNumber": -15,
"shippingPrice": "0.00 SEK",
"shippingPriceAsNumber": 0,
"handlingCostPrice": "0.00 SEK",
"handlingCostPriceAsNumber": 0,
"totalQuantity": 1,
"taxDeducted": false,
"taxDeductedAsNumber": false,
"taxAdded": false,
"taxAddedAsNumber": false,
"taxPercent": 25,
"grandTotalPrice": "85.00 SEK",
"grandTotalPriceAsNumber": 85,
"grandTotalPriceTax": "17.00 SEK",
"grandTotalPriceTaxAsNumber": 17
},
"vatExempt": false,
"address": {},
"shippingAddress": {},
"additionalNotes": "",
"currencyFormat": {
"currency": "SEK",
"name": "SEK",
"prefix": "",
"suffix": " SEK",
"decimalPoint": ".",
"decimalDigits": "2",
"thousandsSeparator": " ",
"denominator": 100,
"uri": "sek"
}
},
"paymentMethods": [],
"paymentFields": {},
"shippingMethods": [],
"countries": [],
"languages": [],
"location": {
"country": "SE",
"name": "Sweden",
"state": null,
"stateName": "",
"eu": true,
"shipTo": true,
"market": 1,
"pricelist": 19,
"language": {
"language": "sv",
"name": "Swedish",
"default": false
}
}
}