I'm trying to create a custom order with an employee ID and them I'm adding a line item to the order . The line item is getting updated but the order total is still Zero. I'm trying to do these with REST API
I'm trying to create a custom order with an employee ID and them I'm adding a line item to the order . The line item is getting updated but the order total is still Zero. I'm trying to do these with REST API
@ geometry dash scratch: No, you don't need to pass order total also while adding a line item through Rest API custom order.
If you are creating a custom order, you are responsible for setting the total, https://docs.clover.com/docs/creating-custom-orders and https://docs.clover.com/docs/calculating-order-totals.
Yes, when adding a line item through the REST API, you typically need to update the order total separately. Think of it as ensuring solar panel are correctly aligned for maximum efficiency.
10 People are following this question.