Site Properties Updated


Developer Preview

This API is subject to change. Bug fixes and new features will be released based on developer feedback throughout the preview period.

Triggered when site properties are updated.

Permissions
Manage Your App
Read site, business, and email details
Manage Restaurants - all permissions
Learn more about app permissions.
Event BodyEvent Body Event data is received as a JSON Web Token (JWT). It may be delayed. Be sure to verify the data was sent by Wix.
Event Data
metasiteIdstring

ID of the Wix site that has been updated.


eventEvent

Update details.

Event Body

The data payload will include the following as an encoded JWT:

JSON
{ "data": { "eventType": "SitePropertiesUpdated", "instanceId": "<app-instance-id>", "data": "<stringified-JSON>", // The identity field is sent as a stringified JSON "identity": { "identityType": "<identityType>", // ANONYMOUS_VISITOR, MEMBER, WIX_USER, APP "anonymousVisitorId": "<anonymousVisitorId>", // in case of ANONYMOUS_VISITOR "memberId": "<memberId>", // in case of MEMBER "wixUserId": "<wixUserId>", // in case of WIX_USER "appId": "<appId>" // in case of APP } } }

Site Properties Updated
JSON
{ "metasiteId": "884aa31e-c73e-40c7-94b2-c67db9f0ee5c", "event": { "version": "12", "fields": { "paths": ["locale", "language", "paymentCurrency", "timeZone"] }, "properties": { "locale": { "languageCode": "en", "country": "US" }, "language": "en", "paymentCurrency": "USD", "timeZone": "America/New_York" } } }
Did this help?