Search.../

onOrderEndDatePostponed( )

Developer Preview

Triggered when an order's endDate is postponed.

Syntax

function wixPricingPlans_onOrderEndDatePostponed(event: OrderEndDatePostponedEvent): void

onOrderEndDatePostponed Parameters

NAME
TYPE
DESCRIPTION
event
Optional
OrderEndDatePostponedEvent

Returns

This function does not return anything.

Return Type:

void

Was this helpful?

onOrderEndDatePostponed example

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