How to pass a value to backend events.js?

When onPlanPurchased() is triggered the event object contains details about the pricing plan that can be easily saved to the CMS. But I’d like to add one additional piece of info (orderNumber - an order number that was already generated in the frontend before the plan was purchased) into the orderData object before inserting it into the CMS. Is there a way to pass this variable from the frontend to the backend events.js?

events.js backend code:

import wixData from "wix-data";

export async function wixPaidPlans_onPlanPurchased(event)
 
let orderData = {
  planType: event.order.planName,
  planCost: event.order.price.amount,
  planExpires: event.order.validUntil,
  };
await wixData.insert("PlanPurchases", orderData);
}

Anyone? I’ve been using wixData.update() to add orderNumber to the data entry once the backend event is complete, but it requires enough time to complete the data save before doing the update. Would be better and faster just to save it all at once.