question

wisk avatar image
wisk asked bryanvargas edited

Sales disappearing from Clover API

Hello Everyone!

So we poll the Clover API every 30 mins to retrieve any new sales and add these to our database for the particular user, What we are seeing though if we checked the next day and compared the total daily sales on the Clover API to what we had in our database they wouldn't match and we would have more sales in our database somehow and when we go back and check the Clover API to find that sale it no longer exists.

I have an example below, Is there anyway to check and see what happened to this order ID and see where it went as we can no longer see it on the Clover API so it wasn't voided for example but was imported and stored in our database as a closed sale.


"Tito's" with Modifier "Drink" Apr 16th 7:15pm EST with order id=PF60WF2KRAAVW, line id=MA8ATSGFZDG9M and modification id=G32ZAM5X58A00

All and any advice would be great as this isnt a one off example.


Thanks Graeme!

OrdersREST APISale
3 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.

bryanvargas avatar image bryanvargas ♦♦ commented ·

Hey Graeme, we looked at the logs and this order was deleted by the merchant and there was no payment associated with that order.

0 Likes 0 ·
wisk avatar image wisk bryanvargas ♦♦ commented ·
Hey Bryan. When you say deleted, would this be the same as a voided item? or is there another way to completely remove the sale from the POS after its been entered?
0 Likes 0 ·
bryanvargas avatar image bryanvargas ♦♦ wisk commented ·

If you need to get a list of voided items you can use /v3/merchants/{mId}/voided_line_items.

All sales are retrievable even if they were voided with the Get All Payments endpoint: /v3/merchants/{mId}/payments


I would suggest reviewing our https://docs.clover.com/docs to handle order and transaction data.

1 Like 1 ·

1 Answer

·
rhysreed avatar image
rhysreed answered bryanvargas edited

One way to investigate this further would be to check the audit log in the Clover system for any actions taken on the missing orders around the time when they disappeared from the API. You may be able to identify whether they were deleted, updated, or otherwise modified in some way.

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