question

faaque avatar image
faaque asked parquet76 answered

API returns multiple line items in an order

An order with ID 4A86F862Y2J6J has a line item ID ABPGZ7F5H19ZP that shows 5 quantities on the UI. However, the orders API is returning this line item multiple times, each with a quantity of 1, instead of displaying it as a single item with 5 quantities.

Could you clarify why the API is returning the same line item multiple times?

image-Sep-20-2024-07-24-43-2240-PM.png

OrdersLineItems
10 |2000

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

1 Answer

·
parquet76 avatar image
parquet76 answered

That's the way the API works.

10 |2000

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Welcome to the
Clover Developer Community