Skip to main content

Creating multiple customer profiles

eLogii avatar
Written by eLogii
Updated over 10 months ago

Setting up multiple customer profiles at the same time has been made possible through eLogii's API endpoint /customers/createMany.

Example request

Payload

{
"items": [
{

"reference": "pharm",
"name": "Healthy Habits",
"contactName": "HealthyH",
"contactPhone": "071234567",
"contactEmail": "healthy@gmail.com"
"locations": [
{
"address": "Sloane Square, London, UK",
"addressLine2": "",
"postCode": "SW1W 8BB",
"city": "London",
"country": "United Kingdom",
"coordinates": [
-0.1569687,
51.4927473
]
}
] },
{
"reference": "hotel",
"name": "Mama's foods",
"contactName": "MamaF",
"contactPhone": "071234567",
"contactEmail": "mamaf@gmail.com"
} ]}

Example response

{
"result": 2,
"errors": [],
"ids": [
"67eeddb7578d03e0d7b2e0a7",
"67eeddb7578d03e0d7b2e0a6"
]
}
Did this answer your question?