Get Location IDs for a Tenant (Trusted Partners Only)
This endpoint is available to Meevo Trusted Partners only.
A location ID is needed to activate a location for DDS and to request an entity's deltas from that location. You can obtain a location ID for a tenant using the endpoint below.
Obtaining location IDs within a tenant
To get API location IDs for a tenant, send a GET request to the route below, including the tenantId in the call.
Endpoint
GET {{MarketplaceURL}}/apps/partner/locations/{{tenantId}}
Example call
The exampe below uses the Test Bed Marketplace URL (https://d18devmarketplace.meevodev.com). When the solution goes live, you will use the Production Marketplace URL.
GET https://d18devmarketplace.meevodev.com/apps/partner/locations/1
Example response
In the response, the locationId is the ID you'll use to activate the location or request entity deltas from the location.
{
{
"locationId": 9,
"storeName": "John's Salon"
,
}
"locationId": 10,
"storeName": "Bob's Salon"
}
}