Skip to main content
PUT
/
commerce
/
customer
/
accounts
/
{accountId}
/
contacts
/
{contactId}
Error
A valid request URL is required to generate request examples
{
  "accountId": 123,
  "types": [
    {
      "name": "<string>",
      "isPrimary": true
    }
  ],
  "auditInfo": {
    "updateDate": "2023-11-07T05:31:56Z",
    "createDate": "2023-11-07T05:31:56Z",
    "updateBy": "<string>",
    "createBy": "<string>"
  },
  "faxNumber": "<string>",
  "label": "<string>",
  "id": 123,
  "email": "<string>",
  "firstName": "<string>",
  "middleNameOrInitial": "<string>",
  "lastNameOrSurname": "<string>",
  "companyOrOrganization": "<string>",
  "phoneNumbers": {
    "home": "<string>",
    "mobile": "<string>",
    "work": "<string>"
  },
  "address": {
    "address1": "<string>",
    "address2": "<string>",
    "address3": "<string>",
    "address4": "<string>",
    "cityOrTown": "<string>",
    "stateOrProvince": "<string>",
    "postalOrZipCode": "<string>",
    "countryCode": "<string>",
    "addressType": "<string>",
    "isValidated": true
  }
}

Authorizations

Authorization
string
header
required

JWT Authorization header using the Bearer scheme.

Path Parameters

accountId
integer<int32>
required

Unique identifier of the customer account whose CustomerContact information you want to update.

contactId
integer<int32>
required

Query Parameters

userId
string

If provided, the primary markings on the contact will be stored as the user's preferred primary override

responseFields
string

limits which fields are returned in the response body

Body

application/json

CustomerContact information for a customer account including the name, company, phone numbers, email addresses, and billing and shipping addresses (if supplied).

accountId
integer<int32>
types
object[] | null
auditInfo
object
faxNumber
string | null
label
string | null
id
integer<int32> | null
email
string | null
firstName
string | null
middleNameOrInitial
string | null
lastNameOrSurname
string | null
companyOrOrganization
string | null
phoneNumbers
object
address
object

Response

Success

CustomerContact information for a customer account including the name, company, phone numbers, email addresses, and billing and shipping addresses (if supplied).

accountId
integer<int32>
types
object[] | null
auditInfo
object
faxNumber
string | null
label
string | null
id
integer<int32> | null
email
string | null
firstName
string | null
middleNameOrInitial
string | null
lastNameOrSurname
string | null
companyOrOrganization
string | null
phoneNumbers
object
address
object