Update an existing email address

Changed on

Update an existing email address of merchant

put/email/{emailAddressId}

Request

  • Base URL
    https://api-sandbox.ezypay.com/v2
  • URL
    https://api-sandbox.ezypay.com/v2/email/{emailAddressId}
  • Auth
    OAuth 2
    Client credentials
    Token URL: https://identity-sandbox.ezypay.com/token

Path parameters

emailAddressIdstring required

Auto generated identifier of merchant contact

Request body

addressstring required

Email address of the merchant

contactIdstring required

Auto generated identifier of merchant contact

isActiveboolean

Determines whether contact is active or not.

Response

200

idstring
addressstring
contactIdstring
isActiveboolean
createdBystring

Example response

{
  "id": "d9c07857-a681-474b-97da-ecc860faccea",
  "address": "John.Doe1@gmail.com",
  "contactId": "67863a3a-0333-4b87-ba3b-af1b0d26d405",
  "isActive": true,
  "createdBy": "test@ezypay.com"
}

Changes