Insert or update customer information, create accounts on the customer or create, attach or disconnect companies to the customer.
Read more about the method here.
required | object <CustomerHeader> (CustomerHeader) JSON or XML serialized string of the CustomerHeader object. |
Success
Bad Request
Internal Server Error
[- {
- "Accounts": [
- {
- "ApplicationKey": "15d62d1f-3a4e-4111-845a-4db40bf08e87",
- "LoginName": "string",
- "Password": "string",
- "Roles": [
- {
- "Code": "string",
- "IsActive": true
}
], - "Status": "Active"
}
], - "AdditionalInfo": [
- {
- "Code": "string",
- "Value": "string"
}
], - "ApplicationKey": "15d62d1f-3a4e-4111-845a-4db40bf08e87",
- "CellPhoneNumber": "string",
- "Code": "string",
- "Companies": [
- {
- "Code": "string",
- "Id": 0,
- "IsPrimary": true,
- "Name": "string",
- "OrganizationNo": "string"
}
], - "CrmId": "string",
- "DeliveryAddresses": [
- {
- "AddressLine1": "string",
- "AddressLine2": "string",
- "CareOf": "string",
- "City": "string",
- "Code": "string",
- "CountryCode": "string",
- "Gln": "string",
- "IsPrimary": true,
- "IsValidated": true,
- "Region": "string",
- "ShippingPhoneNumber": "string",
- "ZipCode": "string"
}
], - "EmailAddress": "string",
- "FirstName": "string",
- "Flags": [
- {
- "Code": "string",
- "IsActive": true,
- "IsCreateOnly": true,
- "IsLimitedUpdate": true,
- "StopDate": "string"
}
], - "Id": 0,
- "InvoiceAddress": {
- "AddressLine1": "string",
- "AddressLine2": "string",
- "CareOf": "string",
- "City": "string",
- "Code": "string",
- "CountryCode": "string",
- "Gln": "string",
- "IsPrimary": true,
- "IsValidated": true,
- "Region": "string",
- "ShippingPhoneNumber": "string",
- "ZipCode": "string"
}, - "IsActive": true,
- "IsCompanyListDelta": true,
- "LastName": "string",
- "MiddleName": "string",
- "PhoneNumber": "string",
- "PriceLists": [
- {
- "Code": "string",
- "IsExclusive": true
}
], - "SocialSecurityNumber": "string",
- "Title": "string",
- "Type": 0
}
]
{- "StatusCode": "string",
- "Description": "string",
- "JobId": "string",
- "ValidationSummary": {
- "NrOfItemsInTotal": 0,
- "NrOfValidationFailures": 0,
- "Messages": [
- "string"
]
}
}