mws-advanced
mws-advanced copied to clipboard
GetServiceStatus
Hello there 👋
Is there a way to get the status of each MWS service separately?
For example, both the Orders API and the Fulfillment Inventory API contain a GetServiceStatus
operation which returns the operational Status
of the API.
I couldn't find a method that wraps those endpoints, nor a way to specify the API when requesting it via .callEndpoint()
😕
So, I could do:
(async () => {
const results = await mws.callEndpoint('GetServiceStatus');
})();
which returns an object like this:
{ Status: 'GREEN', Timestamp: '2020-07-24T09:52:45.785Z' }
However, it's unclear which API this GetServiceStatus
operation belongs to.