Location Object


Properties
addressAddress

Address.


archivedbooleanRead-only

Whether the location is archived. Archived locations can't be updated. Note: Archiving a location doesn't affect its status.


businessScheduleBusinessSchedule

Business schedule. Array of weekly recurring time periods when the location is open for business. Limited to 100 time periods.

Note: Not supported by Wix Bookings.


defaultbooleanRead-only

Whether this is the default location. There can only be one default location per site. The default location can't be archived.


descriptionstringmaxLength 500

Location description.


emailstring

Email address.


extendedFieldsExtendedFields

Extended fields for data extensions.


faxstring

Fax number.


idstringRead-onlyformat GUID

Location ID.


locationTypestringdeprecated

Location type.

Note: Currently not supported.


locationTypesArray <string>maxItems 10

Location types.


namestringmaxLength 150

Location name.


phonestring

Phone number.


revisionstringformat int64

Revision number, which increments by 1 each time the location is updated. To prevent conflicting changes, the existing revision must be used when updating a location.


statusstring

Location status. Defaults to ACTIVE. Notes:

  • Archiving a location doesn't affect the location's status.
  • INACTIVE status is currently not supported.

timeZonestring

Timezone in America/New_York format.

Did this help?