WellnessLiving API (UAT) - v1.2026-02
  1. business-data
WellnessLiving API (UAT) - v1.2026-02
  • WellnessLiving API - [Feb-2026]
  • Auth
    • Authentication
  • appointment
    • /v1/appointment/book/asset/category
    • /v1/appointment/book/asset/list
    • /v1/appointment/book/asset/service
    • /v1/appointment/book/finish
    • /v1/appointment/book/finish
    • /v1/appointment/book/payment/paymentPost
    • /v1/appointment/book/product
    • /v1/appointment/book/schedule/calendar
    • /v1/appointment/book/schedule/day-time
    • /v1/appointment/book/service/category
    • /v1/appointment/book/service/list
    • /v1/appointment/book/staff/list
  • book-process
    • /v1/book/process/info
    • /v1/book/process/payment
    • /v1/book/process/purchase
    • /v1/book/process/purchase/element/list
  • business-data
    • /v1/business
      GET
    • /v1/business/franchise/location
      GET
    • /v1/business/skin
      GET
  • catalog
    • /v1/catalog/list
    • /v1/catalog/staff/catalog/list
  • classes
    • /v1/classes/list
    • /v1/classes/promotion
    • /v1/classes/view/element
  • collector-debt
    • /v1/collector/debt/list
    • /v1/collector/debt/pay
    • /v1/collector/debt/transaction
  • drive
    • /v1/drive/product/image/upload
  • ecommerce
    • /v1/ecommerce/order/sync
  • event
    • /v1/event/book/list
    • /v1/event/book/view/element
    • /v1/event/list
  • lead
    • /v1/lead/info
    • /v1/lead/info
  • location
    • /v1/location/list
    • /v1/location/view
  • login
    • /v1/login/attendance/list
    • /v1/login/search/settings
    • /v1/login/search/settings
    • /v1/login/search/staff-app/list
  • member
    • /v1/member/info
  • profile
    • /v1/profile/contract
    • /v1/profile/create
    • /v1/profile/fields
    • /v1/profile/purchase/list
    • /v1/profile/purchase/list/element
  • promotion
    • /v1/promotion
    • /v1/promotion/list
  • purchase
    • /v1/purchase/receipt
  • report
    • /v1/report/data
    • /v1/report/query
  • report-dev
    • /v1/report/customization-form
    • /v1/report/filter-info
  • schedule
    • /v1/schedule/class/list
    • /v1/schedule/class/view
    • /v1/schedule/class/view
    • /v1/schedule/page/element
    • /v1/schedule/page/list
    • /v1/schedule/tab
  • shop
    • /v1/shop/category
  • staff
    • /v1/staff/list
    • /v1/staff/view
  • user
    • /v1/user
  • visit
    • /v1/visit/status
  1. business-data

/v1/business/franchise/location

GET
/v1/business/franchise/location

Overview#

Fetches locations for the UAT franchise business (BID 49197) scoped to region 2. This endpoint is typically used to retrieve location metadata for a franchisor context, including optional non-API locations and churned locations.

Authentication#

Requires a valid bearer token supplied via the TOKEN variable.
Ensure the Authorization header is set to something like:

Query Parameters#

id_region (number, required)
Region identifier to filter locations.
Example: 2.
k_business (number, required)
Business ID (BID) for which to retrieve locations.
Example: 49197.
is_include_non_api (boolean, optional)
When true, includes locations that are not normally exposed via the public API.
When false or omitted, only standard API-exposed locations are returned.
is_include_churn (boolean, optional)
When true, includes churned / inactive locations in the response.
When false or omitted, only active locations are returned.

Responses#

200 OK – Successful response. May contain either location data or an error payload.
Business not franchisor error (example in 200 body)
{
  "a_error": [
    {
      "html_message": "Business is not franchisor.",
      "id": null,
      "s_field": null,
      "s_message": "Business is not franchisor.",
      "sid": "business-not-franchisor"
    }
  ],
  "class": "Core\\Request\\Api\\DebugException",
  "code": null,
  "message": "Business is not franchisor.",
  "status": "business-not-franchisor"
}
This indicates the requested k_business is not configured as a franchisor, even though the HTTP status is 200.

Notes#

This endpoint is targeted for UAT use for business 49197 and region 2.
Always inspect the status and a_error fields in the JSON body to detect logical errors, even when the HTTP status code is 200.

Request

Query Params

Responses

🟢200
application/json
Body

Request Request Example
Shell
JavaScript
Java
Swift
curl --location -g --request GET '/v1/business/franchise/location?id_region={{id_region}}&k_business={{k_business}}&is_include_non_api=true&is_include_churn=true' \
--header 'Content-Type: text/plain' \
--data-raw ''
Response Response Example
{}
Modified at 2026-02-26 17:13:05
Previous
/v1/business
Next
/v1/business/skin
Built with