POST /api/public/v1/organization/updateLocation

Changed on

Writes every editable field of one Location, so a caller sends the untouched ones too. In a region that lists its time zones (Russia today), a timeZone outside that list is refused with BAD_REQUEST and refusal timeZoneNotOffered unless it is the zone the Location already reads, UTC for one without a zone.

Request

  • Base URL
    https://app.fortuneos.ai
  • Auth
    none declared

Request body

object required
locationId, string required
name, string required
slug, string nullable required
addressLine, string nullable required
description, string nullable required
phone, string nullable required
labels, string[] required
businessHours, object[] nullable required
timeZone, string required
isTwentyFourHourClock, boolean
requestStartingCashBalance, boolean
multiLoginEnabled, boolean
autoLogoutEnabled, boolean

Response

OK

unknown required

Changes