curl --request POST \
--url https://api.kelviq.com/api/v1/customers/ \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"customerId": "unique-customer-id-456",
"email": "another.new.customer@example.com",
"name": "Jane Roe",
"metadata": {
"source": "sdk_import",
"priority": "low"
},
"billingAddress": {
"country": "IN",
"line1": "123 Main Street",
"line2": "Apt 4B",
"postalCode": "560001",
"city": "Bangalore",
"state": "Karnataka"
}
}
'{
"id": "a1b2c3d4-e5f6-7890-1234-567890abcdef",
"customerId": "unique-customer-id-123",
"name": "John Doe",
"email": "new.customer@example.com",
"details": {},
"metadata": {
"source": "sdk_import",
"priority": "high"
},
"billingAddress": {
"country": "IN",
"line1": "123 Main Street",
"line2": "Apt 4B",
"postalCode": "560001",
"city": "Bangalore",
"state": "Karnataka"
},
"createdOn": "2025-06-04T06:03:30.195790Z",
"modifiedOn": "2025-06-04T06:03:30.195831Z"
}Creates a new customer record within kelviq.
curl --request POST \
--url https://api.kelviq.com/api/v1/customers/ \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"customerId": "unique-customer-id-456",
"email": "another.new.customer@example.com",
"name": "Jane Roe",
"metadata": {
"source": "sdk_import",
"priority": "low"
},
"billingAddress": {
"country": "IN",
"line1": "123 Main Street",
"line2": "Apt 4B",
"postalCode": "560001",
"city": "Bangalore",
"state": "Karnataka"
}
}
'{
"id": "a1b2c3d4-e5f6-7890-1234-567890abcdef",
"customerId": "unique-customer-id-123",
"name": "John Doe",
"email": "new.customer@example.com",
"details": {},
"metadata": {
"source": "sdk_import",
"priority": "high"
},
"billingAddress": {
"country": "IN",
"line1": "123 Main Street",
"line2": "Apt 4B",
"postalCode": "560001",
"city": "Bangalore",
"state": "Karnataka"
},
"createdOn": "2025-06-04T06:03:30.195790Z",
"modifiedOn": "2025-06-04T06:03:30.195831Z"
}The Server API Key obtained from the kelviq application. Pass as a Bearer token in the Authorization header. Example: 'Authorization: Bearer YOUR_API_KEY'
A unique identifier for the customer that you define.
"unique-customer-id-456"
The email address of the customer.
"another.new.customer@example.com"
The name of the customer.
"Jane Roe"
A dictionary of custom key-value pairs.
Show child attributes
{ "source": "sdk_import", "priority": "low" }The billing address of the customer.
Show child attributes
Customer Created
Server-generated unique UUID for the customer record.
"a1b2c3d4-e5f6-7890-1234-567890abcdef"
The client-provided customer identifier.
"unique-customer-id-123"
The customer's name.
"John Doe"
The customer's email.
"new.customer@example.com"
Any server-added details about the customer (typically read-only).
{}The metadata associated with the customer.
Show child attributes
{
"source": "sdk_import",
"priority": "high"
}The billing address of the customer.
Show child attributes
Customer created date and time
"2025-06-04T06:03:30.195790Z"
Customer updated date and time
"2025-06-04T06:03:30.195790Z"