Changing the order amount
There can be many reasons why an order amount needs to be changed after the initial order creation. Currently, the amount of all orders via Billie can only be lowered (not raised).
Changing the amount
To change the amount of an order, you can use the Update Order call. In this call, you are submitting the new amount for this specific order. If the amount is lower than the original amount, the order amount will be adjusted to the new amount. If the amount is higher then the original amount, the additional amount will be validated like a new order and if successful, the order amount will be adjusted to the new amount.
After lowering the amount of this specific order, the new amount becomes the maximum that you can capture based on this order. This means that, if you were to lower the amount for a second time, it would have to be lower than the amount you lowered it to the first time.
Partially captured order:
If you have an order that was partly captured and you want to release the remaining amount, you can use the Cancel Order call. With that, the open amount of the order will be reduced to zero and the order will change to the state shipped.
You will be using the following API calls:
Updated 7 months ago