Create model list

Create data for a rule model to evaluate.

A model list contains values to evaluate in a rule model. To use the list, pass its ID as a data field's value in a condition when you create a rule model.

For example, you can create a model list to capture purchases made through designated merchants with the MERCHANT_NAME_LIST condition type. The list could look like this: ["APPLE", "MICROSOFT", "BEST BUY"], and be used like this:

...
  {
    "type": "MERCHANT_NAME_LIST",
    "operator": "contains",
    "data": "15bda43f-5f6d-4681-8c09-853de8b9479d"  ## Model list ID
  }
...
Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Body Params

Parameters to create a new model list

data
array of strings
required

List of values used to evaluate the rule condition.

data*
Responses

Language
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json