Enough to install Switchboard, ship your first rule from the admin, and know exactly what the developer-mode surface can and can't do before you wire it.
Quickstart
SDK reference
Developer-mode rules read a small JSON payload from a global your storefront sets before checkout begins. Switchboard signs the payload, verifies it inside the Function, and applies the rule. The same shape covers every developer-mode family: block, discount, payment hide, fulfillment steer, bundle trigger, signed-price line.
window.Switchboard = {
rule: "block-checkout",
reason: "inventory-race",
message: "This item just sold out. Please refresh your cart.",
};Set the object as early as possible, before the customer clicks checkout. The Function reads it once per checkout, verifies the signature, and applies the rule. If the payload is missing or the signature fails, the rule is skipped and checkout proceeds normally.
Per-rule limits