Перейти до основного вмісту

BusinessResponseDto

idnumberrequired

ID бизнеса

Example: 1
namestringrequired

Название бизнеса

Example: Beauty Salon
descriptionobjectnullablerequired

Описание бизнеса

Example: Лучший салон красоты в городе
timezoneobjectnullablerequired

Часовой пояс

Example: Europe/Kyiv
addressobjectnullablerequired

Адрес бизнеса

Example: ул. Крещатик, 1
cityobjectnullablerequired

Город

Example: Киев
countryobjectnullablerequired

Страна

Example: Украина
postalCodeobjectnullablerequired

Почтовый индекс

Example: 01001
latitudeobjectnullablerequired

Широта (latitude) для отображения на карте

Example: 50.4501
longitudeobjectnullablerequired

Долгота (longitude) для отображения на карте

Example: 30.5234
avatarstring

URL аватарки бизнеса (WebP формат)

Example: https://cdn.example.com/avatars/business/1/avatar.webp
avatarThumbnailstring

URL thumbnail аватарки бизнеса

Example: https://cdn.example.com/avatars/business/1/avatar_thumb.webp
coverstring

URL обложки/баннера бизнеса (WebP формат)

Example: https://cdn.example.com/covers/business/1/cover.webp
coverThumbnailstring

URL thumbnail обложки бизнеса

Example: https://cdn.example.com/covers/business/1/cover_thumb.webp
createdAtstring<date-time>required

Дата создания

Example: 2024-01-01T00:00:00.000Z
updatedAtstring<date-time>required

Дата обновления

Example: 2024-01-01T00:00:00.000Z
BusinessResponseDto
{
"id": 1,
"name": "Beauty Salon",
"description": "Лучший салон красоты в городе",
"timezone": "Europe/Kyiv",
"address": "ул. Крещатик, 1",
"city": "Киев",
"country": "Украина",
"postalCode": "01001",
"latitude": 50.4501,
"longitude": 30.5234,
"avatar": "https://cdn.example.com/avatars/business/1/avatar.webp",
"avatarThumbnail": "https://cdn.example.com/avatars/business/1/avatar_thumb.webp",
"cover": "https://cdn.example.com/covers/business/1/cover.webp",
"coverThumbnail": "https://cdn.example.com/covers/business/1/cover_thumb.webp",
"createdAt": "2024-01-01T00:00:00.000Z",
"updatedAt": "2024-01-01T00:00:00.000Z"
}