question

niknoori avatar image
niknoori asked gail207martinez commented

How to get deleted Order from clover using SDK or Rest API?

I want to fetch the deleted Order Object when and order is deleted. Using OnOrderUpdateListener I get the deleted Order Id but the Engine does not have the order, OrderConnector.getOrderById() returns null for deleted order. I tried Rest API but it also returns 404 error. This is urgent please help.

OrdersREST APIClover Android SDK
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.

gail207martinez avatar image gail207martinez commented ·

Hello!

To retrieve deleted orders from Clover:


SDK Approach: Use the Intent with action Intents.ACTION_START_ORDER_MANAGE to handle deleted orders.

REST API Approach: Filter requests based on deletedTime.

For voided line items, query the /v3/merchants/{merchantId}/voided_line_items endpoint .

Best Regards,

Charter Panorama Login

1 Like 1 ·

0 Answers

·

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