catalog.digital.codes.void
Void unused pool codes (oldest first) — they can never be allocated; nothing is deleted.
- scope:
catalog:write - storefront-visible (bumps the catalog generation): no
- destructive: yes — supports dryRun preview
Payload
| field | type | required | notes |
|---|---|---|---|
productId | string (/^prd_[a-zA-Z0-9]{1,32}$/) | yes | |
count | integer (1..1000) | yes |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"type": "object",
"properties": {
"productId": {
"type": "string",
"pattern": "^prd_[a-zA-Z0-9]{1,32}$"
},
"count": {
"type": "integer",
"minimum": 1,
"maximum": 1000
}
},
"required": [
"productId",
"count"
],
"additionalProperties": false
}Generated from the live platform registries at build time — reference pages cannot go stale. Markdown variant: /reference/commands/catalog.digital.codes.void.md