question

Ghalib Soomro avatar image
Ghalib Soomro asked Ghalib Soomro commented

Record are not the same while fetching through REST API/Web Dashboard Agent

Helw I have some questions about Clover Restapi


This request returns only one record:
This request is through web deshboard
https://www.clover.com/orders/m/id/orders


but when putting same url in postman it will show many record here is the link:
this request is using postman
https://www.clover.com/v3/merchants/id/orders

also am attaching both fetched records please tell us how we get both record same is there any mistake we are doining???
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.

Ghalib Soomro avatar image Ghalib Soomro commented ·
any help would be appreciated.... :)
0 Likes 0 ·
zgreathouse avatar image
zgreathouse Deactivated answered Ghalib Soomro commented
If I understand you correctly, using the Web Dashboard and the API Endpoint you have requested orders from the last 30 days. The API Endpoint is giving you a response with 2000+ records and viewing your orders from the Web Dashboard is getting you only 700+.

What I would conclude from this is that you may not be filtering correctly on the API endpoint in postman. Could you provide the full endpoint (with filter) that you are using in Postman to get all the orders from the last 30 days?
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.

Ghalib Soomro avatar image Ghalib Soomro commented ·

yes you are right issue resolved....thankyou :)

1 Like 1 ·
markwine avatar image
markwine answered Ghalib Soomro commented
The web dashboard defaults to a filter of only today's orders. Could that be it?
10 |2000

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