invite_team_member
Invite a colleague to the user's OWN Vendooly organization (the one of this connection — you cannot choose another). Use when the user says "invite this person to my account/team". Only owners/admins can invite. role is admin (sees every seller) or member (sees only the sellers listed in seller_ids; get them from list_team_members → sellers). With send_email=true (default) Vendooly emails the invitation; with send_email=false NO email is sent and the tool returns an invite link (valid 7 days) for the user to pass on. Ask the user to confirm the email and role before calling.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| role | Yes | admin = full access; member = only the sellers in seller_ids. | |
| Yes | Email of the person to invite. | ||
| confirm_id | No | Token di conferma ritornato dall'anteprima. Ripassa lo STESSO payload + confirm_id per eseguire davvero la scrittura. | |
| seller_ids | No | For role=member: seller ids (from list_team_members → sellers) the member may see. | |
| send_email | No | true (default): email the invitation. false: no email, return the invite link. | |
| permissions | No | For role=member: access level per function, each none | read | write. Keys: sales (max read), catalog, pricing_inventory, ads, account_team (max read). Omitted keys = none. If permissions is omitted entirely the member gets read-only on sales, catalog, pricing_inventory and ads, and none on account_team. Price/stock and Ads writes must be granted explicitly. Ignored for admin (full access). |