question

martin7 avatar image
martin7 asked David Marginian Deactivated commented

Order Line Item QTY

I am fetching orders via the API, but none of the items return a quantity value.

I want to get the qty ordered for the line item. There is only price. Modifications also don't have qty returned.

Is there anyway to get the qty sold for the line item?


Update: How can I filter orders by date created? For example: Get all orders created on April 10th?

The createdTime is accepting timestamp so I assume the time is also included in that timestamp. But I need to get by date.


screenshot.png

Orders
screenshot.png (74.4 KiB)
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

·
David Marginian avatar image
David Marginian Deactivated answered David Marginian Deactivated commented
2 comments
10 |2000

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

martin7 avatar image martin7 commented ·

So if I set unitQty, will that value be returned via the API as shown on the image I attached?

0 Likes 0 ·
David Marginian avatar image David Marginian ♦♦ martin7 commented ·
unit qty only applies to items that are priced by quantity (per gram, etc.). For all other items quantity is represented by how many line items for that particular item exist.
1 Like 1 ·

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