Update a merchant
curl --request PATCH \
--url https://api.centsless.org/api/v1/partner/merchants/{merchantId} \
--header 'Content-Type: application/json' \
--header 'x-api-key: <api-key>' \
--data '
{
"merchant_name": "<string>",
"contact_email": "<string>",
"status": "<string>"
}
'const options = {
method: 'PATCH',
headers: {'x-api-key': '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({merchant_name: '<string>', contact_email: '<string>', status: '<string>'})
};
fetch('https://api.centsless.org/api/v1/partner/merchants/{merchantId}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.centsless.org/api/v1/partner/merchants/{merchantId}"
payload = {
"merchant_name": "<string>",
"contact_email": "<string>",
"status": "<string>"
}
headers = {
"x-api-key": "<api-key>",
"Content-Type": "application/json"
}
response = requests.patch(url, json=payload, headers=headers)
print(response.text){
"error": "INVALID_REQUEST",
"message": "<string>",
"errors": [
"<string>"
]
}Partner
Update a merchant
PATCH
/
partner
/
merchants
/
{merchantId}
Update a merchant
curl --request PATCH \
--url https://api.centsless.org/api/v1/partner/merchants/{merchantId} \
--header 'Content-Type: application/json' \
--header 'x-api-key: <api-key>' \
--data '
{
"merchant_name": "<string>",
"contact_email": "<string>",
"status": "<string>"
}
'const options = {
method: 'PATCH',
headers: {'x-api-key': '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({merchant_name: '<string>', contact_email: '<string>', status: '<string>'})
};
fetch('https://api.centsless.org/api/v1/partner/merchants/{merchantId}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.centsless.org/api/v1/partner/merchants/{merchantId}"
payload = {
"merchant_name": "<string>",
"contact_email": "<string>",
"status": "<string>"
}
headers = {
"x-api-key": "<api-key>",
"Content-Type": "application/json"
}
response = requests.patch(url, json=payload, headers=headers)
print(response.text){
"error": "INVALID_REQUEST",
"message": "<string>",
"errors": [
"<string>"
]
}
