API v1FiatPe Home

Update Contact

PUThttps://api.fiatpe.com/v1/contacts//v1/contacts/
Copy

Update the details of an existing contact using its unique contact ID. This API allows you to modify contact information such as name, email address, phone number, category, reference ID, and metadata. Only the fields provided in the request are updated, while the remaining contact details remain unchanged.

Headers

Sent as Authorization: Basic base64(Api Key:Salt Key)

Path Parameters

contact_id*string

Body Parameters

namestring

The full name of the individual or business associated with the contact.

emailemail

The email address associated with the contact, used for identification and communication purposes.

phonestring

The mobile phone number associated with the contact, used for identification and communication purposes.

categorystring
selfvendorcustomeremployee

The category of the contact, used to classify individuals or businesses based on their relationship with the merchant, such as customer, vendor, employee, or other.

metadatajson object

Additional key-value information associated with the contact, used for internal tracking, identification, reporting, or storing custom contact-related details.

activeboolean

Indicates whether the contact is active or inactive. Set to true to activate the contact or false to deactivate it.