update_product_settings
Mutation/readOnly:false, script-tier/no-model-token action. Change how products show on the storefront. productsOn turns the Products section on or off for customers; it cannot be turned on until payments are set up and at least one shipping option exists (and the connected store key is verified). catalogPreviewLink true makes a private preview link for the owner to share before products are public (the response includes catalogPreviewToken; false removes the link). shippingRates replaces the whole list of shipping options (prices in cents; up to 10; send [] to remove them all). taxCollection is stripe_tax (Stripe collects sales tax) or off. Send only the settings to change. Storefront Pro.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"proAccessToken": "<proAccessToken>"
},
"name": "update_product_settings"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| productsOn | No | true = show products to customers; false = hide them. | |
| shippingRates | No | The whole list of shipping options, up to 10. Replaces the existing list. | |
| taxCollection | No | 'stripe_tax' = Stripe collects sales tax at checkout; 'off' = no tax collected. | |
| proAccessToken | Yes | The proAccessToken printed by confirm_pro_signup or renew_pro_access. It names the pro's storefront for this call and is valid for 24 hours. | |
| catalogPreviewLink | No | true = create a private preview link; false = remove it. |