Skip to content
This repository was archived by the owner on Jun 13, 2026. It is now read-only.
This repository was archived by the owner on Jun 13, 2026. It is now read-only.

Tenant management API rejects embedded approval settings #666

Description

@bokelley

Local embedded-storefront E2E showed that the tenant management PATCH endpoint rejects approval settings that the embedding storefront wants to push.

Request shape from agentic-api:

{
  "creative_approval": "auto",
  "media_buy_approval": "auto"
}

Observed salesagent response/log:

422 Request Validation Error: UpdateTenantRequest
creative_approval: Extra inputs are not permitted
media_buy_approval: Extra inputs are not permitted

Expected:

  • Managed/embedded tenants need a supported API path to set the storefront-controlled creative/media-buy approval behavior, or the tenant-management OpenAPI should expose the canonical fields that replace these.
  • If these fields are intentionally not supported anymore, we need the replacement contract documented so the embedding UI does not drift.

Impact:

  • The storefront can still enforce local auto/manual behavior before forwarding, but the salesagent tenant itself remains out of sync and logs noisy 422s during setup/update.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions