Update a customer
curl --request POST \
--url https://sandbox-platform.jupico.com/v1/customers/update \
--header 'Authorization: Basic <encoded-value>' \
--header 'Content-Type: application/json' \
--data '
{
"customerId": "",
"subMerchantId": "jpt-sim-md-1",
"name": "John Doe 33",
"email": "johndoe@jdoe.com",
"phone": "012345678"
}
'import requests
url = "https://sandbox-platform.jupico.com/v1/customers/update"
payload = {
"customerId": "",
"subMerchantId": "jpt-sim-md-1",
"name": "John Doe 33",
"email": "johndoe@jdoe.com",
"phone": "012345678"
}
headers = {
"Authorization": "Basic <encoded-value>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Basic <encoded-value>', 'Content-Type': 'application/json'},
body: JSON.stringify({
customerId: '',
subMerchantId: 'jpt-sim-md-1',
name: 'John Doe 33',
email: 'johndoe@jdoe.com',
phone: '012345678'
})
};
fetch('https://sandbox-platform.jupico.com/v1/customers/update', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));const url = 'https://sandbox-platform.jupico.com/v1/customers/update';
const options = {
method: 'POST',
headers: {Authorization: 'Basic <encoded-value>', 'Content-Type': 'application/json'},
body: JSON.stringify({
customerId: '',
subMerchantId: 'jpt-sim-md-1',
name: 'John Doe 33',
email: 'johndoe@jdoe.com',
phone: '012345678'
})
};
fetch(url, options)
.then(res => res.json())
.then(json => console.log(json))
.catch(err => console.error(err));{
"customerId": "<string>",
"subMerchantId": "<string>",
"name": "<string>",
"email": "<string>",
"phone": "<string>"
}Customer
Update a customer
Updates an existing customer’s details. Returns the updated customer.
POST
https://sandbox-platform.jupico.com
/
v1
/
customers
/
update
Update a customer
curl --request POST \
--url https://sandbox-platform.jupico.com/v1/customers/update \
--header 'Authorization: Basic <encoded-value>' \
--header 'Content-Type: application/json' \
--data '
{
"customerId": "",
"subMerchantId": "jpt-sim-md-1",
"name": "John Doe 33",
"email": "johndoe@jdoe.com",
"phone": "012345678"
}
'import requests
url = "https://sandbox-platform.jupico.com/v1/customers/update"
payload = {
"customerId": "",
"subMerchantId": "jpt-sim-md-1",
"name": "John Doe 33",
"email": "johndoe@jdoe.com",
"phone": "012345678"
}
headers = {
"Authorization": "Basic <encoded-value>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Basic <encoded-value>', 'Content-Type': 'application/json'},
body: JSON.stringify({
customerId: '',
subMerchantId: 'jpt-sim-md-1',
name: 'John Doe 33',
email: 'johndoe@jdoe.com',
phone: '012345678'
})
};
fetch('https://sandbox-platform.jupico.com/v1/customers/update', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));const url = 'https://sandbox-platform.jupico.com/v1/customers/update';
const options = {
method: 'POST',
headers: {Authorization: 'Basic <encoded-value>', 'Content-Type': 'application/json'},
body: JSON.stringify({
customerId: '',
subMerchantId: 'jpt-sim-md-1',
name: 'John Doe 33',
email: 'johndoe@jdoe.com',
phone: '012345678'
})
};
fetch(url, options)
.then(res => res.json())
.then(json => console.log(json))
.catch(err => console.error(err));{
"customerId": "<string>",
"subMerchantId": "<string>",
"name": "<string>",
"email": "<string>",
"phone": "<string>"
}Authorizations
Basic authentication header of the form Basic <encoded-value>, where <encoded-value> is the base64-encoded string username:password.
Body
application/json
Update a customer
Last modified on August 31, 2026
Was this page helpful?

