Skip to main content
POST
Create Pelanggan

Body

application/json
nama
string
required

Name of the pelanggan

Example:

"John Doe"

alamatLengkap
string
required

Address of the pelanggan

Example:

"Jakarta, Indonesia"

agama
enum<string>
required

Religion of the pelanggan

Available options:
Islam,
Kristen,
Katolik,
Hindu,
Buddha,
Konghucu
tanggalLahir
string<date>
required

Birthdate of the pelanggan

Example:

"2000-01-01"

nomorTelepon
string
required

Phone number of the pelanggan

Example:

"+6281234567890"

Response

201

Pelanggan created successfully