Update customer onboarding application
curl --request PUT \
--url https://api.anchorage-staging.com/v2/onboarding/customers/{customerId} \
--header 'Api-Access-Key: <api-key>' \
--header 'Content-Type: application/json' \
--data '
{
"entries": [
{
"key": "<string>",
"value": "<string>"
}
]
}
'import requests
url = "https://api.anchorage-staging.com/v2/onboarding/customers/{customerId}"
payload = { "entries": [
{
"key": "<string>",
"value": "<string>"
}
] }
headers = {
"Api-Access-Key": "<api-key>",
"Content-Type": "application/json"
}
response = requests.put(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'PUT',
headers: {'Api-Access-Key': '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({entries: [{key: '<string>', value: '<string>'}]})
};
fetch('https://api.anchorage-staging.com/v2/onboarding/customers/{customerId}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"data": {
"customerId": "<string>",
"status": "<string>",
"id": "<string>"
}
}{
"errorType": "InternalError",
"message": "Missing required field 'amount'."
}{
"errorType": "InternalError",
"message": "Missing required field 'amount'."
}{
"errorType": "InternalError",
"message": "Missing required field 'amount'."
}{
"errorType": "InternalError",
"message": "Missing required field 'amount'."
}{
"errorType": "InternalError",
"message": "Missing required field 'amount'."
}{
"errorType": "InternalError",
"message": "Missing required field 'amount'."
}{
"errorType": "InternalError",
"message": "Missing required field 'amount'."
}{
"errorType": "InternalError",
"message": "Missing required field 'amount'."
}Update customer onboarding application
Permissions required: Onboarding
Update an existing customer application before it is submitted. The application data is replaced by the entries of the update payload. If any field is invalid, the entire update fails and no data is changed.
PUT
/
onboarding
/
customers
/
{customerId}
Update customer onboarding application
curl --request PUT \
--url https://api.anchorage-staging.com/v2/onboarding/customers/{customerId} \
--header 'Api-Access-Key: <api-key>' \
--header 'Content-Type: application/json' \
--data '
{
"entries": [
{
"key": "<string>",
"value": "<string>"
}
]
}
'import requests
url = "https://api.anchorage-staging.com/v2/onboarding/customers/{customerId}"
payload = { "entries": [
{
"key": "<string>",
"value": "<string>"
}
] }
headers = {
"Api-Access-Key": "<api-key>",
"Content-Type": "application/json"
}
response = requests.put(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'PUT',
headers: {'Api-Access-Key': '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({entries: [{key: '<string>', value: '<string>'}]})
};
fetch('https://api.anchorage-staging.com/v2/onboarding/customers/{customerId}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"data": {
"customerId": "<string>",
"status": "<string>",
"id": "<string>"
}
}{
"errorType": "InternalError",
"message": "Missing required field 'amount'."
}{
"errorType": "InternalError",
"message": "Missing required field 'amount'."
}{
"errorType": "InternalError",
"message": "Missing required field 'amount'."
}{
"errorType": "InternalError",
"message": "Missing required field 'amount'."
}{
"errorType": "InternalError",
"message": "Missing required field 'amount'."
}{
"errorType": "InternalError",
"message": "Missing required field 'amount'."
}{
"errorType": "InternalError",
"message": "Missing required field 'amount'."
}{
"errorType": "InternalError",
"message": "Missing required field 'amount'."
}Path Parameters
Body
application/json
Was this page helpful?