Save a signal set
saveSignalSetCreate a signal set, or replace the criteria of an existing one. Without setId it creates a new set (the plan limit applies). With setId it updates that set and replaces all its signals, legacy categories and ICP filters with the new criteria. Conditions that you did not set (saved custom SQL conditions) stay on the set, joined with AND. Then the reply has preservedConditions, the number of these conditions. Use previewSignalSet first to check that the criteria match enough stores. Paid plans only.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | Optional. The name of a new set. | |
| setId | No | Optional. The id of the set to update. Leave it out to create a set. | |
| criteria | Yes | The criteria, in the same format as previewSignalSet. |