Commerce
setShopNotifications
Set Shop Notifications
Turn ONE shop's order-notification emails on or off and/or set the per-hour cap.
Arguments
appstringoptionalStorefront app id or slug (see listStudioApps, or the shops listed by getShopNotificationSettings) to target ONE storefront. Omit for orders taken outside a storefront (POS, back-office, payment links).enabledbooleanoptionaltrue to enable order-notification emails, false to disable.hourlyCapintegeroptionalMax notification emails per rolling hour (clamped to the platform ceiling).spacestringoptionalSpace id or slug (see listPageSpaces) for a Space-owned shop. Omit for your personal shop.
Returns
The registry does not declare a return shape.
Declared limits
hourlyCap: greater than 0hourlyCap: maximum 9007199254740991
Ask for it
The Cloud routes these requests to this verb.
- turn off shop order emails
- cap my shop notifications at 20 an hour
- enable order notifications
Pair it with
The verbs that finish the job.