question

KoolUser avatar image
KoolUser asked

SlotStatus purpose

I am not clear about the slotStatus API purpose. The documentation says "When the contents of a slot are consumed, the device must call DRS using the SlotStatus endpoint".

1. I am not clear why a device needs to call the SlotStatus API. What action does DRS take when slotStatus is called? What happens if my device does not call SlotStatus when an item is consumed?

2. The slotStatus request body parameters include onHandQuantity, remainingQuantity and originalQuantity. Why are these quantities needed? Does DRS do some kind of inventory management?

Thanks

api
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 KoolUser,

Thanks for posting! It's been answered here:

https://forums.developer.amazon.com/questions/59312/slotstatus-and-device-status.html

10 |5000

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