Skip to content

Commit 976f38f

Browse files
committed
perf: receive cart webhooks on customer set only
BREAKING CHANGE: editing app procedure triggers, must reinstall
1 parent 7bcbc0b commit 976f38f

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

functions/ecom.config.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -185,9 +185,10 @@ procedures.push({
185185
action: 'create',
186186
},
187187

188+
// Receive notifications when cart is created with customer:
188189
{
189190
resource: 'carts',
190-
action: 'create',
191+
field: 'customers',
191192
},
192193

193194
/* Receive notifications when order financial/fulfillment status changes:

0 commit comments

Comments
 (0)