Upsell order
Adds OrderItems to a completed order that is eligible for upsell.
Body
application/jsonMerchantApiKeystringrequiredWill be provided by Qliro Checkout when setting up merchant account
Length:0 <= x <= 50
RequestIdstring, guidUnique request id.
OrderIdinteger, int64requiredQliro Checkout order Id of an already completed order.
UpsellIdstring | nullUnique upsell id for this order. Required for generating upsell links.
CurrencystringrequiredThree uppercase characters, in accordance with ISO 4217.
Length:x >= 1
OrderItemsobject[]requiredList of order items to be added to an existing completed order
MerchantReferencestringrequiredA string generated by the merchant to identify the order item. The combination of MerchantReference and Price Per Item Including Vat is used to uniquely identify the order item. Maximum length is 200 characters.
Length:x >= 1Pattern:^[\p{L}\s(.)'\-_&,\/–+0-9:|]{1,200}$
Descriptionstring | nullA name or description of the order item.
Length:x <= 4000
TypestringrequiredAn order item type can be 'Product', 'Discount', 'Fee' or 'Shipping'.
Length:x >= 1
Quantityinteger, int32requiredThe quantity of item(s) and least quantity is 1.
Range:1 <= x <= 2147483647
PricePerItemIncVatnumber, decimalrequiredThe price per item including Value Added Tax. This can be specified with 0, 1 or 2 decimals, e.g. 99 or 99.9 or 99.99.
PricePerItemExVatnumber, decimalrequiredThe price per item excluding Value Added Tax. This can be specified with 0, 1 or 2 decimals, e.g. 99 or 99.9 or 99.99.
Responses
PaymentTransactionIdinteger, int64 | nullNewly created payment transaction id.
Statusstring | nullNewly created payment transaction status.
UpsellLinkstring | nullIf upsell requires customer interaction or authorization to be completed, this link needs to be opened. PaymentTransactionId and Status is always null if an UpsellLink is returned.
ErrorCodestring | nullUnique error code
DetailedErrorMessagestring | nullDetailed error message
ErrorReferencestring, guidA tracking ID from Qliro Checkout
ErrorCodestring | nullUnique error code
DetailedErrorMessagestring | nullDetailed error message
ErrorReferencestring, guidA tracking ID from Qliro Checkout