Search.../

onOrderStartDateChanged( )

Developer Preview

Triggered when an order's startDate is changed.

Syntax

function wixPricingPlans_onOrderStartDateChanged(event: OrderStartDateChangedEvent): void

onOrderStartDateChanged Parameters

NAME
TYPE
DESCRIPTION
event
Optional
OrderStartDateChangedEvent

Returns

This function does not return anything.

Return Type:

void

Was this helpful?

onOrderStartDateChanged example

Copy Code
1
2 export function wixPricingPlans_onOrderStartDateChanged(event) {
3 const eventId = event.metadata.id
4 const entityId = event.data.order._id;
5 }
6
7