Skip to main content

Get Business' Outlets

By calling this API, you can get the list of outlets of a specified Moka POS Business.

GET /integrations/mokapos/businesses/{business_id}/v1/outlets

Path Parameters

AttributeDescriptionTypeRequired
business_idID of a MokaPOS businessStringRequired

Sample Response - 200 Success

{
"success": true,
"data": {
"id": 123,
"outlets": [
{
"id": "G123456",
"expired_at": "2018-01-11T15:33:23.617+07:00",
"name": "Outlet 1",
"address": "Outlet address",
"phone_number": "Outlet phone number",
"city": "outlet city",
"province": "outlet province",
"postal_code": "outlet postal code"
},
{
"id": "G67890",
"expired_at": "2018-01-11T15:33:23.617+07:00",
"name": "Outlet 2",
"address": "Outlet address",
"phone_number": "Outlet phone number",
"city": "outlet city",
"province": "outlet province",
"postal_code": "outlet postal code"
}
]
}
}
note

To perform this operation, you must be authenticated using go_auth_client_credentials(mokapos:reporting:read).