AdvertisingCars

AnnonceLogs

Aos

Callcentrum

Cc

Element

Eshop

Forms

IframeViewCounter

Ip

LeadsFb

Leads

Marketing

MaternaSmsStatus

MobileDeLogs

OfferedCars

SautoLogs

TechnicalCertificateRequest

TipcarsLogs

ViewCounter

WebCars

WebLeads

/v1/eshop/customers
POST
secured

Description

Create customer

Example json request:


{
"email": "abc@centrum.cz",
"firstname": "Petr",
"lastname": "Matonoha",
"phone": "730111222",
"street": "Alej Míru 542",
"city": "Brno",
"zip": "73911",
"legalSubjectivityId": 1,
"personalIdentificationNumber": "9010235555",
"identityCardNumber": "12345678",
"ico": "",
"dic": "",
"agree": 1
}


legalSubjectivityId = 1 - Private person, 2 - Legal entity / Entrepreneur

Format

json (application/json)

Methods

POST

Response codes

200 (Success)
400 (Bad Request)
401 (Invalid authentication)

Example response

{
    "status": "ok",
    "message": "Customer added.",
    "customer_id": 1
}