Projekt

Allgemein

Profil

GX-Bug #69334 » gambio_beispielreqs.json

Till Tepelmann, 12.11.2021 15:15

 
1
Produktanlage - Request
2
{
3
    "isActive": true,
4
    "sortOrder": 0,
5
    "dateAdded": "",
6
    "dateAvailable": "",
7
    "lastModified": "",
8
    "orderedCount": 1,
9
    "productModel": "#11523",
10
    "price": 5.75,
11
    "discountAllowed": 0,
12
    "taxClassId": 1,
13
    "quantity": 0,
14
    "weight": 0.0,
15
    "shippingCosts": 0.0,
16
    "shippingTimeId": 0,
17
    "productTypeId": 1,
18
    "manufacturerId": 0,
19
    "isFsk18": false,
20
    "isVpeActive": false,
21
    "vpeId": 0,
22
    "vpeValue": 0,
23
    "name": {
24
        "en": "",
25
        "de": "Somat-Geschirrspülpulver"
26
    },
27
    "description": {
28
        "en": "<p>Hallodri in länger</p>",
29
        "de": "<p>Hallodri in länger<br></p>"
30
    },
31
    "shortDescription": {
32
        "en": "",
33
        "de": ""
34
    },
35
    "keywords": {
36
        "en": "",
37
        "de": ""
38
    },
39
    "metaTitle": {
40
        "en": "",
41
        "de": ""
42
    },
43
    "metaDescription": {
44
        "en": "",
45
        "de": ""
46
    },
47
    "metaKeywords": {
48
        "en": "testkey",
49
        "de": ""
50
    },
51
    "url": {
52
        "en": "",
53
        "de": ""
54
    },
55
    "infoUrl": {
56
        "en": "",
57
        "de": ""
58
    },
59
    "urlKeywords": {
60
        "en": "",
61
        "de": ""
62
    },
63
    "checkoutInformation": {
64
        "en": "",
65
        "de": ""
66
    },
67
    "images": [],
68
    "addonValues": {},
69
    "settings": {
70
        "groupPermissions": []
71
    },
72
    "quantityUnitId": 0
73
}
74
Produktanlage - Response
75
{
76
    "id": 61,
77
    "isActive": true,
78
    "sortOrder": 0,
79
    "dateAdded": "1000-01-01 00:00:00",
80
    "dateAvailable": "1000-01-01 00:00:00",
81
    "lastModified": "2021-11-10 13:09:02",
82
    "orderedCount": 1,
83
    "productModel": "#11523",
84
    "ean": "",
85
    "price": 5.75,
86
    "discountAllowed": 0,
87
    "taxClassId": 1,
88
    "quantity": 0,
89
    "weight": 0,
90
    "shippingCosts": 0,
91
    "shippingTimeId": 0,
92
    "productTypeId": 1,
93
    "manufacturerId": 0,
94
    "quantityUnitId": 0,
95
    "isFsk18": false,
96
    "isVpeActive": false,
97
    "vpeId": 0,
98
    "vpeValue": 0,
99
    "name": {
100
        "en": "",
101
        "de": "Somat-Geschirrspu00fclpulver"
102
    },
103
    "description": {
104
        "en": "<p>Hallodri in lu00e4nger</p>",
105
        "de": "<p>Hallodri in lu00e4nger<br></p>"
106
    },
107
    "shortDescription": {
108
        "en": "",
109
        "de": ""
110
    },
111
    "keywords": {
112
        "en": "",
113
        "de": ""
114
    },
115
    "metaTitle": {
116
        "en": "",
117
        "de": ""
118
    },
119
    "metaDescription": {
120
        "en": "",
121
        "de": ""
122
    },
123
    "metaKeywords": {
124
        "en": "testkey",
125
        "de": ""
126
    },
127
    "url": {
128
        "en": "",
129
        "de": ""
130
    },
131
    "infoUrl": {
132
        "en": "",
133
        "de": ""
134
    },
135
    "urlKeywords": {
136
        "en": "product-61",
137
        "de": "somat-geschirrspuelpulver"
138
    },
139
    "checkoutInformation": {
140
        "en": "",
141
        "de": ""
142
    },
143
    "viewedCount": {
144
        "en": 0,
145
        "de": 0
146
    },
147
    "images": [],
148
    "settings": {
149
        "detailsTemplate": "",
150
        "optionsDetailsTemplate": "",
151
        "optionsListingTemplate": "",
152
        "showOnStartpage": false,
153
        "showQuantityInfo": false,
154
        "showWeight": false,
155
        "showPriceOffer": false,
156
        "showAddedDateTime": false,
157
        "priceStatus": 0,
158
        "minOrder": 0,
159
        "graduatedQuantity": 0,
160
        "onSitemap": false,
161
        "sitemapPriority": "",
162
        "sitemapChangeFrequency": "",
163
        "propertiesDropdownMode": "",
164
        "startpageSortOrder": 0,
165
        "showPropertiesPrice": false,
166
        "propertiesCombisQuantityCheckMode": 0,
167
        "usePropertiesCombisShippingTime": false,
168
        "usePropertiesCombisWeight": false,
169
        "groupPermissions": [{
170
                "id": 0,
171
                "isPermitted": false
172
            }, {
173
                "id": 1,
174
                "isPermitted": false
175
            }, {
176
                "id": 2,
177
                "isPermitted": false
178
            }, {
179
                "id": 3,
180
                "isPermitted": false
181
            }
182
        ]
183
    },
184
    "addonValues": {
185
        "codeIsbn": null,
186
        "codeUpc": null,
187
        "codeMpn": null,
188
        "codeJan": null,
189
        "googleExportConditionId": "0",
190
        "googleExportAvailabilityId": "0",
191
        "brandName": "",
192
        "identifierExists": "1",
193
        "gender": "",
194
        "ageGroup": "",
195
        "expirationDate": "1000-01-01",
196
        "productsImageWidth": "0",
197
        "productsImageHeight": "0"
198
    },
199
    "specialOfferId": 0,
200
    "_links": {
201
        "taxClass": "https://gambio45.stage.vario-software.de/api.php/v2/tax_classes/1" 
202
    }
203
    
204
}
205

    
206
Preisanlage - Request
207
{
208
    "productId": 61,
209
    "price": 5.75,
210
    "taxClassId": 1,
211
    "groupPrices": [{
212
            "customerGroupId": 2,
213
            "groupPrice": 10.0
214
        }, {
215
            "customerGroupId": 3,
216
            "groupPrice": 15.0
217
        }
218
    ]
219
}
220
Preisanlage - Response
221
{
222
    "productId": 61,
223
    "price": 5.75,
224
    "taxClassId": 1,
225
    "groupPrices": [{
226
            "customerGroupId": 2,
227
            "groupPrice": 10
228
        }, {
229
            "customerGroupId": 3,
230
            "groupPrice": 15
231
        }
232
    ]
233
}
    (1-1/1)