Accounts
Update accounts
Request
{
"ClientToken": "E0D439EE522F44368DC78E1BFB03710C-D24FB11DBE31D4621C4817E028D9E1D",
"AccessToken": "C66EF7B239D24632943D115EDE9CB810-EA00F8FD8294692C940F6B5A8F9453D",
"Client": "Sample Client 1.0.0",
"AccountUpdates": [
{
"Id": "3ff104e6-3ba8-4dfc-8d35-b0ec00c5fd4c",
"Discriminator": "Company",
"Customer": null,
"Company": {
"Email": {
"Value": "[email protected]"
},
"TaxIdentifier": {
"Value": "CZ8810310963"
},
"BillingCode": {
"Value": null
},
"AccountingCode": {
"Value": null
},
"Notes": {
"Value": "Example notes"
},
"Name": {
"Value": "Example company"
},
"MotherCompanyId": {
"Value": "839e9d92-aa8b-48bf-8384-b0ec0081bb34"
},
"WebsiteUrl": {
"Value": "https://www.example.com"
},
"InvoiceDueInterval": {
"Value": null
},
"CreditRatingBasic": {
"Value": "CreditOk"
},
"Department": {
"Value": "Accounting"
},
"DunsNumber": {
"Value": "987654321"
},
"ReferenceId": {
"Value": null
},
"ExternalIdentifier": {
"Value": "COM-123"
},
"AdditionalTaxIdentifier": {
"Value": "XY00112233445"
},
"Contact": {
"Value": "Sample contact"
},
"ContactPerson": {
"Value": "Sample person"
},
"FiscalIdentifier": {
"Value": "FiscalIdentifier"
},
"Iata": {
"Value": "PAO"
},
"Telephone": {
"Value": "111-222-333"
},
"SourceId": {
"Value": "F42098A0-8507-4963-ACC9-B0EC00821949"
},
"Classifications": {
"Corporate": {
"Value": true
},
"Internal": {
"Value": true
},
"Private": {
"Value": true
},
"OnlineTravelAgency": {
"Value": true
},
"GlobalDistributionSystem": {
"Value": true
},
"Marketing": {
"Value": true
},
"Inactive": {
"Value": true
}
},
"Options": {
"Invoiceable": {
"Value": "true"
},
"AddFeesToInvoices": {
"Value": "true"
}
}
}
},
{
"Id": "71db411f-c1d6-4e1c-9cd7-44e8bf45f936",
"Discriminator": "Customer",
"Company": null,
"Customer": {
"Email": {
"Value": "[email protected]"
},
"TaxIdentifier": {
"Value": "CZ8810310963"
},
"BillingCode": {
"Value": null
},
"AccountingCode": {
"Value": null
},
"Notes": {
"Value": "Example notes"
},
"LastName": {
"Value": "Sample"
},
"FirstName": {
"Value": "Sample"
},
"SecondLastName": {
"Value": null
},
"BirthPlace": {
"Value": "Sample place"
},
"Telephone": {
"Value": "111-222-333"
},
"Occupation": {
"Value": null
},
"CarRegistrationNumber": {
"Value": null
},
"LoyaltyCode": {
"Value": null
},
"NationalityCode": {
"Value": "US"
},
"CompanyId": {
"Value": "839e9d92-aa8b-48bf-8384-b0ec0081bb34"
},
"BirthDate": {
"Value": "2000-01-01"
},
"Sex": {
"Value": "Male"
},
"Title": {
"Value": "Mister"
},
"PreferredLanguageCode": {
"Value": null
},
"Options": {
"SendMarketingEmails": {
"Value": true
},
"Invoiceable": {
"Value": true
},
"BillAddressObjection": {
"Value": true
}
},
"Classifications": {
"PaymasterAccount": {
"Value": true
},
"Blacklist": {
"Value": true
},
"Media": {
"Value": true
},
"LoyaltyProgram": {
"Value": true
},
"PreviousComplaint": {
"Value": true
},
"Returning": {
"Value": true
},
"Staff": {
"Value": true
},
"FriendOrFamily": {
"Value": true
},
"TopManagement": {
"Value": true
},
"Important": {
"Value": true
},
"VeryImportant": {
"Value": true
},
"Problematic": {
"Value": true
},
"Cashlist": {
"Value": true
},
"DisabledPerson": {
"Value": true
},
"Military": {
"Value": true
},
"Airline": {
"Value": true
},
"HealthCompliant": {
"Value": true
},
"InRoom": {
"Value": true
},
"WaitingForRoom": {
"Value": true
},
"Student": {
"Value": true
}
},
"LegalEntityIdentifiers": {
"ItDestinationCode": {
"Value": null
},
"ItFiscalCode": {
"Value": null
}
}
}
}
]
}Property
Type
Contract
Description
Account update parameters
Property
Type
Contract
Description
Account type discriminator
Customer update parameters
Property
Type
Contract
Description
Customer update options
Property
Type
Contract
Description
Customer update classifications
Property
Type
Contract
Description
Customer update legal entity identifiers
Property
Type
Contract
Description
Company update parameters
Property
Type
Contract
Description
Company update classifications
Property
Type
Contract
Description
Credit rating basic
Response
Property
Type
Contract
Description
Account
Property
Type
Contract
Description
Account type
Customer
Property
Type
Contract
Description
Customer options
Property
Type
Contract
Description
Customer classifications
Property
Type
Contract
Description
Customer legal identifiers
Property
Type
Contract
Description
Company
Property
Type
Contract
Description
Company classifications
Property
Type
Contract
Description
Company options
Property
Type
Contract
Description
Upload and link file to account
Request
Property
Type
Contract
Description
Response
Property
Type
Contract
Description
Merge accounts
Request
Property
Type
Contract
Description
Account merge parameters
Property
Type
Contract
Description
Account merge type
Response
Last updated
Was this helpful?