Update session

To update an existing session, refer back to the session you initiated with Create session. The fields totalOrderAmount, totalOrderVatAmount, and totalOrderAmountExclVat are essential for the update.

If you’re adding new order lines, ensure you also update the corresponding total amounts as demonstrated in the following example. Be aware that adding new order lines will clear out any existing ones in the session, replacing them with the newly provided lines.