curl --request POST 'https://api.mayar.id/hl/v1/customer/update' \
--header 'Authorization: Bearer Paste-Your-API-Key-Here' \
--data-raw '{
   		"fromEmail": "mraihanna19@gmail.com",
   		"toEmail": "mraihannanewpatch@gmail.com"
}
'
{
    "statusCode": 200,
    "messages": "sukses"
}
curl --request POST 'https://api.mayar.id/hl/v1/customer/update' \
--header 'Authorization: Bearer Paste-Your-API-Key-Here' \
--data-raw '{
   		"fromEmail": "mraihanna19@gmail.com",
   		"toEmail": "mraihannanewpatch@gmail.com"
}
'
{
    "statusCode": 200,
    "messages": "sukses"
}
Endpoint:
https://api.mayar.id/hl/v1/customer/update

Authorization

Authorization
string
required
Example:Authorization | Bearer Paste-Your-API-Key-Here

Request Body

fromEmail
string
required
The email of the customer to be updated from.
toEmail
string
required
The new email of the customer.

Response

Successful Response

Main Structure (Root)

statusCode
integer
required
Status code form API.
messages
string
required
Status message that describes the status code.