Aktionen
GX-Abgewiesen #68442
geschlossenProductID wird über API als AddonValue exportiert, was keinen Zusammenhang mit den Items hat und damit nicht mehr so leicht identifiziert werden kann
Status:
Abgewiesen
Priorität:
Hoch
Zugewiesen an:
Tobias Schindler
Kategorie:
REST-API
Zielversion:
Beginn:
Abgabedatum:
% erledigt:
0%
Geschätzter Aufwand:
Steps to reproduce:
Release Notes Langtext:
Beschreibung
ProductID wird über API als AddonValue exportiert, was keinen Zusammenhang mit den Items hat und damit nicht mehr so leicht identifiziert werden kann mit den eigentlichen Produkt in der Bestellung
Die ProductID sollte daher als eigenes Feld im "Items" Array ausgegeben werden.
Erwartetes Ergebnis:
"items": [
{
"id": 5,
"productId": 2,
"model": "12345-s-black",
"name": "Ein Artikel",
"quantity": 1,
"price": 11,
"finalPrice": 11,
"tax": 19,
"isTaxAllowed": true,
"discount": 0,
"shippingTimeInformation": "",
"checkoutInformation": "Checkout information goes here ...",
"quantityUnitName": "Liter",
"attributes": [],
"downloadInformation": [
{
"filename": "Dokument.pdf",
"maxDaysAllowed": 5,
"countAvailable": 14
}
],
"gxCustomizerData": [],
"addonValues": {
"productId": "2",
"productType": "1",
"quantityUnitId": "1"
}
}
],
Tatsächliches Ergebnis:
"items": [
{
"id": 5,
"model": "12345-s-black",
"name": "Ein Artikel",
"quantity": 1,
"price": 11,
"finalPrice": 11,
"tax": 19,
"isTaxAllowed": true,
"discount": 0,
"shippingTimeInformation": "",
"checkoutInformation": "Checkout information goes here ...",
"quantityUnitName": "Liter",
"attributes": [],
"downloadInformation": [
{
"filename": "Dokument.pdf",
"maxDaysAllowed": 5,
"countAvailable": 14
}
],
"gxCustomizerData": [],
"addonValues": {
"productId": "2",
"productType": "1",
"quantityUnitId": "1"
}
}
],
ProductID is exported via API as AddonValue, which has no connection with the items and thus can no longer be easily identified with the actual product in the order.
The ProductID should therefore be output as a separate field in the "Items" array.
Expected result:
"items": [
{
"id": 5,
"productId": 2,
"model": "12345-s-black",
}, "name": "one-item",
"quantity": 1,
"price": 11,
"finalPrice": 11,
"tax": 19,
"isTaxAllowed": true,
"discount": 0,
"shippingTimeInformation": "",
"checkoutInformation": "Checkout information goes here ...",
"quantityUnitName": "liter",
"attributes": [],
"downloadInformation": [
{
"filename": "document.pdf",
"maxDaysAllowed": 5,
"countAvailable": 14
}
],
}, "gxCustomizerData": [],
"addonValues": {
"productId": "2",
"productType": "1",
"quantityUnitId": "1"
}
}
],
Actual result:
"``items'': [
{
}, "id",
"model": "12345-s-black",
}, "name": "one-item",
"quantity": 1,
"price": 11,
"finalPrice": 11,
"tax": 19,
"isTaxAllowed": true,
"discount": 0,
"shippingTimeInformation": "",
"checkoutInformation": "Checkout information goes here ...",
"quantityUnitName": "liter",
"attributes": [],
"downloadInformation": [
{
"filename": "document.pdf",
"maxDaysAllowed": 5,
"countAvailable": 14
}
],
}, "gxCustomizerData": [],
"addonValues": {
"productId": "2",
"productType": "1",
"quantityUnitId": "1"
}
}
],
Checkliste 0/0
Von Marvin Muxfeld vor fast 3 Jahren aktualisiert
- Status wurde von Anerkannt zu In Bearbeitung geändert
- Zugewiesen an wurde auf Marvin Muxfeld gesetzt
Von Marvin Muxfeld vor fast 3 Jahren aktualisiert
- Status wurde von In Bearbeitung zu Testing geändert
- Zielversion wurde auf 4.6.0.0 beta1 gesetzt
Von Moritz Bunjes vor fast 3 Jahren aktualisiert
- Status wurde von Testing zu Feedback geändert
- Zugewiesen an wurde von Moritz Bunjes zu Tobias Schindler geändert
Von Moritz Bunjes vor fast 3 Jahren aktualisiert
- Tracker wurde von GX-Bug zu GX-Abgewiesen geändert
- Status wurde von Feedback zu Abgewiesen geändert
- Betroffene Versionen
4.3.3.0, 4.3.3.1, 4.4.0.0 beta1wurde gelöscht
Aktionen