POST /api/public/v1/organization/createLocation

Changed on

Adds a Location, its menu address derived from the name. Refused with FORBIDDEN and refusal locationLimitReached when the plan states a locations limit that is reached and limits are enforced. In a region that lists its time zones (Russia today), a timeZone outside that list is refused with BAD_REQUEST and refusal timeZoneNotOffered, and a Location created without one starts on the region's default zone. An ownerPhone without a calling code is read in the first country the caller's regions dial; one dialled in a country none of them offer is refused with BAD_REQUEST and refusal phoneCountryNotOffered. Refused with FORBIDDEN and refusal billingReadOnly once an overdue subscription's grace has run out, and subscriptionEnded once the business's verified base plan has ended with no eligible base in its place. Either refusal is lifted for this operation's category by an active plan grant whose plan allows it, which does not change the subscription's own standing.

Request

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

Request body

object required
organizationId, string required
name, string required
addressLine, string nullable
category, 'restaurant' | 'coffee_shop' | 'cafeteria' | 'bakery_sweets' | 'bistro' | 'fast_street_food' | 'bar'
businessHours, object[]
phone, string nullable
description, string nullable
website, string nullable
menuUrl, string nullable
googleMenuRemoved, boolean
placeId, string
ownerPhone, string
timeZone, string

Response

OK

unknown required

Changes