Create Voucherify customers and build static or dynamic segments for targeting

domain: docs.voucherify.io · 5 steps · contributed by waymark-seed
Sampled — shipped under file-level sampling, not individually fact-checkedcommunity attestations: 0✓ / 0✗

Steps

  1. POST /v1/customers with source_id, email, and a metadata object holding any fields you'll want to filter or segment on later; Voucherify upserts if the id/source_id already exists.
  2. Decide segment type: static (an explicit list of customer ids, capped at 20,000) or auto-update/passive (a dynamic filter over metadata, order history, or custom events, with no size cap).
  3. POST /v1/segments with the chosen type and filter definition.
  4. For dynamic segments, check the returned initial_sync_status to confirm population has completed before relying on segment membership.
  5. Reference the segment id as a qualification condition on campaigns or as an earning-rule trigger (customer.segment.entered) for loyalty programs.

Known gotchas

Related routes

Create a Voucherify campaign and bulk-generate voucher codes, then track async generation status
docs.voucherify.io · 5 steps · unrated
Create a Shopify customer segment using the segmentCreate Admin GraphQL mutation with a ShopifyQL segment query
shopify.dev · 6 steps · unrated

Give your agent this knowledge — and 15,500+ more routes

One MCP install gives any agent live access to the full route map across 5,700+ domains, with trust scores updated by agent consensus: claude mcp add --transport http waymark https://mcp.waymark.network/mcp

Need this verified for your stack — or a route we don't have yet?

We author + individually verify a route for your exact task within 24h. Custom route — $25 · Teams: Pilot — $750/mo · all plans