---
title: "ContactMethod:Update"
method: PATCH
path: "/v2/contactmethods/{contactMethodCode}"
tags: ["ContactMethods"]
---

# ContactMethod:Update

`PATCH /v2/contactmethods/{contactMethodCode}`

Updates a contact method for a merchant. All fields for the request are optional. Note you need to have access to the merchant if the contact method that you want to update is not available under your own merchant registration.

## Path parameters

- `contactMethodCode` string, required

## Request body

- MerchantContactMethodInputContactMethod — Represents the Contact method information in the Contact Method input.
  - `type` 'email' | 'email_support' | 'phone' | 'phone_helpdesk' | 'phone_off_hours' | 'url' | 'messaging_app' | 'email_msnskype' | 'null', nullable — The type of contact method.
  - `value` string, nullable — The value of the contact method
  - `description` string, nullable — The description of the contact method
  - `public` boolean, nullable — Is the contact method public accessible
  - `notifications` boolean, nullable — Does the contact method needs to receive notifications

## Response `200`

Updated

- MerchantContactMethodOutput — Detailed representation of a contact method.
  - `code` string — The CM-code for a contact method.
  - `type` 'email' | 'email_support' | 'phone' | 'phone_helpdesk' | 'phone_off_hours' | 'url' | 'messaging_app' | 'email_msnskype' — The type of contact method.
  - `value` string — The value of the contact method
  - `description` string, nullable — The description of the contact method
  - `public` boolean — Is the contact method public accessible
  - `notifications` boolean — Does the contact method needs to receive notifications
  - `merchant` MerchantContactMethodOutputMerchant — Represents the merchant information in the contact method output.
    - `code` string — M-1234-4321
    - `name` string — The merchant name to which this object belongs
    - `status` string — The merchant status to which this object belongs
    - `incorporationCountry` string — The incorporationCountry field represents the country in which the entity is legally registered or incorporated
  - `createdAt` string, date-time, nullable — The date and time at which this entity was created in ISO-8601 (ATOM) notation
  - `createdBy` string, nullable — The reference to an account or token whom created the entity
  - `modifiedAt` string, date-time, nullable — The date and time at which this entity was modified in ISO-8601 (ATOM) notation.
  - `modifiedBy` string, nullable — The reference to an account or token whom modified this entity
  - `deletedAt` string, date-time, nullable — The date and time at which this entity was deleted in ISO-8601 (ATOM) notation.
  - `deletedBy` string, nullable — The reference to an account or token whom deleted the entity
  - `_links` LinkOutput[], nullable
    - `href` string, nullable — The URI to the linked resource
    - `rel` string, nullable — The name of the linked resource
    - `type` string, nullable — The (http(s)) method needed to approach the linked resource

## Other responses

- `400` — Bad request, see response body for more information
- `401` — Unauthorized. Supplied credentials are invalid
- `403` — Forbidden. Supplied credentials have no rights
- `404` — Resource not found
- `405` — Used HTTP method is not allowed
- `406` — Not acceptable. The supplied content type in the accept parameter in the header is not supported
- `410` — Indicates that this resource is no longer available for use
- `415` — Unsupported media. The supplied content type in the content-type parameter in the header is not supported
- `422` — Unprocessable entity
- `429` — Rate limit reached.
- `500` — An internal error occurred.
- `503` — The server is currently unable to handle your request

---

[API](https://skmtc.dev/pay/apis/pay-transaction-gateway-unit-api.md) · [All operations](https://skmtc.dev/pay/apis/pay-transaction-gateway-unit-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/pay/pay-transaction-gateway-unit-api/revisions/2bc260c7bdfc/schema)
