The Spanish version is the authoritative reference. View in Spanish
updateAccount
PATCH /api/account/updateAccount/{countryId}
Updates the data of an existing account. Only the fields to be modified are sent.
SBX
https://gosocket-onboarding-api-sbx.gosocket.net/api/account/updateAccount/{countryId}PRD
https://global-apim-prd.gosocket.net/ms-onboardingapi/api/account/updateAccount/{countryId}| Field | Type | Req. | Description |
|---|---|---|---|
countryId (path) | string | Required | ISO country code |
accountUser.account.code | string | Required | Company TaxId / RUT |
accountUser.account.name | string | Optional | New company name |
accountUser.account.description | string | Optional | New description |
accountUser.account.address | string | Optional | New address |
accountUser.account.city | string | Optional | New city |
accountUser.account.province | string | Optional | New province |
accountUser.account.phone | string | Optional | New phone number |
accountUser.account.fax | string | Optional | New fax |
accountUser.user.name | string | Optional | Admin user name |
accountUser.user.email | string | Optional | Admin user email |
accountUser.authenticationMethod | integer | Optional | 1 = OAuth 2.0 · 0 = Basic Auth |
updateAccount
{
"accountUser": {
"account": {
"code": "{{taxId}}",
"name": "Updated Company Name",
"description": "Updated description",
"address": "New address",
"city": "City",
"province": "Province",
"phone": "+56900000000"
},
"user": {
"name": "Admin User Name",
"email": "user@company.com"
},
"authenticationMethod": 1
}
}