Commerce
provisionPortalMember
Provision Portal Member
Admit someone to an app's member portal by email, and state what they hold.
Arguments
appIdstringrequiredThe Studio app serving the portalemailstringrequiredThe person's email addressentitlementsstring[]optionalThe keys the app checks to decide what this person can see. Replaces the current list; left as-is when omitted.rolestringoptionalDefaults to "member" for a new membership; left as-is on an existing one when omitted.
Returns
Returns the sign-in link to send them.
Ask for it
The Cloud routes these requests to this verb.
- add someone to my portal
- invite a client to the portal
- give this member access to X
- set up a portal login for them
Pair it with
The verbs that finish the job.