POST
/
api
/
service
/
customer
/
create
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>"
}

Authorizations

X-Ivy-Api-Key
string
header
required

API key for authentication

Body

application/json

Response

200 - application/json

Returns the id and email of the created customer

The response is of type object.