When an App subscribes or unsubscribes to a location via the Doshii API or Doshii Dashboard, the location will be notified with the following event.
EVENT app_subscribed
Parameters
Field | Type | Description | ||||||
---|---|---|---|---|---|---|---|---|
id | Number |
The unique ID representing the App that has recently subscribed or unsubcribed from this location. |
||||||
status | String |
The current status of the subscription.
|
||||||
uri | String |
The App details url |
Example
Event
{
"event": "app_subscribed",
"data": {
"id": 123
"status": "subscribed"
"uri": "https://sandbox.doshii.co/pos/v3/apps/123"
}
}
Comments
0 comments
Please sign in to leave a comment.