---
title: "contacts/edit"
method: POST
path: "/contacts/edit"
tags: ["Contact Endpoints"]
---

# contacts/edit

`POST /contacts/edit`

## Request

- Base URL: `https://earthnode-dev.vopay.com/api/v2`
- URL: `https://earthnode-dev.vopay.com/api/v2/contacts/edit`
- Auth: none declared

This endpoint is used to add a new contact record for the given account.

## Request body `application/x-www-form-urlencoded`

- object
  - `AccountID` string, required: Your account ID
  - `Key` string, required: API key for the account
  - `Signature` string, required: Hashed signature for the request
  - `ContactID` string, required: The ID for the contact you wish to edit
  - `EmailAddress` string, required: The email address to be associated with this contact
  - `PhoneNumber` string, required: The phone number to be associated with this contact
  - `FirstName` string, required: The first name to be associated with this contact
  - `LastName` string, required: The last name to be associated with this contact
  - `Address1` string: Contact's address line 1
  - `City` string: Contact's city
  - `Province` string: Contact's province specified using two character abbreviations (eg. BC, AB)
  - `Country` string: Contact's country specified using full country name or ISO 3166-1 alpha-2 or ISO 3166-1 alpha-3 code.
  - `Nationality` string: Contact's nationality specified using full country name or ISO 3166-1 alpha-2 or ISO 3166-1 alpha-3 code.
  - `PostalCode` string: Contact's postal code.

## Response `200`

- object
  - `Success` boolean, required: True if the request was successful, false if it failed
  - `ErrorMessage` string, required: Contains a description of the error if the request failed
  - `ContactID` string, required: This ID of the newly created contact

---

[API](https://skmtc.dev/vopay/apis/contact.md) - [All operations](https://skmtc.dev/vopay/apis/contact/llms.txt) - [OpenAPI document](https://skmtc.dev/vopay/apis/contact/revisions/0ca99d945e63?raw)
