Skip to content

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=trial

Options ​

  • --email string - Person email
  • --field stringArray - Custom field NAME=VALUE (repeatable)
  • --id string - Person ID (use --id or --email)
  • --remove-series strings - Drip-series IDs to UNENROLL (comma-separated or repeated)
  • --remove-tags strings - Tags to REMOVE (comma-separated or repeated)
  • --series strings - Drip-series IDs to ENROLL (comma-separated or repeated)
  • --source string - Platform source — required (woocommerce, shopify, custom)
  • --status string - Subscription status (active|inactive)
  • --tags strings - Tags to ADD (comma-separated or repeated)

See Also ​