The following only give me one line of the order, what should i do to fix it to get correct quantity of the item?
The following only give me one line of the order, what should i do to fix it to get correct quantity of the item?
It looks like the ui is grouping the items, have you tried hitting the "Ungroup line items" link above and to the right of the table?
but when I use API to get this order, it only returns one line instead of 3 lines:
I am not sure what API you are calling, but 3 line items are returned if you call the orders/{orderId} endpoint and expand on lineItems. Checkout the call in the network tab from the dashboard to confirm this.
1 Person is following this question.