Salta ai contenuti

createUpdateExperience

POST
/v2/experiences
curl --request POST \
--url https://api-crm-staging.divinea.com/api/v2/experiences \
--header 'APIKey: <APIKey>' \
--header 'Content-Type: application/json' \
--data '{ "acceptPaypalPayments": true, "acceptStripePayments": true, "active": true, "additionalQuestions": [ { "questionId": "2489E9AD-2EE2-8E00-8EC9-32D5F69181C0", "required": true, "sortOrder": 1 } ], "antecedence": 1, "category": "example", "channels": { "additionalProperty": "example" }, "color": "example", "daysForAutomaticApprove": 1, "descriptionTranslations": { "additionalProperty": "example" }, "duration": "example", "employeeId": "example", "enableGifts": true, "experienceColor": "example", "experienceIntegrations": [ { "connectedToWinelivery": true, "defaultLanguage": "example", "experienceId": "2489E9AD-2EE2-8E00-8EC9-32D5F69181C0", "externalId": 1, "integrationData": "example", "integrationId": "2489E9AD-2EE2-8E00-8EC9-32D5F69181C0", "integrationOptions": "example", "wineryId": "2489E9AD-2EE2-8E00-8EC9-32D5F69181C0" } ], "experiencePriceExtrasAttributes": { "additionalProperty": { "descriptionTranslations": { "additionalProperty": "example" }, "extraMetadata": {}, "id": 1, "position": 1, "priceCents": 1, "priceCurrency": "example", "titleTranslations": { "additionalProperty": "example" } } }, "experiencePriceLabelsAttributes": { "additionalProperty": { "descriptionTranslations": { "additionalProperty": "example" }, "id": 1, "position": 1, "priceCents": 1, "priceCurrency": "example", "titleTranslations": { "additionalProperty": "example" } } }, "fiscalNatureId": "2489E9AD-2EE2-8E00-8EC9-32D5F69181C0", "flatTranslations": { "acceptPaypalPayments": true, "acceptStripePayments": true, "active": true, "antecedence": { "nano": 1, "negative": true, "seconds": 1, "units": [ { "dateBased": true, "duration": { "nano": 1, "negative": true, "seconds": 1, "units": [], "zero": true }, "durationEstimated": true, "timeBased": true } ], "zero": true }, "color": "example", "daysForAutomaticApprove": 1, "descriptionTranslationId": "example", "descriptionTranslations": { "labelKey": "example", "languagesPresent": [ "SPANISH" ], "translations": [ { "label": "example", "language": "SPANISH", "languageISO": "example" } ] }, "descriptions": [ { "experienceId": "2489E9AD-2EE2-8E00-8EC9-32D5F69181C0", "id": 1, "languageIsoCode": "example", "longText": "example", "shortLabel": "example", "text": "example", "translationId": "example" } ], "duration": "example", "enableGifts": true, "experienceId": "2489E9AD-2EE2-8E00-8EC9-32D5F69181C0", "fiscalNatureId": "2489E9AD-2EE2-8E00-8EC9-32D5F69181C0", "giftOnly": true, "inquiry": true, "instantBooking": true, "interval": { "nano": 1, "negative": true, "seconds": 1, "units": [ { "dateBased": true, "duration": { "nano": 1, "negative": true, "seconds": 1, "units": [], "zero": true }, "durationEstimated": true, "timeBased": true } ], "zero": true }, "maxParties": 1, "metaDescriptionTranslationId": "example", "metaDescriptionTranslations": { "labelKey": "example", "languagesPresent": [ "SPANISH" ], "translations": [ { "label": "example", "language": "SPANISH", "languageISO": "example" } ] }, "metaDescriptions": [ { "experienceId": "2489E9AD-2EE2-8E00-8EC9-32D5F69181C0", "id": 1, "languageIsoCode": "example", "longText": "example", "shortLabel": "example", "text": "example", "translationId": "example" } ], "metaTitleTranslationId": "example", "metaTitleTranslations": { "labelKey": "example", "languagesPresent": [ "SPANISH" ], "translations": [ { "label": "example", "language": "SPANISH", "languageISO": "example" } ] }, "metaTitles": [ { "experienceId": "2489E9AD-2EE2-8E00-8EC9-32D5F69181C0", "id": 1, "languageIsoCode": "example", "longText": "example", "shortLabel": "example", "text": "example", "translationId": "example" } ], "minPartiesToEnable": 1, "noteId": "example", "notes": { "labelKey": "example", "languagesPresent": [ "SPANISH" ], "translations": [ { "label": "example", "language": "SPANISH", "languageISO": "example" } ] }, "notesT": [ { "experienceId": "2489E9AD-2EE2-8E00-8EC9-32D5F69181C0", "id": 1, "languageIsoCode": "example", "longText": "example", "shortLabel": "example", "text": "example", "translationId": "example" } ], "notice": { "nano": 1, "negative": true, "seconds": 1, "units": [ { "dateBased": true, "duration": { "nano": 1, "negative": true, "seconds": 1, "units": [], "zero": true }, "durationEstimated": true, "timeBased": true } ], "zero": true }, "payAtTheWinery": true, "place": { "city": "example", "countryIsoCode": "example", "experienceId": "2489E9AD-2EE2-8E00-8EC9-32D5F69181C0", "lat": 1, "lng": 1, "province": "example", "region": "example", "street": "example", "zipcode": "example" }, "pointOfSaleWineSuiteId": "2489E9AD-2EE2-8E00-8EC9-32D5F69181C0", "priority": 1, "shortDescriptionTranslationId": "example", "shortDescriptionTranslations": { "labelKey": "example", "languagesPresent": [ "SPANISH" ], "translations": [ { "label": "example", "language": "SPANISH", "languageISO": "example" } ] }, "shortDescriptions": [ { "experienceId": "2489E9AD-2EE2-8E00-8EC9-32D5F69181C0", "id": 1, "languageIsoCode": "example", "longText": "example", "shortLabel": "example", "text": "example", "translationId": "example" } ], "showWebsite": true, "showWidget": true, "state": "example", "summaryTranslationId": "example", "summaryTranslations": { "labelKey": "example", "languagesPresent": [ "SPANISH" ], "translations": [ { "label": "example", "language": "SPANISH", "languageISO": "example" } ] }, "summarys": [ { "experienceId": "2489E9AD-2EE2-8E00-8EC9-32D5F69181C0", "id": 1, "languageIsoCode": "example", "longText": "example", "shortLabel": "example", "text": "example", "translationId": "example" } ], "titleTranslationId": "example", "titleTranslations": { "labelKey": "example", "languagesPresent": [ "SPANISH" ], "translations": [ { "label": "example", "language": "SPANISH", "languageISO": "example" } ] }, "titles": [ { "experienceId": "2489E9AD-2EE2-8E00-8EC9-32D5F69181C0", "id": 1, "languageIsoCode": "example", "longText": "example", "shortLabel": "example", "text": "example", "translationId": "example" } ], "updatedAt": "2026-04-15T12:00:00Z", "validityFrom": "2026-04-15T12:00:00Z", "validityTo": "2026-04-15T12:00:00Z", "vatRate": "example", "version": 1 }, "giftOnly": true, "id": "2489E9AD-2EE2-8E00-8EC9-32D5F69181C0", "inquiry": true, "instantBooking": true, "interval": 1, "languagesIsoCode": [ "example" ], "maxParties": 1, "metaDescriptionTranslations": { "additionalProperty": "example" }, "metaTags": { "additionalProperty": "example" }, "metaTitleTranslations": { "additionalProperty": "example" }, "metadata": [ { "key": "example", "value": "example" } ], "minPartiesToEnable": 1, "notes": { "additionalProperty": "example" }, "payAtTheWinery": true, "paymentMethods": { "additionalProperty": "example" }, "photosAttributes": [ { "active": true, "altName": "example", "mediaName": "example", "mediaType": "example", "mediaUrl": "example", "mime": "example", "updateTimestamp": "2026-04-15T12:00:00Z" } ], "placeAttributes": { "city": "example", "id": "example", "lat": 1, "lng": 1, "province": "example", "region": "example", "state": "example", "street": "example", "zipcode": "example" }, "pointOfSaleWineSuiteId": "2489E9AD-2EE2-8E00-8EC9-32D5F69181C0", "price01LabelTranslations": { "additionalProperty": "example" }, "price02Active": true, "price02Cents": 1, "price02Currency": "example", "price02LabelTranslations": { "additionalProperty": "example" }, "priceCents": 1, "priceCurrency": "example", "priceDescriptionTranslations": { "additionalProperty": "example" }, "priority": 1, "productIds": [ "example" ], "products": [ { "additionalProperty": {} } ], "roomId": "example", "shortDescriptionTranslations": { "additionalProperty": "example" }, "showWebsite": true, "showWidget": true, "slotAutomationTypes": [ "CLOSE_MATCHING_SLOTS_IN_THE_SAME_EXPERIENCE" ], "slotsRequests": [ { "day": "2026-04-15", "dayOfWeek": "example", "extraData": {}, "id": "example", "languages": [ "example" ], "maxParties": 1, "minPartiesToEnable": 1, "time": { "hour": 1, "minute": 1, "nano": 1, "second": 1 }, "type": "SINGLE", "validityEnd": "2026-04-15", "validityStart": "2026-04-15" } ], "state": "example", "summaryTranslations": { "additionalProperty": "example" }, "titleTranslations": { "additionalProperty": "example" }, "vatRate": "example", "wineryId": "2489E9AD-2EE2-8E00-8EC9-32D5F69181C0" }'

BodyExperience

Media typeapplication/json
ExperienceAllParamsInput
object
acceptPaypalPayments
boolean
acceptStripePayments
boolean
active
boolean
additionalQuestions
Array<object>
ExperienceAssignmentInput
object
questionId
string format: uuid
required
boolean
sortOrder
integer format: int32
antecedence
integer format: int32
category
string
channels
object
key
additional properties
string
color
string
daysForAutomaticApprove
integer format: int32
descriptionTranslations
object
key
additional properties
string
duration
string
employeeId
string
enableGifts
boolean
experienceColor
string
experienceIntegrations
Array<object>
ExperienceIntegration
object
connectedToWinelivery
boolean
defaultLanguage
string
experienceId
string format: uuid
externalId
integer format: int64
integrationData
string
integrationId
string format: uuid
integrationOptions
string
wineryId
string format: uuid
experiencePriceExtrasAttributes
object
key
additional properties
ExperiencePriceExtras
object
descriptionTranslations
object
key
additional properties
string
extraMetadata
object
id
integer format: int32
position
integer format: int32
priceCents
integer format: int32
priceCurrency
string
titleTranslations
object
key
additional properties
string
experiencePriceLabelsAttributes
object
key
additional properties
ExperiencePriceLabels
object
descriptionTranslations
object
key
additional properties
string
id
integer format: int32
position
integer format: int32
priceCents
integer format: int32
priceCurrency
string
titleTranslations
object
key
additional properties
string
fiscalNatureId
string format: uuid
flatTranslations
ExperienceDetails
object
acceptPaypalPayments
boolean
acceptStripePayments
boolean
active
boolean
antecedence
Duration
object
nano
integer format: int32
negative
boolean
seconds
integer format: int64
units
Array<object>
TemporalUnit
object
dateBased
boolean
duration
Duration
object
nano
integer format: int32
negative
boolean
seconds
integer format: int64
units
Array<object> recursive
zero
boolean
durationEstimated
boolean
timeBased
boolean
zero
boolean
color
string
daysForAutomaticApprove
integer format: int32
descriptionTranslationId
string
descriptionTranslations
LabelTranslations
object
labelKey
string
languagesPresent
Array<string>
Allowed values: SPANISH FRENCH BULGARIAN ARABIC DANISH CHINESE RUSSIAN ENGLISH PORTUGUESE ITALIAN GERMAN ROMANIAN POLISH CROATIAN
translations
Array<object>
LabelTranslation
object
label
string
language
string
Allowed values: SPANISH FRENCH BULGARIAN ARABIC DANISH CHINESE RUSSIAN ENGLISH PORTUGUESE ITALIAN GERMAN ROMANIAN POLISH CROATIAN
languageISO
string
descriptions
Array<object>
ExperienceTranslation
object
experienceId
string format: uuid
id
integer format: int64
languageIsoCode
string
longText
string
shortLabel
string
text
string
translationId
string
duration
string
enableGifts
boolean
experienceId
string format: uuid
fiscalNatureId
string format: uuid
giftOnly
boolean
inquiry
boolean
instantBooking
boolean
interval
Duration
object
nano
integer format: int32
negative
boolean
seconds
integer format: int64
units
Array<object>
TemporalUnit
object
dateBased
boolean
duration
Duration
object
nano
integer format: int32
negative
boolean
seconds
integer format: int64
units
Array<object> recursive
zero
boolean
durationEstimated
boolean
timeBased
boolean
zero
boolean
maxParties
integer format: int32
metaDescriptionTranslationId
string
metaDescriptionTranslations
LabelTranslations
object
labelKey
string
languagesPresent
Array<string>
Allowed values: SPANISH FRENCH BULGARIAN ARABIC DANISH CHINESE RUSSIAN ENGLISH PORTUGUESE ITALIAN GERMAN ROMANIAN POLISH CROATIAN
translations
Array<object>
LabelTranslation
object
label
string
language
string
Allowed values: SPANISH FRENCH BULGARIAN ARABIC DANISH CHINESE RUSSIAN ENGLISH PORTUGUESE ITALIAN GERMAN ROMANIAN POLISH CROATIAN
languageISO
string
metaDescriptions
Array<object>
ExperienceTranslation
object
experienceId
string format: uuid
id
integer format: int64
languageIsoCode
string
longText
string
shortLabel
string
text
string
translationId
string
metaTitleTranslationId
string
metaTitleTranslations
LabelTranslations
object
labelKey
string
languagesPresent
Array<string>
Allowed values: SPANISH FRENCH BULGARIAN ARABIC DANISH CHINESE RUSSIAN ENGLISH PORTUGUESE ITALIAN GERMAN ROMANIAN POLISH CROATIAN
translations
Array<object>
LabelTranslation
object
label
string
language
string
Allowed values: SPANISH FRENCH BULGARIAN ARABIC DANISH CHINESE RUSSIAN ENGLISH PORTUGUESE ITALIAN GERMAN ROMANIAN POLISH CROATIAN
languageISO
string
metaTitles
Array<object>
ExperienceTranslation
object
experienceId
string format: uuid
id
integer format: int64
languageIsoCode
string
longText
string
shortLabel
string
text
string
translationId
string
minPartiesToEnable
integer format: int32
noteId
string
notes
LabelTranslations
object
labelKey
string
languagesPresent
Array<string>
Allowed values: SPANISH FRENCH BULGARIAN ARABIC DANISH CHINESE RUSSIAN ENGLISH PORTUGUESE ITALIAN GERMAN ROMANIAN POLISH CROATIAN
translations
Array<object>
LabelTranslation
object
label
string
language
string
Allowed values: SPANISH FRENCH BULGARIAN ARABIC DANISH CHINESE RUSSIAN ENGLISH PORTUGUESE ITALIAN GERMAN ROMANIAN POLISH CROATIAN
languageISO
string
notesT
Array<object>
ExperienceTranslation
object
experienceId
string format: uuid
id
integer format: int64
languageIsoCode
string
longText
string
shortLabel
string
text
string
translationId
string
notice
Duration
object
nano
integer format: int32
negative
boolean
seconds
integer format: int64
units
Array<object>
TemporalUnit
object
dateBased
boolean
duration
Duration
object
nano
integer format: int32
negative
boolean
seconds
integer format: int64
units
Array<object> recursive
zero
boolean
durationEstimated
boolean
timeBased
boolean
zero
boolean
payAtTheWinery
boolean
place
ExperiencePlace
object
city
string
countryIsoCode
string
experienceId
string format: uuid
lat
number format: double
lng
number format: double
province
string
region
string
street
string
zipcode
string
pointOfSaleWineSuiteId
string format: uuid
priority
integer format: int32
shortDescriptionTranslationId
string
shortDescriptionTranslations
LabelTranslations
object
labelKey
string
languagesPresent
Array<string>
Allowed values: SPANISH FRENCH BULGARIAN ARABIC DANISH CHINESE RUSSIAN ENGLISH PORTUGUESE ITALIAN GERMAN ROMANIAN POLISH CROATIAN
translations
Array<object>
LabelTranslation
object
label
string
language
string
Allowed values: SPANISH FRENCH BULGARIAN ARABIC DANISH CHINESE RUSSIAN ENGLISH PORTUGUESE ITALIAN GERMAN ROMANIAN POLISH CROATIAN
languageISO
string
shortDescriptions
Array<object>
ExperienceTranslation
object
experienceId
string format: uuid
id
integer format: int64
languageIsoCode
string
longText
string
shortLabel
string
text
string
translationId
string
showWebsite
boolean
showWidget
boolean
state
string
summaryTranslationId
string
summaryTranslations
LabelTranslations
object
labelKey
string
languagesPresent
Array<string>
Allowed values: SPANISH FRENCH BULGARIAN ARABIC DANISH CHINESE RUSSIAN ENGLISH PORTUGUESE ITALIAN GERMAN ROMANIAN POLISH CROATIAN
translations
Array<object>
LabelTranslation
object
label
string
language
string
Allowed values: SPANISH FRENCH BULGARIAN ARABIC DANISH CHINESE RUSSIAN ENGLISH PORTUGUESE ITALIAN GERMAN ROMANIAN POLISH CROATIAN
languageISO
string
summarys
Array<object>
ExperienceTranslation
object
experienceId
string format: uuid
id
integer format: int64
languageIsoCode
string
longText
string
shortLabel
string
text
string
translationId
string
titleTranslationId
string
titleTranslations
LabelTranslations
object
labelKey
string
languagesPresent
Array<string>
Allowed values: SPANISH FRENCH BULGARIAN ARABIC DANISH CHINESE RUSSIAN ENGLISH PORTUGUESE ITALIAN GERMAN ROMANIAN POLISH CROATIAN
translations
Array<object>
LabelTranslation
object
label
string
language
string
Allowed values: SPANISH FRENCH BULGARIAN ARABIC DANISH CHINESE RUSSIAN ENGLISH PORTUGUESE ITALIAN GERMAN ROMANIAN POLISH CROATIAN
languageISO
string
titles
Array<object>
ExperienceTranslation
object
experienceId
string format: uuid
id
integer format: int64
languageIsoCode
string
longText
string
shortLabel
string
text
string
translationId
string
updatedAt
string format: date-time
validityFrom
string format: date-time
validityTo
string format: date-time
vatRate
string
version
integer format: int32
giftOnly
boolean
id
string format: uuid
inquiry
boolean
instantBooking
boolean
interval
integer format: int64
languagesIsoCode
Array<string>
maxParties
integer format: int32
metaDescriptionTranslations
object
key
additional properties
string
metaTags
object
key
additional properties
string
metaTitleTranslations
object
key
additional properties
string
metadata
Array<object>
ExperienceMetadataDTO
object
key
string
value
string
minPartiesToEnable
integer format: int32
notes
object
key
additional properties
string
payAtTheWinery
boolean
paymentMethods
object
key
additional properties
string
photosAttributes
Array<object>
PhotoAttributes
object
active
boolean
altName
string
mediaName
string
mediaType
string
mediaUrl
string
mime
string
updateTimestamp
string format: date-time
placeAttributes
PlaceAttributes
object
city
string
id
string
lat
number format: double
lng
number format: double
province
string
region
string
state
string
street
string
zipcode
string
pointOfSaleWineSuiteId
string format: uuid
price01LabelTranslations
object
key
additional properties
string
price02Active
boolean
price02Cents
integer format: int32
price02Currency
string
price02LabelTranslations
object
key
additional properties
string
priceCents
integer format: int32
priceCurrency
string
priceDescriptionTranslations
object
key
additional properties
string
priority
integer format: int32
productIds
Array<string>
products
Array<object>
Map«string,object»
object
key
additional properties
object
roomId
string
shortDescriptionTranslations
object
key
additional properties
string
showWebsite
boolean
showWidget
boolean
slotAutomationTypes
Array<string>
Allowed values: CLOSE_MATCHING_SLOTS_IN_THE_SAME_EXPERIENCE CLOSE_MATCHING_SLOT_LANGUAGES_IN_THE_SAME_EXPERIENCE AUTOMATICALLY_ACCEPT_RESERVATIONS_ON_SAME_SLOT CLOSE_MATCHING_SLOTS_IN_OTHER_EXPERIENCES SLOT_AND_ROOM_AVAIL_AUTOMATION CLOSE_MATCHING_SLOT_LANGUAGES_IN_THE_SAME_SLOT CLOSE_OVERLAPPING_SLOTS_ACROSS_EXPERIENCES
slotsRequests
Array<object>
SlotGeneralRequest
object
day
string format: date
dayOfWeek
string
extraData
object
id
string
languages
Array<string>
maxParties
integer format: int64
minPartiesToEnable
integer format: int64
time
LocalTime
object
hour
integer format: int32
minute
integer format: int32
nano
integer format: int32
second
integer format: int32
type
string
Allowed values: SINGLE SLOT EVENT
validityEnd
string format: date
validityStart
string format: date
state
string
summaryTranslations
object
key
additional properties
string
titleTranslations
object
key
additional properties
string
vatRate
string
wineryId
string format: uuid

OK

Media type*/*
CreationResponse
object
id
string
message
string
status
string