Update a contact
curl --request PATCH \
--url https://api.simplepay.mx/v1/customer-hub/customers/{customer_id}/contacts/{contact_id} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{}'const options = {
method: 'PATCH',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({})
};
fetch('https://api.simplepay.mx/v1/customer-hub/customers/{customer_id}/contacts/{contact_id}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.simplepay.mx/v1/customer-hub/customers/{customer_id}/contacts/{contact_id}"
payload = {}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.patch(url, json=payload, headers=headers)
print(response.text)Update a contact
PATCH
/
v1
/
customer-hub
/
customers
/
{customer_id}
/
contacts
/
{contact_id}
Update a contact
curl --request PATCH \
--url https://api.simplepay.mx/v1/customer-hub/customers/{customer_id}/contacts/{contact_id} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{}'const options = {
method: 'PATCH',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({})
};
fetch('https://api.simplepay.mx/v1/customer-hub/customers/{customer_id}/contacts/{contact_id}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.simplepay.mx/v1/customer-hub/customers/{customer_id}/contacts/{contact_id}"
payload = {}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.patch(url, json=payload, headers=headers)
print(response.text)Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Body
application/json
The body is of type object.
Response
2XX
Forwarded to the owning origin Worker.
Last modified on September 1, 2026