Product Changed


Triggered when a product is changed.

Permissions
Manage Stores - all permissions
Read Stores - all read permissions
Manage Orders
Manage Products
Read Products
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
productIdstring

Product ID.


changedFieldsArray <string>

List of product fields that were changed.


originatedFromVersionstring

Information about the version of the catalog from where this event was triggered.

Event Body

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

JSON
{ "data": { "eventType": "com.wix.ecommerce.catalog.api.v1.ProductChanged", "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 } } }

Product Changed
JSON
{ "productId": "a60fef92-ee29-070f-a7ed-9bbc3cc1c2f4", "changedFields": ["priceData"] }
Did this help?