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
  }
Language
Click Try It! to start a request and see the response here!