maton hubspot deal search
maton hubspot deal search [flags]
Search HubSpot deals using one or more filters. Filters are combined with AND inside a single filterGroup. Operators: EQ, NEQ, LT, LTE, GT, GTE, CONTAINS_TOKEN, NOT_CONTAINS_TOKEN.
Options
-
--after <string> - Pagination cursor from a previous response
-
--connection <string> - Connection ID to route through (Maton-Connection header)
-
--dry-run - Print the request that would be sent without executing it
-
--filter <stringArray> - Filter as propertyName:operator:value (required, at least one)
-
--format <string> - Output format: 'json' (default) or 'text' on supported commands
-q,--jq <expression>- Filter JSON output using a jq expression
-L,--limit <int> (default 10)- Max results per page
-
--paginate - Follow next_cursor and concatenate all pages (list commands only)
-
--properties <string> - Comma-separated properties to return
-
--template <string> - Format JSON output using a Go template; see "maton help formatting"
Options inherited from parent commands
-p,--profile <string>- Profile to use for this invocation (overrides the active profile; also reads MATON_PROFILE)
Examples
$ maton hubspot deal search --filter dealstage:EQ:closedwon
$ maton hubspot deal search --filter amount:GT:1000 --properties dealname,amount