Search...
onCheckoutTemplateUpdated( )
Developer Preview
Triggered when a checkout template is updated.
Description
The onCheckoutTemplateUpdated()
event handler runs when a checkout template is updated. The received CheckoutTemplateUpdated
object contains information about the checkout template that was updated and event metadata.
Note: Backend events don't work when previewing your site.
Authorization
Request
This endpoint does not take any parameters
Response Object
Returns an empty object.
Status/Error Codes
Was this helpful?
onCheckoutTemplateUpdated example
Copy Code
12 export function wixEcom_onCheckoutTemplateUpdated(event) {3 const eventId = event.metadata.id4 const entityId = event.entity._id;5 }67