This API is subject to change. Bug fixes and new features will be released based on developer feedback throughout the preview period.
Triggered when a fulfillment method is updated.
Unique event ID. Allows clients to ignore duplicate webhooks.
Fully qualified domain name of the entity associated with the event. Expected wix.restaurants.v1.fulfillment_method
.
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.restaurants.v1.fulfillment_method_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
}
}
}
{
"id": "3b7c50c8-7b9b-433a-a484-48e516628fc5",
"entityFqdn": "wix.restaurants.v1.fulfillment_method",
"slug": "updated",
"entityId": "76b19c05-58a6-45f2-ad8c-b464858e3911",
"updatedEvent": {
"currentEntity": {
"id": "76b19c05-58a6-45f2-ad8c-b464858e3911",
"revision": "2",
"createdDate": "2024-01-28T13:27:19.788Z",
"updatedDate": "2024-01-28T13:31:27.478Z",
"type": "DELIVERY",
"deliveryOptions": {
"deliveryTimeInMinutes": 30,
"deliveryArea": {
"type": "RADIUS",
"radiusOptions": {
"value": "1",
"centerPointAddress": {
"country": "US",
"subdivision": "CA",
"city": "San Francisco",
"postalCode": "94158",
"addressLine": "500 Terry Francine Street",
"formattedAddress": "500 Terry Francine Street, San Francisco, CA 94158, USA",
"geocode": { "latitude": 37.774836, "longitude": -122.387258 },
"countryFullname": "United States",
"subdivisions": []
},
"unit": "MILES"
}
}
},
"min_order_price": "0",
"name": "Delivery Area #4",
"enabled": false,
"fee": "0",
"availability": {
"availableTimes": [
{
"dayOfWeek": "SUN",
"timeRanges": [
{
"startTime": { "hours": 0, "minutes": 0 },
"endTime": { "hours": 23, "minutes": 45 }
}
]
},
{
"dayOfWeek": "MON",
"timeRanges": [
{
"startTime": { "hours": 0, "minutes": 0 },
"endTime": { "hours": 23, "minutes": 45 }
}
]
},
{
"dayOfWeek": "TUE",
"timeRanges": [
{
"startTime": { "hours": 0, "minutes": 0 },
"endTime": { "hours": 23, "minutes": 45 }
}
]
},
{
"dayOfWeek": "WED",
"timeRanges": [
{
"startTime": { "hours": 0, "minutes": 0 },
"endTime": { "hours": 23, "minutes": 45 }
}
]
},
{
"dayOfWeek": "THU",
"timeRanges": [
{
"startTime": { "hours": 0, "minutes": 0 },
"endTime": { "hours": 23, "minutes": 45 }
}
]
},
{
"dayOfWeek": "FRI",
"timeRanges": [
{
"startTime": { "hours": 0, "minutes": 0 },
"endTime": { "hours": 23, "minutes": 45 }
}
]
},
{
"dayOfWeek": "SAT",
"timeRanges": [
{
"startTime": { "hours": 0, "minutes": 0 },
"endTime": { "hours": 23, "minutes": 45 }
}
]
}
],
"exceptions": [],
"timeZone": "Europe/Dublin"
},
"minOrderPrice": "0"
}
},
"eventTime": "2024-01-28T13:31:27.487486295Z",
"triggeredByAnonymizeRequest": false,
"entityEventSequence": "2"
}