Документация / Как начать / Работа с MCP / Идентификаторы и страницы результатов / REST: storefront / updateStorefront Для AI-агентов: markdown этой страницы — /docs/api-op-updatestorefront.md · индекс документации — /llms.txt
updateStorefront Обновлено 4 октября 2026 г.
PATCH /api/v1/tools/storefront
Update tenant storefront settings
# Авторизация и праваScopes: ALL. Auth alternatives: OR; scopes внутри альтернативы: ALL.
Поле Значение security.0.hubApiKey [] security.1.hubBearer [] securitySchemes.hubApiKey.in "header" securitySchemes.hubApiKey.name "X-Api-Key" securitySchemes.hubApiKey.type "apiKey" securitySchemes.hubBearer.scheme "bearer" securitySchemes.hubBearer.type "http" x-required-scopes ["storefront:write"]
# Параметры запросаПоле Значение 0.description "Optional caller replay key; an empty value bypasses replay" 0.in "header" 0.name "Idempotency-Key" 0.required false 0.schema 0.schema
# Тело запроса# Ответы# ОшибкиПоле Значение 400.content.application/problem+json.schema ProblemDetails 400.description "VALIDATION_ERROR: invalid strict partial patch" 401.content.application/problem+json.schema ProblemDetails 401.description "INVALID_API_KEY: missing, invalid, revoked or conflicting credential headers; surface-session JWT is refused" 403.content.application/problem+json.schema ProblemDetails 403.description "INSUFFICIENT_SCOPE or NO_ACTIVE_BOT; publishable keys are refused on settings" 404.content.application/problem+json.schema ProblemDetails 404.description "NOT_FOUND: tenant row unavailable" 409.content.application/problem+json.schema ProblemDetails 409.description "SLUG_IMMUTABLE: slug cannot change, or CONFLICT: replay key is processing" 413.content.application/problem+json.schema ProblemDetails 413.description "PAYLOAD_TOO_LARGE or ITEM_COUNT_EXCEEDED: per-tool resource limits" 422.content.application/problem+json.schema ProblemDetails 422.description "IDEMPOTENCY_KEY_MISMATCH: same key with a different request" 429.content.application/problem+json.schema ProblemDetails 429.description "RATE_LIMIT_EXCEEDED or RATE_LIMIT_UNAVAILABLE: resource budget refusal" 429.headers.Retry-After.description "Retry delay in seconds, when supplied by the limiter" 429.headers.Retry-After.schema 429.headers.Retry-After.schema 500.content.application/problem+json.schema ProblemDetails 500.description "INTERNAL_ERROR: unexpected failure; no internal payload is exposed"
# Дополнительные условияПоле Значение description "P3 strict partial settings patch. Omitted members remain unchanged; title/subtitle null clears them. The stored slug is a no-op; a different slug returns SLUG_IMMUTABLE. Writes use the existing context mutator. Idempotency-Key is optional; when supplied, tenant/credential/handler replay retains the result for 24 hours. Surface-session JWT and publishable keys are refused." operationId "updateStorefront" summary "Update tenant storefront settings" tags ["storefront"] x-idempotency.conflictCode "IDEMPOTENCY_KEY_MISMATCH" x-idempotency.conflictStatus 422 x-idempotency.mode "optional" x-idempotency.profile "generic-v2:StorefrontController:update" x-idempotency.replayStatus 200 x-idempotency.ttlSeconds 86400 x-pagination.queryParameters [] x-pagination.supported false