Skip to content

Update items

Updates the items of an order. The OrderItems list replaces the current list, so to remove one item, send all the other items.

For Qliro payment methods, you can update an order that is not cancelled and has at least one item not marked as shipped:

  • Increasing the reserved amount can trigger a credit check, which can decline the request.
  • Items with the same MerchantReference and PricePerItemIncVat can't have different PricePerItemExVat values. Send a changed PricePerItemExVat as a new item.
  • You can't change the PricePerItemExVat or Description of an item that is fully or partly shipped with a different value.

For other payment methods, you can update an order that is not cancelled and has no items marked as shipped. Once any item is shipped, you can't update the order's items.

With the TRUSTLY payment method, an update can create extra transactions. If the order amount changes, Qliro makes a reversal transaction and reports its status like any other order management transaction. If the reversal fails, retry it with Retry reversal payment.

The response only confirms that Qliro received the request. Qliro sends the result in a notification with the PaymentTransactionId.

POSThttps://payments.qliro.com/checkout/adminapi/v2/UpdateItems

Body

application/json
  • RequestIdstring, guid

    A GUID formatted string used to avoid the same request being executed multiple times. The GUID will be stored for 7 days, and during that time, any requests sent with the same GUID will be denied. https://guidgenerator.com/online-guid-generator.aspx

  • MerchantApiKeystringrequired

    Will be provided by Qliro Checkout when setting up merchant account

    Length:0 <= x <= 50

  • OrderIdinteger, int64

    The Qliro Checkout order ID

  • Currencystringrequired

    Three uppercase characters, in accordance with ISO 4217.

    Length:x >= 1

  • Updatesobject[]required

    An array of objects containing the order items and PaymentReference.

Responses

    • PaymentTransactionsobject[] | null