External id of the customer that is globally unique across the provided customer data
Identifier of the client entity in the source system which can be used to separate data
Type (role) of the customer as defined in the source system (e.g. SOLD_TO, SHIP_TO, BILL_TO, PAYER)
Two letter country code as defined in ISO 3166-1 alpha-2
List of VAT IDs assigned to the customer
[ { "id": "DE123456789", "countryCode": "DE" } ]
List of Tax IDs assigned to the customer
[ { "id": "123-456-789", "type": "TIN" } ]
13-digit Global Location Number (GLN) used for unique location identification in B2B transactions
D-U-N-S Number issued by Dun & Bradstreet. A globally used identifier for business entities.
List of key value pairs containing custom fields from the source system
Any nested structure with metadata that source system needs to send
{ "someTopLevelProperty": "value1", "someNestedProperty": { "nestedProperty": "value2" }, "someArrayProperty": [ "value3", "value4" ] }
- API EUhttps://api.cloud.hypatos.ai/v2/enrichment/customers/{externalId}
- API UShttps://api.cloud.hypatos.com/v2/enrichment/customers/{externalId}
- Mock serverhttps://hypatos.redocly.app/_mock/openapi/enrichment/customers/{externalId}
curl -i -X PATCH \
'https://api.cloud.hypatos.ai/v2/enrichment/customers/{externalId}' \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>' \
-H 'Content-Type: application/merge-patch+json' \
-d '{
"externalId": "0000100000",
"externalClientId": "EXTERNAL_CLIENT_ID",
"code": "CODE1",
"type": "SOLD_TO",
"name": "Acmne Corp.",
"nameAlternative1": "Acmne Corp.",
"nameAlternative2": "Acmne Corp.",
"nameAlternative3": "Acmne Corp.",
"nameAlternative4": "Acmne Corp.",
"street": "Hauptstr. 1",
"addressAdditional": "Eingang B",
"postcode": "10001",
"city": "Berlin",
"countryCode": "DE",
"vatIds": [
{
"id": "DE123456789",
"countryCode": "DE"
}
],
"taxIds": [
{
"id": "123-456-789",
"type": "TIN"
}
],
"blockedForPosting": false,
"blockedForPayment": false,
"blockedForOrdering": false,
"blockedForDelivery": false,
"globalLocationNumber": "4000001000002",
"duns": "123456789",
"customerSubsidiaries": [
{
"defaultAccountAssignment": {
"glAccountCode": "0000100GL1",
"costCenterCode": "0000100CC1",
"externalApproverId": "MMUSTERMANN",
"externalProjectId": "PROJ1234",
"externalOrderId": "ORDER1234"
},
"externalCompanyId": "DE01",
"paymentTerms": {
"paymentTermKey": "T10",
"descriptions": [
{
"text": "Please pay us",
"language": "en"
}
]
},
"blockedForPosting": false,
"blockedForPayment": false,
"enabledForAutoPosting": true,
"withholdingTaxInfo": [
{
"key": "WHT-432",
"descriptions": [
{
"text": "Some very deep description of the type of withholding tax",
"language": "en"
}
]
}
]
}
],
"customerBankAccounts": [
{
"externalId": "12341234",
"countryCode": "DE",
"bankAccountNumber": "78090",
"bankAccountHolder": "Maximilian Mustermann",
"iban": "DE91100000000123456789",
"bic": "CHASUS33XXX",
"bankName": "Deutsche Bank",
"bankStreet": "Hauptstr. 1",
"bankPostcode": "10001",
"bankCity": "Berlin",
"isActive": true,
"type": "SAVINGS",
"bankKey": "60-16-13"
}
],
"customFields": {
"property1": "string",
"property2": "string"
},
"customMetadata": {
"someTopLevelProperty": "value1",
"someNestedProperty": {
"nestedProperty": "value2"
},
"someArrayProperty": [
"value3",
"value4"
]
},
"salesOrganizationInfo": [
{
"externalSalesOrganizationId": "1000",
"distributionChannel": "2000",
"division": "3000",
"salesGroup": "4000",
"salesOffice": "5000",
"blockedForOrdering": true,
"blockedForDelivery": false,
"shippingAddresses": [
"ADDR001",
"ADDR002"
],
"billingAddresses": [
"ADDR003"
],
"salesOrganizationCode": "SO001",
"salesUnit": {
"unitOfMeasure": "PK",
"conversionFactorToBaseUnit": 1000,
"description": "Package of 10 units"
},
"paymentTerms": {
"paymentTermKey": "T10",
"descriptions": [
{
"text": "Please pay us",
"language": "en"
}
]
},
"customerGroup1": "01",
"customerGroup2": "02",
"customerGroup3": "03",
"customerGroup4": "04",
"customerGroup5": "05"
}
]
}'Successfully updated
External id of the customer that is globally unique across the provided customer data
Identifier of the client entity in the source system which can be used to separate data
Type (role) of the customer as defined in the source system (e.g. SOLD_TO, SHIP_TO, BILL_TO, PAYER)
Two letter country code as defined in ISO 3166-1 alpha-2
List of VAT IDs assigned to the customer
[ { "id": "DE123456789", "countryCode": "DE" } ]
List of Tax IDs assigned to the customer
[ { "id": "123-456-789", "type": "TIN" } ]
13-digit Global Location Number (GLN) used for unique location identification in B2B transactions
D-U-N-S Number issued by Dun & Bradstreet. A globally used identifier for business entities.
List of key value pairs containing custom fields from the source system
Any nested structure with metadata that source system needs to send
{ "someTopLevelProperty": "value1", "someNestedProperty": { "nestedProperty": "value2" }, "someArrayProperty": [ "value3", "value4" ] }
{ "externalId": "0000100000", "externalClientId": "EXTERNAL_CLIENT_ID", "code": "CODE1", "type": "SOLD_TO", "name": "Acmne Corp.", "nameAlternative1": "Acmne Corp.", "nameAlternative2": "Acmne Corp.", "nameAlternative3": "Acmne Corp.", "nameAlternative4": "Acmne Corp.", "street": "Hauptstr. 1", "addressAdditional": "Eingang B", "postcode": "10001", "city": "Berlin", "countryCode": "DE", "vatIds": [ { … } ], "taxIds": [ { … } ], "blockedForPosting": false, "blockedForPayment": false, "blockedForOrdering": false, "blockedForDelivery": false, "globalLocationNumber": "4000001000002", "duns": "123456789", "customerSubsidiaries": [ { … } ], "customerBankAccounts": [ { … } ], "customFields": { "property1": "string", "property2": "string" }, "customMetadata": { "someTopLevelProperty": "value1", "someNestedProperty": { … }, "someArrayProperty": [ … ] }, "salesOrganizationInfo": [ { … } ] }