Customer Update
You can update the Customer once the data has been verified and finalized. This ensures that the system only updates the accurate and complete information you provide.
Update a customer
PUT /customer
Update existing customer
Headers
Authorization
Bearer <token>
Body
client_code
string
client_identifier
barcode
string
barcode - Depends on mandatory settings
card_type
number
Required, Integer, Exist on Card Type Master Data
id_type
string
Depends on mandatory settings, Integer, Must Exist on ID Card Master Data
id_number
string
Depends on mandatory settings, Numeric, KTP 16 Digits, Passport 8 Digits, SIM 12-14 Digits
name
string
name of customer
level
string
Depends on mandatory settings, integer, Exist on Master Data Level
gender
string
gender of customers. Depends on mandatory settings, Value: M, F ,Others
marital_status
string
Marital Status Depends on mandatory settings, Value: Single, Married, Others
birth_place
string
Birth Place of Customers. Depends on mandatory settings
birth_date
string
BOD of customer. Depends on mandatory settings. Format : yyyy-mm-dd
religion
string
Depends on mandatory settings, Value: Buddhism, Christian, Catholic, Islam, Hinduism, Others
nationality
string
Depends on mandatory settings, Integer, Exist on ID Master Data Nationality
occupation
string
Depends on mandatory settings, Integer, Exist on Master Data Occupation
blood
string
Depends on mandatory settings, Value: Group A, Group B ,Group AB, Group O, Others
address
string
Customer Address - Depends on mandatory settings
country
string
Country - Depends on mandatory settings, Integer, Exist on Master Data Country
province
string
Province Depends on mandatory settings, Integer, Exist On Master Data Province
city
string
Depends on mandatory settings, Integer, Exist on master Data City
zip_code
string
Zip Code Depends on mandatory settings, Numeric
preferred_contact
string
Depends on mandatory settings, Value : email, phone, both
email
string
Email of customer
Depends on mandatory settings
mobile_phone
string
Mobile Number of customer Depends on mandatory settings
Response
{
"status": "success",
"status_code": 200,
"message": "Successfully updating customer profile.",
"data": null
}{
"status": "error",
"status_code": 422,
"message": "Customer not found.",
"errors": [
"Customer not found."
]
}Last updated