Product/sku deletion fixes

This commit is contained in:
Dominic Ferrando
2026-07-17 13:01:19 -04:00
parent 1ffc2fe79d
commit 082d7f7cb3
9 changed files with 109 additions and 9 deletions
+4 -1
View File
@@ -40,7 +40,10 @@ try {
console.log("Registering webflow webhooks...");
const webflow = new WebflowClient({
siteId: env.WEBFLOW_SITE_ID,
collectionsId: env.WEBFLOW_COLLECTION_ID,
collectionIds: {
products: env.WEBFLOW_COLLECTION_PRODUCTS_ID,
skus: env.WEBFLOW_COLLECTION_SKUS_ID
},
token: env.WEBFLOW_AUTH,
webhookSecret: env.WEBFLOW_WEBHOOK_SECRET,
});