Change the contents of an Authorized but not Captured order. Use this call to add or remove items in an existing Order, without creating a new orderNumber. You must provide the entire body of the query, in the same format as Authorize, including all Order Items. (If you added an item, Update Order must contain previously Authorized items as well. If you removed an item, Update Order must contain the new full list of Order Items.) If the TotalGrossAmount has increased compared to the Authorize call for this orderNumber, a new Risk Check will be made for the additional amount. If the additional Risk Check returns a rejection, the original Authorize will remain valid.
POST /api/v3/orders/{orderNumber}/updateOrder
application/json
EUR
NOK
SEK
DKK
CHF
Internet
Catalog
CallCenter
Stationary
Other
Normal
Express
NotSet
PickUp
Post
Phone
Mr
Mrs
Miss
EUR
NOK
SEK
DKK
CHF
NotSet
Cancellation
Travel
CancellationTravel
Bankruptcy
EUR
NOK
SEK
DKK
CHF
Mr
Mrs
Miss
EUR
NOK
SEK
DKK
CHF
NotSet
Cancellation
Travel
CancellationTravel
Bankruptcy
EUR
NOK
SEK
DKK
CHF
Mr
Mrs
Miss
EUR
NOK
SEK
DKK
CHF
NotSet
Cancellation
Travel
CancellationTravel
Bankruptcy
EUR
NOK
SEK
DKK
CHF
Mr
Mrs
Miss
EUR
NOK
SEK
DKK
CHF
NotSet
Cancellation
Travel
CancellationTravel
Bankruptcy
EUR
NOK
SEK
DKK
CHF
required in
DE
DK
NL
required in
DK
NL
required in
NL
required in
DE
DK
NL
NO
required in
DE
DK
NL
NO
SE
FI
DK
DE
AT
CH
NL
BE
required in
DE
DK
NL
required in
DK
NL
required in
NL
required in
DE
DK
NL
NO
required in
DE
DK
NL
NO
SE
FI
DK
DE
AT
CH
NL
BE
required in
FI
SE
NO
DK
required in
DE
DK
NL
required in
DK
NL
required in
NL
required in
DE
DK
NL
NO
required in
DE
DK
NL
NO
SE
FI
DK
DE
AT
CH
NL
BE
required in
DE
AT
CH
NotSet
Advertisment
SocialNetwork
Direct
SearchEngine
Other
Mr
Mrs
Miss
required in
DE
AT
CH
BE
NL
SE
FI
required in
BE
NL
required in
BE
NL
Company
Person
NO
SV
FI
DA
EN
DE
NL
FR
Paper
Sms
required in
DE
AT
CH
EUR
NOK
SEK
DKK
CHF
required in
DE
DK
NL
required in
DK
NL
required in
NL
required in
DE
DK
NL
NO
required in
DE
DK
NL
NO
SE
FI
DK
DE
AT
CH
NL
BE
required in
FI
SE
NO
DK
required in
DE
DK
NL
required in
DK
NL
required in
NL
required in
DE
DK
NL
NO
required in
DE
DK
NL
NO
SE
FI
DK
DE
AT
CH
NL
BE
required in
DE
AT
CH
NotSet
Advertisment
SocialNetwork
Direct
SearchEngine
Other
Mr
Mrs
Miss
required in
DE
AT
CH
BE
NL
SE
FI
required in
BE
NL
required in
BE
NL
Company
Person
NO
SV
FI
DA
EN
DE
NL
FR
Paper
Sms
required in
DE
AT
CH
EUR
NOK
SEK
DKK
CHF
PhysicalArticle
DigitalArticle
GiftCard
Discount
ShippingFee
Surcharge
Info
Subscription
HighCategory
LowCategory
NullCategory
NoCategory
MiddleCategory
OtherCategory
Accepted
Pending
Rejected
BusinessError
TechnicalError
NotificationMessage
Unavailable
AskConsumerToConfirm
AskConsumerToReEnterData
OfferSecurePaymentMethods
RequiresSsn
AskConsumerToIdentify
ManualReview
BusinessError
TechnicalError
NotificationMessage
Unavailable
AskConsumerToConfirm
AskConsumerToReEnterData
OfferSecurePaymentMethods
RequiresSsn
AskConsumerToIdentify
ManualReview
{
"updateOrderSummary": {
"totalNetAmount": 239.41,
"totalGrossAmount": 285,
"currency": "EUR",
"items": [
{
"productId": "4534-BLK-M",
"description": "Leather jacket, Black, size M",
"grossUnitPrice": 100,
"netUnitPrice": 84,
"quantity": 2,
"vatPercent": 19,
"vatAmount": 16,
"imageUrl": "https://developer-sandbox.riverty.com/images/black_leather_jacket.jpg"
},
{
"productId": "5745-GRY-M",
"description": "Socks, Grey, Size M",
"grossUnitPrice": 10,
"netUnitPrice": 8.4,
"quantity": 5,
"vatPercent": 19,
"vatAmount": 1.6,
"imageUrl": "https://developer-sandbox.riverty.com/images/grey_socks.jpg"
},
{
"productId": "3323-BRN-M",
"description": "Woolen hat, brown, Size M",
"grossUnitPrice": 30,
"netUnitPrice": 25.21,
"quantity": 1,
"vatPercent": 19,
"vatAmount": 4.79,
"imageUrl": "https://developer-sandbox.riverty.com/images/brown_wool_hat.jpg"
},
{
"productId": "SHIP",
"description": "Shipping",
"type": "ShippingFee",
"grossUnitPrice": 5,
"netUnitPrice": 4.2,
"quantity": 1,
"vatPercent": 19,
"vatAmount": 0.8
}
]
}
}
{
"outcome": "Accepted",
"reservationId": "f76c54b6-7183-4d19-8d2b-292ed93ca96d",
"checkoutId": "e0dd7344-fa0a-4a15-9004-6969fc411957",
"expirationDate": "2023-10-28"
}
{
"updateOrderSummary": {
"totalNetAmount": 155.41,
"totalGrossAmount": 185,
"currency": "EUR",
"items": [
{
"productId": "4534-BLK-M",
"description": "Leather jacket, Black, size M",
"grossUnitPrice": 100,
"netUnitPrice": 84,
"quantity": 2,
"vatPercent": 19,
"vatAmount": 16,
"imageUrl": "https://developer-sandbox.riverty.com/images/black_leather_jacket.jpg"
},
{
"productId": "5745-GRY-M",
"description": "Socks, Grey, Size M",
"grossUnitPrice": 10,
"netUnitPrice": 8.4,
"quantity": 5,
"vatPercent": 19,
"vatAmount": 1.6,
"imageUrl": "https://developer-sandbox.riverty.com/images/grey_socks.jpg"
},
{
"productId": "3323-BRN-M",
"description": "Woolen hat, brown, Size M",
"grossUnitPrice": 30,
"netUnitPrice": 25.21,
"quantity": 1,
"vatPercent": 19,
"vatAmount": 4.79,
"imageUrl": "https://developer-sandbox.riverty.com/images/brown_wool_hat.jpg"
},
{
"productId": "SHIP",
"description": "Shipping",
"type": "ShippingFee",
"grossUnitPrice": 5,
"netUnitPrice": 4.2,
"quantity": 1,
"vatPercent": 19,
"vatAmount": 0.8
}
]
}
}
[
{
"type": "BusinessError",
"code": "400.101",
"message": "TotalNetAmount doesn't match with items prices.",
"customerFacingMessage": "TotalNetAmount komt niet overeen met de itemprijzen.",
"actionCode": "Unavailable",
"fieldReference": "updateOrderSummary.totalNetAmount"
},
{
"type": "BusinessError",
"code": "400.102",
"message": "Order gross amount doesn't match with items prices.",
"customerFacingMessage": "Order gross amount doesn't match with items prices.",
"actionCode": "Unavailable",
"fieldReference": "updateOrderSummary.totalGrossAmount"
}
]