Stats

A comprehensive list of the stats query keys, allowed fields values, and operators for the return resource

To perform a stats query on the return resource send a POST request to the /returns/stats endpoint specifying in the payload the query keys and filter parameters like in the generic example below:

{
  "stats": {
    "field": "...",
    "operator": "..."
  },
  "filter": { ... }
}

Query keys

These are the keys you need to set when performing a stats query:

Operators and field values

These are the valid values you can specify for the field key of the stats query and the related valid operators, based on that key:

Last updated