Javascript
import Ivy from '@getivy/node-sdk'; const client = new Ivy({ apiKey: 'My API Key', }); const customer = await client.customers.create({ email: 'email' }); console.log(customer.id);
{ "id": "<string>", "email": "<string>" }
Create a new Customer representing your Customers. You can use the Customer to simplify the checkout process for returning journeys.
API key for authentication
Returns the id and email of the created customer
The response is of type object.
object
Was this page helpful?