question

Vishal avatar image
Vishal asked sam Deactivated commented

API for to get sales

Hi

How can i get sales from POS using API?

Please guide me how to do that?

Does CloverWindowsTransport(C#) project used for getting data from POS using API or JSON?

Kindly do the needful.

Thanks

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.

sam avatar image sam commented ·

Do you want to use our REST API to get order and payment information?

Or are you building a Windows POS that integrates with a Clover Mini using CloverWindowsTransport?

0 Likes 0 ·
Vishal avatar image Vishal commented ·

Hi Sam

Yes I need REST API.

If you wish you can give Windows POS using CloverWindowsTrasport.

Looking forward your reply.

0 Likes 0 ·

1 Answer

sam avatar image
sam Deactivated answered

If I remember correctly, you were implementing a Windows SDK semi-integration with Clover Mini? In this setup, there wouldn't be a situation which should require REST API since all the data should be kept on your Windows POS. Clover Mini should only act as a payment terminal with no knowledge of specific Order/Payment. Could you clarify what you're trying to accomplish?

Anyhow, you could query our Order or Payment endpoints.

Expand order information from the Payment endpoint: https://apisandbox.dev.clover.com:443/v3/merchants/{mid}/payments?expand=order

Or filter orders state=locked will return all orders that have a payment. https://apisandbox.dev.clover.com/v3/merchants/{mid}/orders?filter=state=locked

In order to use our API, you will require an auth_token which can be retrieved using OAuth: https://docs.clover.com/build/oauth-2-0/

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