Save B2B Store Settings
save_b2b_store_settingsSet up or change the B2B store (see get_b2b_store_settings): its address slug, name, logo, colors, whether it is open, whether browsing needs a sign-in, whether prices are shown and the minimum order. Only the fields you pass change; name storeName, logoUrl, primaryColor, secondaryColor or minimumOrderAmount in clear to empty them. Setting the store up for the first time needs a slug. The same rules as the B2B Store page apply. The preview shows each setting before→after and warns when the address moves (old links and unaccepted invitations stop working) or the store opens or closes. A slug another store already uses is refused on commit. Requires an operator (unpinned) credential with Write + storefront.execute 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": "save_b2b_store_settings"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| clear | No | Optional fields to empty: storeName, logoUrl, primaryColor, secondaryColor, minimumOrderAmount. | |
| input | No | The settings to change; omitted fields keep their current value. | |
| preview | No | Step 1 of the required two-step write: set true to validate and receive a structured preview plus a single-use previewReceipt. Nothing changes until the commit call. | |
| idempotencyKey | No | Caller-generated idempotency key; required with previewReceipt to commit. | |
| previewReceipt | No | Step 2 of the required two-step write: the receipt returned by the preview call. Supply together with a fresh idempotencyKey to commit; calls without it are refused. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | No | ||
| preview | No | ||
| settings | No | ||
| expiresAt | No | ||
| actionItemId | No | ||
| confirmation | No | ||
| correlationId | No | ||
| approvalResult | No | ||
| idempotencyKey | No | ||
| previewReceipt | No | ||
| idempotentReplay | No |