Skip to main content
Endpoint:

Authorization

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

Request Body

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

Response

Successful Response

Main Structure (Root)

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

Errors

object
Returned with messages: "Validation Error" when the request body fails validation (e.g. missing fromEmail or toEmail).
object
Returned with messages: "Email {fromEmail} tidak terdaftar sebagai customer" when no customer matches fromEmail.