Get SaaS Locations
GET/saas/saas-locations/:companyId
Fetch all SaaS-activated locations for a company with pagination
Request
Version stringrequired
API Version
Available options
v3companyId stringrequired
page numberrequired
Paginated SaaS-enabled sub-accounts for the company.
- application/json
- Schema
- Example (auto)
Schema
locationsobject[]required
Array of SaaS locations
paginationobjectrequired
{
"locations": [
{
"locationId": "locationId1",
"companyId": "companyId1",
"saasMode": "saasV2",
"subscriptionId": "subscriptionId1",
"customerId": "customerId1",
"name": "John Doe",
"providerLocationId": "r06mdj4OrrERzYDvsOdh",
"isSaaSV2": true,
"subscriptionInfo": {
"priceId": "price_1QDPY5FpU9DlKp7RQ8BXfywx",
"saasPlanId": "66c4d36534f21f900dc2a265",
"stripeProductId": "prod_1QDPY5FpU9DlKp7RQ8BXfywx",
"subscriptionStatus": "active"
}
}
],
"pagination": {
"page": 1,
"limit": 10,
"total": 100,
"totalPages": 10,
"hasNext": true,
"hasPrev": true
}
}