Can you share a bit more context about where this list is hosted? Which software is used to maintain the list?
Generally, it's a bit unusual to edit list criteria through code / the HubSpot API. Typically, you would rather set a flag (e.g. set a single checkbox property to Yes) for the records matching the criteria from your external list. The list would simply filter for the flag.
This is also best practice because list membership in itself should never be considered a source of information. It's always the fault of information stored in the records it's pulling.
Best regards!
Karsten Köhler HubSpot Freelancer | RevOps & CRM Consultant | Community Hall of Famer
Can you share a bit more context about where this list is hosted? Which software is used to maintain the list?
Generally, it's a bit unusual to edit list criteria through code / the HubSpot API. Typically, you would rather set a flag (e.g. set a single checkbox property to Yes) for the records matching the criteria from your external list. The list would simply filter for the flag.
This is also best practice because list membership in itself should never be considered a source of information. It's always the fault of information stored in the records it's pulling.
Best regards!
Karsten Köhler HubSpot Freelancer | RevOps & CRM Consultant | Community Hall of Famer