question

salmanwelji avatar image
salmanwelji asked salmanwelji commented

im working on to fetch data using APIs but i cant see the qty

im working on to fetch data using APIs but i cant see any column that shows me quantity.
REST API
1 comment
10 |2000

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

zgreathouse avatar image zgreathouse commented ·

Please review our Asking & Answering Questions Guide.

I need a bit more context to help you out here. What endpoint of our API are you calling?

0 Likes 0 ·
Lee Tickett avatar image
Lee Tickett answered salmanwelji commented
From memory I don't think you will see the quantity. If you order 10 of something then there will be 10 lineitems attached to the order.

The only exception to this rule is with variable price items (like charged by weight etc).

Hope that helps.
1 comment
10 |2000

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

salmanwelji avatar image salmanwelji commented ·

thanks Lee

0 Likes 0 ·
Corey avatar image
Corey answered salmanwelji edited
Hi @salman.welji@infodatinc.com,
If you're referring to stock in the inventory you will need to expand the fetch query using itemstock.

The request URL should look something like.

https://api.clover.com:443/v3/merchants/{merchant_id}/items?expand=itemStock
1 comment
10 |2000

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

salmanwelji avatar image salmanwelji commented ·

no i was not refering as stock item but i think qty is the line item, Thanks for the reply, really appriciated

0 Likes 0 ·

Welcome to the
Clover Developer Community