developers

Docs SDK Actions

Actions

The mutations a theme is allowed to invoke. Anything absent from this list is deliberately not a theme's to perform — the customer's account and checkout changes happen only on the platform's own pages.

signOut
signOut(): Promise<SignOutResult>
clear the Supabase session.
packages/theme-sdk/src/actions/signOut.ts
submitContactForm
submitContactForm(input: SubmitContactFormInput,): Promise<SubmitContactFormResult>
POST to the Seller App's `storefront-contact-submit` Edge Function.
packages/theme-sdk/src/actions/submitContactForm.ts

Platform-only, not for themes: applyPromotion, cancelSubscription, skipSubscriptionCycle, updateMyAddresses, updateMyProfile. The SDK exports them for the platform’s own sign-in, account and checkout pages; the build fails a theme that imports them. Link to those pages instead — see account pages.