Update Location

Updates the location's data

post-api/locations/{id}/update

https://api.oauth.pabau.com/{api_key}/locations/{id}/update

 

Request

 

Query Parameters:

api_key*

id*                                                                 Int

location_name*                                            String

address                                                         String

street                                                            String

city                                                               String

county                                                          String

postcode                                                      String

can_book_online                                          Int

phone                                                           String

website                                                         String

is_active                                                       Int 

bookable_online                                           Int

can_book_calendar                                      Int

is_default                                                      Int

email                                                            String

send_conf_email                                          Int

show_online                                                 Int

loc_order                                                      Int

region                                                           String

color                                                             String

notice                                                           String

image                                                           String

working_hours                                             Array

Working Hours array:

day_name                                                    String

opening_hours                                             String

closing_hours                                              String

closed                                                           Int

location_id                                                    Int

company_id                                                  Int

 

Response sample

application/json

 

{
"status": true,
"message": "Location updated successfully!"
}