Before delivery
Get order
Get order returns the order information you need to manage the order.
For request and response parameters and error codes, see the API Reference.
How to
- Send a GET request to
checkout/adminapi/v2/orders/{OrderId}. - Read the response.
Update merchant reference
If you created the order with a temporary merchant reference, you can update the reference after the order is placed.
For request and response parameters and error codes, see the API Reference.
How to
- Create a request ID with a GUID generator.
- Send a POST request to
checkout/adminapi/v2/updatemerchantreference. - Process the response. It confirms that Qliro received the request. It includes a new
PaymentTransactionIDand the status code "created". - Receive the notification. Qliro sends a notification with the final status and the matching
PaymentTransactionID.
Good to know
- If the customer paid with a Qliro payment method, Qliro creates a new transaction. The response then includes the new
PaymentTransactionID. - For other payment methods, a successful update returns only a 200 OK status code.
Cancel order
You can cancel an order that still has a reserved amount and items that are not marked as shipped.
For request and response parameters and error codes, see the API Reference.
How to
- Create a request ID with a GUID generator.
- Send a POST request to
checkout/adminapi/v2/cancelorder. - Process the response. It confirms that Qliro received the request and includes a
PaymentTransactionID. - Receive the notification. Qliro sends a notification with the status and the matching
PaymentTransactionID.
Good to know
- Cancelling an order paid with the TRUSTLY payment method creates an additional refund transaction.
Update items
Use update items to update a completed order with new items.
For request and response parameters and error codes, see the API Reference.
How to
- Create a request ID with a GUID generator.
- Send a POST request to
checkout/adminapi/v2/updateitems. - Process the response. It confirms that Qliro received the request and includes a
PaymentTransactionID. - Receive the notification. Qliro sends a notification with the status and the matching
PaymentTransactionID.
Good to know
- Updating an order paid with the TRUSTLY payment method can create an additional transaction.
Mark items as shipped
For most payment methods, marking items as shipped leads to a capture or activation and a money transfer.
For request and response parameters and error codes, see the Mark items as shipped API Reference.
How to
- Create a request ID with a GUID generator.
- Send a POST request to
checkout/adminapi/v2/markitemsasshipped. - Process the response. It confirms that Qliro received the request and includes a
PaymentTransactionID. - Receive the notification. Qliro sends a notification with the status and the matching
PaymentTransactionID.
Good to know
- To activate part of the order, send only those order items in the request.