extension.disable
Disable an extension. Its payment method / hooks / panels stop immediately. Channel extensions with listings must state disconnect: 'zero' (push 0 everywhere first) or 'freeze' (leave marketplace stock as is).
- scope:
store:admin - storefront-visible (bumps the catalog generation): yes
- destructive: no
Payload
| field | type | required | notes |
|---|---|---|---|
extensionId | string (/^[a-z0-9-]+\.[a-z0-9-]+$/) | yes | |
disconnect | "zero" | "freeze" | no |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"type": "object",
"properties": {
"extensionId": {
"type": "string",
"pattern": "^[a-z0-9-]+\\.[a-z0-9-]+$"
},
"disconnect": {
"type": "string",
"enum": [
"zero",
"freeze"
]
}
},
"required": [
"extensionId"
],
"additionalProperties": false
}Generated from the live platform registries at build time: reference pages cannot go stale. Markdown variant: /reference/commands/extension.disable.md