When an App subscribes or unsubscribes to a location via the Doshii API or Doshii Dashboard, the App will be notified with the following event.
EVENT location_subscription
Parameters
Field | Type | Description | ||||||
---|---|---|---|---|---|---|---|---|
id | String |
Unique hashed id for this Location. See Hashed Location IDs |
||||||
locationId | String |
Unique hashed id for this Location. See Hashed Location IDs |
||||||
mappedLocationId | String |
A unique ID assigned by the App that refers to the Location. |
||||||
status | String |
The current status of the subscription.
|
||||||
uri | String |
The Location details url |
Example
Event
{
"event": "location_subscription",
"data": {
"id": "aH43yx2",
"locationId": "aH43yx2",
"mappedLocationId": "1354",
"status": "subscribed",
"uri": "https://sandbox.doshii.co/partner/v3/locations/aH43yx2"
}
}
Comments
0 comments
Please sign in to leave a comment.