Bestellung ändern (Transaktion: Order, Operation: UpdateOrder)

Der Käufer entscheidet sich, der Empfehlung zu folgen und die Bremsaußenhülle in schwarz zu bestellen, und zwar die gesamte Bestellmenge, um den Staffelpreis auszunützen. Hierzu übermittelt er die folgende Anfrage.

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 <?xml version="1.0" encoding="iso-8859-1" ?> <UpdateOrderRequest xmlns="urn:veloconnect:order-1.1" xmlns:cbc="urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-1.0" xmlns:cac="urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-1.0" xmlns:vct="urn:veloconnect:transaction-1.0"> <vct:BuyersID>B127645</vct:BuyersID> <vct:Credential><vct:Password>secret</vct:Password></vct:Credential> <vct:TransactionID>order-1</vct:TransactionID> <OrderRequestLine> <cac:SellersItemIdentification> <cac:ID>52090311600</cac:ID> </cac:SellersItemIdentification> <cbc:Quantity quantityUnitCode="MTR">0</cbc:Quantity> <cac:BuyersItemIdentification> <cac:ID>7295</cac:ID> </cac:BuyersItemIdentification> </OrderRequestLine> <OrderRequestLine> <cac:SellersItemIdentification> <cac:ID>52090311100</cac:ID> </cac:SellersItemIdentification> <cbc:Quantity quantityUnitCode="PK">4</cbc:Quantity> <cac:BuyersItemIdentification> <cac:ID>7295</cac:ID> </cac:BuyersItemIdentification> </OrderRequestLine> </UpdateOrderRequest>

 

Der Server antwortet darauf wie zu erwarten.

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 <?xml version="1.0" encoding="iso-8859-1" ?> <OrderResponse xmlns="urn:veloconnect:order-1.1" xmlns:cbc="urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-1.0" xmlns:cac="urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-1.0" xmlns:vct="urn:veloconnect:transaction-1.0"> <vct:BuyersID>B127645</vct:BuyersID> <vct:ResponseCode>200</vct:ResponseCode> <vct:TransactionID>order-1</vct:TransactionID> <vct:StatusCode>2</vct:StatusCode> <OrderResponseLine> <cbc:Quantity quantityUnitCode="PK">5</cbc:Quantity> <cac:Item> <cbc:Description>Speichen DD 2,0x1,8x 263 mm, silber Race,Niro, mit Messingnippel</cbc:Description> <cbc:PackQuantity quantityUnitCode="EA">100</cbc:PackQuantity> <cac:SellersItemIdentification> <cac:ID>42213526300</cac:ID> </cac:SellersItemIdentification> <cac:StandardItemIdentification> <cac:ID identificationSchemeID="EAN/UCC-13">4032191511108</cac:ID> </cac:StandardItemIdentification> <cac:BasePrice> <cbc:PriceAmount amountCurrencyID="EUR">34.90</cbc:PriceAmount> <cbc:BaseQuantity quantityUnitCode="PK">1</cbc:BaseQuantity> </cac:BasePrice> <cac:BasePrice> <cbc:PriceAmount amountCurrencyID="EUR">29.50</cbc:PriceAmount> <cbc:BaseQuantity quantityUnitCode="PK">1</cbc:BaseQuantity> <cbc:MinimumQuantity quantityUnitCode="PK">10</cbc:MinimumQuantity> </cac:BasePrice> <cac:RecommendedRetailPrice> <cbc:PriceAmount amountCurrencyID="EUR">0.70</cbc:PriceAmount> <cbc:BaseQuantity quantityUnitCode="EA">1</cbc:BaseQuantity> </cac:RecommendedRetailPrice> </cac:Item> <cac:UnitPrice amountCurrencyID="EUR">29.50</cac:UnitPrice> <Availability> <Code>available</Code> </Availability> </OrderResponseLine> <OrderResponseLine> <cbc:Quantity quantityUnitCode="PK">2</cbc:Quantity> <cac:Item> <cbc:Description>Bremsinnenzug 1800 mm mit Quernippel</cbc:Description> <cbc:PackSizeNumeric>10</cbc:PackSizeNumeric> <cac:BuyersItemIdentification> <cac:ID>7290</cac:ID> </cac:BuyersItemIdentification> <cac:SellersItemIdentification> <cac:ID>42038057500</cac:ID> </cac:SellersItemIdentification> <cac:StandardItemIdentification> <cac:ID identificationSchemeID="EAN/UCC-13">4032191018164</cac:ID> </cac:StandardItemIdentification> <cac:BasePrice> <cbc:PriceAmount amountCurrencyID="EUR">5.5</cbc:PriceAmount> <cbc:BaseQuantity quantityUnitCode="PK">1</cbc:BaseQuantity> </cac:BasePrice> <cac:BasePrice> <cbc:PriceAmount amountCurrencyID="EUR">4.8</cbc:PriceAmount> <cbc:BaseQuantity quantityUnitCode="PK">1</cbc:BaseQuantity> <cbc:MinimumQuantity quantityUnitCode="PK">2</cbc:MinimumQuantity> </cac:BasePrice> <cac:BasePrice> <cbc:PriceAmount amountCurrencyID="EUR">4.5</cbc:PriceAmount> <cbc:BaseQuantity quantityUnitCode="PK">1</cbc:BaseQuantity> <cbc:MinimumQuantity quantityUnitCode="PK">5</cbc:MinimumQuantity> </cac:BasePrice> <cac:RecommendedRetailPrice> <cbc:PriceAmount amountCurrencyID="EUR">0.99</cbc:PriceAmount> <cbc:BaseQuantity quantityUnitCode="EA">1</cbc:BaseQuantity> </cac:RecommendedRetailPrice> </cac:Item> <cac:UnitPrice amountCurrencyID="EUR">4.80</cac:UnitPrice> <Availability> <Code>available</Code> </Availability> </OrderResponseLine> <OrderResponseLine> <cbc:Quantity quantityUnitCode="PK">4</cbc:Quantity> <cac:Item> <cbc:Description>Shimano Bremsaußenhülle M-System schwarz</cbc:Description> <cbc:PackQuantity quantityUnitCode="MTR">30</cbc:PackQuantity> <cac:BuyersItemIdentification> <cac:ID>7295</cac:ID> </cac:BuyersItemIdentification> <cac:SellersItemIdentification> <cac:ID>52090311100</cac:ID> </cac:SellersItemIdentification> <cac:StandardItemIdentification> <cac:ID identificationSchemeID="EAN/UCC-13">4032191027388</cac:ID> </cac:StandardItemIdentification> <cac:BasePrice> <cbc:PriceAmount amountCurrencyID="EUR">0.96</cbc:PriceAmount> <cbc:BaseQuantity quantityUnitCode="MTR">1</cbc:BaseQuantity> </cac:BasePrice> <cac:BasePrice> <cbc:PriceAmount amountCurrencyID="EUR">0.87</cbc:PriceAmount> <cbc:BaseQuantity quantityUnitCode="MTR">1</cbc:BaseQuantity> <cbc:MinimumQuantity quantityUnitCode="MTR">60</cbc:MinimumQuantity> </cac:BasePrice> <cac:BasePrice> <cbc:PriceAmount amountCurrencyID="EUR">0.79</cbc:PriceAmount> <cbc:BaseQuantity quantityUnitCode="MTR">1</cbc:BaseQuantity> <cbc:MinimumQuantity quantityUnitCode="MTR">90</cbc:MinimumQuantity> </cac:BasePrice> <cac:RecommendedRetailPrice> <cbc:PriceAmount amountCurrencyID="EUR">1.77</cbc:PriceAmount> <cbc:BaseQuantity quantityUnitCode="MTR">1</cbc:BaseQuantity> </cac:RecommendedRetailPrice> </cac:Item> <cac:UnitPrice amountCurrencyID="EUR">23.70</cac:UnitPrice> <Availability> <Code>available</Code> </Availability> </OrderResponseLine> </OrderResponse>