Core API Documentation
Franchisees
Front
GET /api/v2/front/business/franchisees
Returns the basic details of franchisees for a business.
REQUEST
$ curl https://mybiz.pike13.com/api/v2/front/business/franchisees?client_id=XXXXXXXXXXXXXX
RESPONSE
{
"franchisees": [
{
"id": 1,
"name": "My Biz - Seattle",
"subdomain": "mybiz-seattle",
"default_locale": "en",
"currency_code": "USD",
"website": "http://www.pike13.com",
"email_address": null,
"phone": "555-555-5555",
"timezone": "America/Los_Angeles",
"is_franchise": false
},
{
"id": 2,
"name": "My Biz - New York",
"subdomain": "mybiz-newyork",
"default_locale": "en",
"currency_code": "USD",
"website": "http://www.pike13.com",
"email_address": null,
"phone": "555-555-5555",
"timezone": "America/New_York",
"is_franchise": false
}
]
}
Desk
GET /api/v2/desk/business/franchisees
Returns the basic details of franchisees for a business.
REQUEST
$ curl https://mybiz.pike13.com/api/v2/desk/business/franchisees \
-H "Authorization: Bearer XXXXXXXXXXXXXXX"
RESPONSE
{
"franchisees": [
{
"id": 1,
"name": "My Biz",
"subdomain": "mybiz",
"default_locale": "en",
"currency_code": "USD",
"website": "http://www.pike13.com",
"email_address": null,
"phone": "555-555-5555",
"timezone": "America/Los_Angeles",
"created_at": "2014-09-12T16:00:00Z",
"updated_at": "2016-06-24T16:00:00Z",
"is_franchise": false
},
{
"id": 2,
"name": "My Biz - New York",
"subdomain": "mybiz-newyork",
"default_locale": "en",
"currency_code": "USD",
"website": "http://www.pike13.com",
"email_address": null,
"phone": "555-555-5555",
"timezone": "America/New_York",
"created_at": "2014-09-12T16:00:00Z",
"updated_at": "2016-06-24T16:00:00Z",
"is_franchise": false
}
]
}