Yes. You need to subcribe to the organizationsNotification webhook. you can get the callbackUrl from calling this endpoint: {{baseUrl}}/notifications/subscriptions
Code Block
language
json
{
"subscriptionId": "6fe17e58-ffb3-4829-ab3d-62f5888f0859",
"callbackUri": "https://play.svix.com/in/e_8c35PkfkLdaGK7Rv5oVfLVySc8b/",
"messageType": {
"id": "OrganizationsNotification" // notifies of changes in any of our locations. If a store goes offline, this should be notified in this webhook
},
"postOfficeOptions": {
"postOfficeType": "PushOnePostOffice"
},
"orgShortName": "uat",
"locRef": "99990",
"rvcRef": "101"
}
]
Expand
title
Answer from Oracle
It might not be possible. Also, there is a cache of up to 15min in STS. In the future we might be able to use the telemetry module, available in early 2025.