We are using the new subscriptions API via our customised app. Does anyone know how we can make customer account creation mandatory for subscription checkout? We want it optional for once-off orders but for subscriptions they must create an account to check out. If we cant make it mandatory for just subscriptions what is a way via subscriptions app we can send customer account activation URL to the subscribe customers?
The Shop.customerAccounts field can only be read via API. It cannot be set to change whether Customer Accounts are disabled, optional or mandatory on the whole store.
The best I can suggest as an alternative would be to look if you can leverage the Storefront API to send your prospective subscription customers through a custom flow where they would provide their email and password for you to create their customer accounts programmatically.