门店存在阻塞条件时按类型逐项返回。每项含 reason(机器可读类型)、count(数量)、人类可读 message,以及统一的 aiHint(提醒 AI 调用方停止操作并交由人工介入,不要重试或绕过)。
{ "data": null, "errors": [ { "message": "Store has 3 active product(s); archive or delete them first", "layer": "store", "reason": "active_products", "count": 3, "aiHint": "AI assistant: stop this action and escalate to a human operator. Do not retry, mutate inputs, or attempt workarounds." }, { "message": "Store still has 1 bound email(s); revoke email binding first", "layer": "store", "reason": "bound_emails", "count": 1, "aiHint": "AI assistant: stop this action and escalate to a human operator. Do not retry, mutate inputs, or attempt workarounds." } ]}
reason
含义
active_products
prod_status 或 test_status 为 active 的一次性/订阅产品
pending_orders
非终态订单(不含 completed / canceled / closed / expired)
active_subscriptions
状态为 active / canceling / past_due 的订阅订单
pending_tickets
未结 KYB 工单(不含 succeeded / rejected)
bound_emails
仍绑定的发件邮箱,需先解绑
bound_domains
仍绑定的发件域名,需先解绑
aiHint 仅在 409 响应中出现;400 / 403 / 404 / 500 不携带该字段。
删除门店是软删除。门店数据保留但变为不可访问。此操作无法通过 API 撤销。删除前需先停用所有产品、处理待处理订单、取消活跃订阅、关闭所有未结 KYB 工单,并解绑发件邮箱和域名。