List B2B Customers
list_b2b_customersList the B2B store's customer logins (contacts who accepted an invitation, each tied to the customer whose prices and orders they see), newest first, and the invitations still waiting to be accepted, as the B2B Customers page under Setup does. search matches a contact's name or email or the customer's name. Invite another contact with invite_b2b_customer. Requires an operator (unpinned) credential and the Admin role.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "list_b2b_customers"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| page | No | 1-based page number; default 1. | |
| search | No | Text to match against contact name, email, or customer name. | |
| pageSize | No | Rows per page for each list; default 50, max 200. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| page | No | ||
| pageSize | No | ||
| customers | No | ||
| customersTotal | No | ||
| pendingInvitations | No | ||
| pendingInvitationsTotal | No |