Skip to main content
GET
/
pelanggan
Get Pelanggan List
curl --request GET \
  --url https://blessed-toad-definitely.ngrok-free.app/api/pelanggan
[
  {
    "id": 123,
    "nama": "John Doe",
    "alamatLengkap": "Jakarta, Indonesia",
    "agama": "Islam",
    "tanggalLahir": "2000-01-01",
    "nomorTelepon": "+6281234567890"
  }
]

Response

200 - application/json

Successful response

id
integer

Unique identifier for the pelanggan

nama
string

Name of the pelanggan

Example:

"John Doe"

alamatLengkap
string

Address of the pelanggan

Example:

"Jakarta, Indonesia"

agama
enum<string>

Religion of the pelanggan

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

Birthdate of the pelanggan

Example:

"2000-01-01"

nomorTelepon
string

Phone number of the pelanggan

Example:

"+6281234567890"