mws-advanced icon indicating copy to clipboard operation
mws-advanced copied to clipboard

GetServiceStatus

Open over-engineer opened this issue 3 years ago • 4 comments

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.

over-engineer avatar Jul 24 '20 09:07 over-engineer