Triggered when a cart is updated.
Unique event ID. Allows clients to ignore duplicate webhooks.
Fully qualified domain name of the entity associated with the event. Expected wix.ecom.v1.cart
.
Event name. Expected updated
.
ID of the entity associated with the event.
Event timestamp.
Whether the event was triggered as a result of a privacy regulation application (for example, GDPR).
If present, indicates the action that triggered the event.
Event information.
The data payload will include the following as an encoded JWT:
{
"data": {
"eventType": "wix.ecom.v1.cart_updated",
"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
}
}
}
{
"entityId": "55d42452-8e08-45ed-a72a-9df4da368f9f",
"entityEventSequence": "7",
"slug": "updated",
"id": "417f6111-d0c6-439e-8972-1f3dab3009f9",
"entityFqdn": "wix.ecom.v1.cart",
"updatedEvent": {
"currentEntity": {
"lineItems": [
{
"physicalProperties": {
"sku": "364115376135191",
"shippable": true
},
"quantity": 1,
"paymentOption": "FULL_PAYMENT_ONLINE",
"couponScopes": [
{
"namespace": "stores",
"group": {
"name": "collection",
"entityId": "00000000-000000-000000-000000000001"
}
},
{
"namespace": "stores",
"group": {
"name": "product",
"entityId": "c8539b66-7a44-fe18-affc-afec4be8562a"
}
}
],
"url": {
"relativePath": "/product-page/shirt",
"url": "https://example.wixsite.com/ep-tester"
},
"image": {
"id": "3c76e2_c5331f937348492a97df87b0a3b34ea4~mv2.jpg",
"url": "https://static.wixstatic.com/media/3c76e2_c5331f937348492a97df87b0a3b34ea4~mv2.jpg",
"height": 1000,
"width": 1000
},
"price": {
"amount": "10",
"convertedAmount": "10",
"formattedAmount": "$10.00",
"formattedConvertedAmount": "$10.00"
},
"availability": {
"status": "AVAILABLE"
},
"priceBeforeDiscounts": {
"amount": "10",
"convertedAmount": "10",
"formattedAmount": "$10.00",
"formattedConvertedAmount": "$10.00"
},
"id": "00000000-0000-0000-0000-000000000002",
"fullPrice": {
"amount": "10",
"convertedAmount": "10",
"formattedAmount": "$10.00",
"formattedConvertedAmount": "$10.00"
},
"itemType": {
"preset": "PHYSICAL"
},
"productName": {
"original": "Shirt",
"translated": "Shirt"
},
"descriptionLines": [],
"catalogReference": {
"catalogItemId": "c8539b66-7a44-fe18-affc-afec4be8562a",
"appId": "215238eb-22a5-4c36-9e7b-e7c08025e04e",
"options": {
"options": {},
"variantId": "00000000-0000-0000-0000-000000000000"
}
}
},
{
"physicalProperties": {
"sku": "217537123517253",
"shippable": true
},
"quantity": 1,
"paymentOption": "FULL_PAYMENT_ONLINE",
"couponScopes": [
{
"namespace": "stores",
"group": {
"name": "collection",
"entityId": "00000000-000000-000000-000000000001"
}
},
{
"namespace": "stores",
"group": {
"name": "product",
"entityId": "1a2d7e83-4bef-31d5-09e1-3326ee271c09"
}
}
],
"url": {
"relativePath": "/product-page/watch",
"url": "https://example.wixsite.com/ep-tester"
},
"image": {
"id": "3c76e2_8891bbe3372a428aac976ac59aa0ac74~mv2.jpg",
"url": "https://static.wixstatic.com/media/3c76e2_8891bbe3372a428aac976ac59aa0ac74~mv2.jpg",
"height": 1000,
"width": 1000
},
"price": {
"amount": "30",
"convertedAmount": "30",
"formattedAmount": "$30.00",
"formattedConvertedAmount": "$30.00"
},
"availability": {
"status": "AVAILABLE",
"quantityAvailable": 10
},
"priceBeforeDiscounts": {
"amount": "30",
"convertedAmount": "30",
"formattedAmount": "$30.00",
"formattedConvertedAmount": "$30.00"
},
"id": "00000000-0000-0000-0000-000000000003",
"fullPrice": {
"amount": "30",
"convertedAmount": "30",
"formattedAmount": "$30.00",
"formattedConvertedAmount": "$30.00"
},
"itemType": {
"preset": "PHYSICAL"
},
"productName": {
"original": "Watch",
"translated": "Watch"
},
"descriptionLines": [
{
"name": {
"original": "Size",
"translated": "Size"
},
"plainText": {
"original": "Medium",
"translated": "Medium"
}
},
{
"name": {
"original": "Color",
"translated": "Color"
},
"colorInfo": {
"original": "Grey",
"translated": "Grey",
"code": "rgb(128, 128, 128)"
}
}
],
"catalogReference": {
"catalogItemId": "1a2d7e83-4bef-31d5-09e1-3326ee271c09",
"appId": "215238eb-22a5-4c36-9e7b-e7c08025e04e",
"options": {
"options": {
"Size": "Medium",
"Color": "Grey"
},
"variantId": "132b84e8-aab8-47a1-a1f6-2c47557b64a4"
}
}
}
],
"siteLanguage": "en",
"appliedDiscounts": [
{
"coupon": {
"id": "fbb94b06-7447-4161-9c48-59bfcdc39e77",
"code": "SUMMERSALE10"
}
}
],
"taxIncludedInPrices": false,
"weightUnit": "KG",
"id": "55d42452-8e08-45ed-a72a-9df4da368f9f",
"buyerInfo": {
"visitorId": "4c7ce95c-9fb3-417d-9f02-b41e82b841f7"
},
"currency": "USD",
"subtotal": {
"amount": "40",
"convertedAmount": "40",
"formattedAmount": "$40.00",
"formattedConvertedAmount": "$40.00"
},
"updatedDate": "2022-12-12T13:22:36.861Z",
"conversionCurrency": "USD",
"buyerLanguage": "en",
"createdDate": "2022-12-12T08:50:15.814Z"
}
},
"eventTime": "2022-12-12T13:22:36.876934Z",
"triggeredByAnonymizeRequest": false
}