Commerce
setInvoiceEmailSettings
Set Invoice Email Settings
Change a shop's CUSTOMER invoice emails, the branded lifecycle mail a buyer receives.
Arguments
spacestringoptionalSpace id or slug (see listPageSpaces) for a Space-owned shop. Omit for your personal shop.enabledbooleanoptionaltrue to send The Cloud's branded customer invoice emails, false to fall back to Stripe's own invoice email.kindsstring[]optionalWhich email kinds send. Replaces the current list: pass every kind you want kept on.reminderDaysBeforeinteger[]optionalReminder cadence in whole days before the due date, e.g. [7, 1]. Deduped, sorted, and capped by the platform.brandColorstringoptionalSix-digit hex like #8a5a3b for the header rule and pay button. Pass an empty string to fall back to the shop's own identity colour.messagesobject[]optionalPer-kind personal message from the shop owner, shown above the pay button.
Returns
The registry does not declare a return shape.
Ask for it
The Cloud routes these requests to this verb.
- remind customers 7 days before an invoice is due
- stop sending paid receipts
- add a thank-you note to invoice emails
- make invoice emails match our brand colour
Pair it with
The verbs that finish the job.