Filter the customer analytics by attribute(s).
Filter by specific conditions defined in the model.
NOTE: either merchantId or channelPartnerId must be provided in the query filters.
-
Allowed scopes: merchantId, channelPartnerId
-
Example: ?filter[merchantId]=123456
-
Example: ?filter[merchantId]=123456,789012 (multiple merchant IDs)
-
Example: ?filter[channelPartnerId]=123456
Filter by user-applied tags on the underlying payments. Use a leading ! to exclude a tag. Comma-separated values are OR'd for includes; excludes remove rows tagged with any listed tag.
- Example:
?filter[tag]=needs-review,priority
- Example:
?filter[tag]=!archived
- Example:
?filter[tag]=needs-review,!archived