Import customers

Voucherify can be integrated with your CRM system to access and use customer details when building validation rules for new campaigns.

📘

Dashboard mode

You can import customers with a CSV file too.

If you want to keep your customers database in sync with Voucherify, you should create a customer every time a new user signs up in your shop. This comes down to invoking this piece of code in your backend:

curl -X POST \
  -H "X-App-Id: c70a6f00-cf91-4756-9df5-47628850002b" \
  -H "X-App-Token: 3266b9f8-e246-4f79-bdf0-833929b1380c" \
  -H "Content-Type: application/json" \
  -d '{
    "source_id":"your-tracking-id", 
    "name": "John Doe",
    "email": "[email protected]",
    "description":"Premium user, ACME Inc.",
    "metadata": {
      "lang":"en"
    }
  }' \
  https://api.voucherify.io/v1/customers

To help you identify and update customers later on, you can pass your CRM unique id to the source_id. Apart from that, you can identify any customer through customer ID generated for every new customer, see the customer object

Learn more by browsing the API reference for customers:


Did this page help you?