I’m trying to follow the example in this link https://www.wix.com/velo/reference/wix-stores-backend/updatefulfillment and trying to test in the Site Monitoring but I don’t see any event triggerd I have tried other events and it’s working like on create cart. I don’t know what is wrong with this one.
I go to the store order select the order => More Actions => mark as fulfilled or unfulfilled.
this is my code
export function wixStores_onFulfillmentCreated(event) {
const orderId = event.orderId;
const fulfillmentId = event.fulfillmentId;
const trackingNumber = event.trackingInfo.trackingNumber;
console.log(orderId);
}