topic: amazon_orders metrics: - key: amazon_order_count label: Amazon orders agg: count_distinct field: amazon_order_id format: int empty: zero description: Distinct non-cancelled Amazon orders placed in the complete UTC date window. ai_context: > Count distinct Amazon order ids by purchase date in UTC. Exclude Cancelled and Canceled. This is the tenant seller's Amazon marketplace scope, not Odoo's GIFTWARE channel. Both dates must match the completed Amazon Sales getOrderMetrics summary interval. Missing or empty mirrors, missing summaries and restricted callers are refused. validate: method: amazon_sales_order_count independent: Amazon Sales getOrderMetrics orderCount from the completed source summary