question

Ken Napier avatar image
Ken Napier asked

Simple DRS device - is SNS integration with the device required ? (Cancel use cases)

A simple DRS device just needs to be able to make outbound web service calls to a few DRS end points in order to place a order and update status. This implies that you do not need to be able to tie SNS notifications back into the device in some manner.

The one use case that seems to cause a problem is when the customer cancels the order. The CX guidelines detail receiving the cancel order and then reordering in 5 days. A 2nd cancel stops future orders. It seems you have no way to implement this behavior without the SNS notifications. None of the end points provide order status at this time.

Is this a real requirement ?

Am I missing another way to deal with this ?

dash replenishment service
10 |5000

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

1 Answer

Levon@Amazon avatar image
Levon@Amazon answered

Hi Ken,

Thanks for posting! There is GetOrderInfo API defined in the service model that allows you to get this data. Regrettably, it was missing in the documentation, and we are planning to update it. Basically, when you call GetOrderInfoResult() after the order was cancelled, in "orderItems" you will get "status": "Cancelled". We will update the docs to correct the missing info. Thanks!

10 |5000

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.