Get customer's address data
DeprecatedRequired Scopes: `CUSTOMER_SELF_SERVICE_READ` Returns customer current address data along with requested change of this data
Endpoint
/v1/customers/{customerId}/self-service/address-data Path Parameters
customerId required integer (int64) Unique ID of the customer
Responses
Response Body application/json
street required Street of the customer
"Am Bahnhof" houseNumber Number of the customer's house
"90" zipCode required Zip code of the customer
"12133" city required City of the customer
"Munich" countryCode string(ISO 3166-1) required Country of the customer
"DE" province Province for southern Europe/US countries
"Madrid/California" provinceCode Province code for southern Europe/US countries
"MD/CA" secondStreet Second street line of the customer's address
"Second Street" cityPart City part of the customer's address
"Tegel" district District of the customer's address
"District 12" streetType Street type of the customer's address
"Avenue" streetBlock Street block of the customer's address
"5th block" portal Portal of the customer's address
"Portal 1" stairway Stairway of the customer's address
"Right stairway" door Door of the customer's address
"Door 1" additionalAddressInformation Additional address information of the customer's address
"Additional information" floor Floor of the customer's address
"2nd floor" buildingName Building name
"Empire State Building" amendmentConfigurationStatus required Status of the amendment configuration.
READ | No changes to data are possible. |
CHANGES_REQUIRE_VERIFICATION | Data can be changed, but needs verification to be applied to the customer. |
CHANGES_WITHOUT_VERIFICATION | Data can be changed, will be applied to the customer with immediate effect. |
"CHANGES_REQUIRE_VERIFICATION" pendingAmendment id integer(int64) Amendment proposal id
street required Street of the customer
"Am Bahnhof" houseNumber Number of the customer's house
"90" zipCode required Zip code of the customer
"12133" city required City of the customer
"Munich" countryCode string(ISO 3166-1) required Country of the customer
"DE" province Province for southern Europe/US countries
"Madrid/California" provinceCode Province code for southern Europe/US countries
"MD/CA" secondStreet Second street line of the customer's address
"Second Street" cityPart City part of the customer's address
"Tegel" district District of the customer's address
"District 12" streetType Street type of the customer's address
"Avenue" streetBlock Street block of the customer's address
"5th block" portal Portal of the customer's address
"Portal 1" stairway Stairway of the customer's address
"Right stairway" door Door of the customer's address
"Door 1" additionalAddressInformation Additional address information of the customer's address
"Additional information" floor Floor of the customer's address
"2nd floor" buildingName Building name
"Empire State Building" Response Body application/json
Error data
errorMessage required Resolved message in the context-specific default locale
errorCode Key for translation files
traceId Datadog trace id
args array[object] deprecated Arguments referenced by format specifiers while resolving the message from translation files
typedArgs array[object] deprecated Same as `args` but with type information
value type TIMESTAMP BOOLEAN DATE MONTH_DAY TIME TERM TERM_LIST INTEGER DECIMAL STRING MONEY LIMITABLE_CONFIG_PROPERTY I18N_KEY I18N_KEY_LIST PERMISSION_LIST ENUM AVAILABILITY_LIST reference Reference to validation error
"parent.child" Response Body application/json
Error data
errorMessage required Resolved message in the context-specific default locale
errorCode Key for translation files
traceId Datadog trace id
args array[object] deprecated Arguments referenced by format specifiers while resolving the message from translation files
typedArgs array[object] deprecated Same as `args` but with type information
value type TIMESTAMP BOOLEAN DATE MONTH_DAY TIME TERM TERM_LIST INTEGER DECIMAL STRING MONEY LIMITABLE_CONFIG_PROPERTY I18N_KEY I18N_KEY_LIST PERMISSION_LIST ENUM AVAILABILITY_LIST reference Reference to validation error
"parent.child" Response Body application/json
Error data
errorMessage required Resolved message in the context-specific default locale
errorCode Key for translation files
traceId Datadog trace id
args array[object] deprecated Arguments referenced by format specifiers while resolving the message from translation files
typedArgs array[object] deprecated Same as `args` but with type information
value type TIMESTAMP BOOLEAN DATE MONTH_DAY TIME TERM TERM_LIST INTEGER DECIMAL STRING MONEY LIMITABLE_CONFIG_PROPERTY I18N_KEY I18N_KEY_LIST PERMISSION_LIST ENUM AVAILABILITY_LIST reference Reference to validation error
"parent.child" Response Body application/json
Error data
errorMessage required Resolved message in the context-specific default locale
errorCode Key for translation files
traceId Datadog trace id
args array[object] deprecated Arguments referenced by format specifiers while resolving the message from translation files
typedArgs array[object] deprecated Same as `args` but with type information
value type TIMESTAMP BOOLEAN DATE MONTH_DAY TIME TERM TERM_LIST INTEGER DECIMAL STRING MONEY LIMITABLE_CONFIG_PROPERTY I18N_KEY I18N_KEY_LIST PERMISSION_LIST ENUM AVAILABILITY_LIST reference Reference to validation error
"parent.child" Response Body application/json
Error data
errorMessage required Resolved message in the context-specific default locale
errorCode Key for translation files
traceId Datadog trace id
args array[object] deprecated Arguments referenced by format specifiers while resolving the message from translation files
typedArgs array[object] deprecated Same as `args` but with type information
value type TIMESTAMP BOOLEAN DATE MONTH_DAY TIME TERM TERM_LIST INTEGER DECIMAL STRING MONEY LIMITABLE_CONFIG_PROPERTY I18N_KEY I18N_KEY_LIST PERMISSION_LIST ENUM AVAILABILITY_LIST reference Reference to validation error
"parent.child" Response Body application/json
Error data
errorMessage required Resolved message in the context-specific default locale
errorCode Key for translation files
traceId Datadog trace id
args array[object] deprecated Arguments referenced by format specifiers while resolving the message from translation files
typedArgs array[object] deprecated Same as `args` but with type information
value type TIMESTAMP BOOLEAN DATE MONTH_DAY TIME TERM TERM_LIST INTEGER DECIMAL STRING MONEY LIMITABLE_CONFIG_PROPERTY I18N_KEY I18N_KEY_LIST PERMISSION_LIST ENUM AVAILABILITY_LIST reference Reference to validation error
"parent.child" Response Body application/json
Error data
errorMessage required Resolved message in the context-specific default locale
errorCode Key for translation files
traceId Datadog trace id
args array[object] deprecated Arguments referenced by format specifiers while resolving the message from translation files
typedArgs array[object] deprecated Same as `args` but with type information
value type TIMESTAMP BOOLEAN DATE MONTH_DAY TIME TERM TERM_LIST INTEGER DECIMAL STRING MONEY LIMITABLE_CONFIG_PROPERTY I18N_KEY I18N_KEY_LIST PERMISSION_LIST ENUM AVAILABILITY_LIST reference Reference to validation error
"parent.child"