Create an invitation
Invites a teammate by email. The invitation is scoped to the current store and carries the chosen role; on accept, a RoleUser is created via the invitation’s after_accept callback.
Required scope: write_settings (for API-key authentication).
POST
Spree Admin SDK
Authorizations
Secret API key for admin access
JWT token for admin user authentication
Body
application/json
Response
201 - application/json
invitation created
Spree Admin SDK

