Appearance
People Upsert
lindris people upsert
Create or update a person
Synopsis
POST /api/people creates a new person or updates an existing one. Either --id or --email is required, plus --source.
Tags and drip-series memberships are toggled, not replaced. --tags X,Y adds X and Y; --remove-tags Z removes Z. The same call can do both. Series IDs work the same way with --series and --remove-series.
bash
lindris people upsert [flags]Examples
bash
$ lindris people upsert [email protected] --source=woocommerce --tags=newsletter --field=firstName=Jane
$ lindris people upsert [email protected] --source=woocommerce --remove-tags=spam
$ lindris people upsert [email protected] --source=woocommerce --tags=vip --remove-tags=trialOptions
--emailstring - Person email--fieldstringArray - Custom field NAME=VALUE (repeatable)--idstring - Person ID (use --id or --email)--remove-seriesstrings - Drip-series IDs to UNENROLL (comma-separated or repeated)--remove-tagsstrings - Tags to REMOVE (comma-separated or repeated)--seriesstrings - Drip-series IDs to ENROLL (comma-separated or repeated)--sourcestring - Platform source — required (woocommerce, shopify, custom)--statusstring - Subscription status (active|inactive)--tagsstrings - Tags to ADD (comma-separated or repeated)
See Also
lindris people- Manage people (contacts) — wraps /api/people