Search...
onCheckoutTemplateDeleted( )
Developer Preview
Triggered when a checkout template is deleted.
Description
The onCheckoutTemplateDeleted()
event handler runs when a checkout template is deleted. The received CheckoutTemplateDeleted
object contains information about the checkout template that was deleted 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?
onCheckoutTemplateDeleted example
Copy Code
12 export function wixEcom_onCheckoutTemplateDeleted(event) {3 const eventId = event.metadata.id4 const entityId = event.entity._id;5 }67