question

anthonytran avatar image
anthonytran asked David Marginian Deactivated edited

Delete all testMode orders

I've created an order in testMode using the v3 order create endpoint. In the developer API: https://docs.clover.com/clover-platform/reference#ordergetorders-2 it mentions an endpoint to delete testMode orders.


Whether this order was created in test mode. Payments made against test orders are not processed. Test mode orders can be deleted from the Orders App on the merchant's device or web dashboard (https://www.clover.com/orders/m/{mId}/orders). They will also be deleted when the device sends a POST to the /v2/merchant/{mId}/orders/delete_all_tests endpoint.


I've tried hitting that endpoint (it seems to be a v2 endpoint) and unfortunately it fails with a 401 unauthorized. Is there a way to delete all test orders?

Orders
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 edited

That endpoint can only be called from the device.

They will also be deleted when the device sends a POST


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