Hello, I have an issue.I am not getting list of orders line items along with orders list. Is there any way to get line items along with orders list ?
Hello, I have an issue.I am not getting list of orders line items along with orders list. Is there any way to get line items along with orders list ?
You need to use an expansion, please see https://docs.clover.com/docs/expanding-fields and then look at the REST API reference for the request you are making (it will list the expandeable fields).
But it will provide for single order.I need it with list of all orders only.
I am not sure what you are asking, line items belong to an order. If you make a request to the orders endpoint (https://docs.clover.com/reference/orders-1#ordergetorders-2) and expand on lineItems you will receive all orders and each order will have its lineItems.
2 People are following this question.