UpdateClientAddress

Usage


Allows you to update a customer’s address details. Any existing address of the specified type held by Debitsuccess will be marked as AddressType = Previous and replaced by the address data supplied in this message.


Parameters

Name

Data Type

Length


Description

User





  • Username

String


Required

Provided by Debitsuccess

  • Password

String


Required

Provided by Debitsuccess

RequestInitiator

String

100

Optional

Optional – allows requesting user to be logged

AccountReferenceNo

String

15

Optional*

Debitsuccess account reference

ExternalAccountReferenceNo

String

50

Optional*

External account reference

NewAddress

 

 

 

 

  • AddressType

Enum



Physical/Postal

  • Street

String

60



  • Suburb

String

50


Maximum length 50 characters

  • City

String

50


Maximum length 50 characters

  • State

Enum



See table

  • Country

Enum



Australia, NewZealand, UnitedStatesOfAmerica

  • Postcode

String

10


Maximum length 10 characters

  • Preferred

Boolean



Customer’s preferred address (true or false)

  • Locality

String




* At least one of the following parameters must be supplied: AccountReferenceNo, ExternalAccountReferenceNo

Response 

Name

Data Type

Description

DateCreated

DateTime

Date/time message was processed

Id

String

Unique ID for the message

ResponseNotes ()


Collection of validation messages

  • Code

String


  • Note

String


  • NoteType

Enum

Error, Warning, Info

Status

Enum

Failed, Succeed, Unknown


Error Message

TypeError CodeError Message
Error12027Missing Street parameter
Error13016Invalid address type
Error14123Street cannot exceed 60 characters.
Error14124Locality cannot exceed 60 characters.
Error14125City cannot exceed 50 characters.
Error14126Suburb cannot exceed 50 characters.
Error

13203

<Field name> field cannot be more than <maxlength> characters.

Error12026Missing or invalid Postcode parameter
Error13302Invalid State - please refer to the API documentation for valid values.
Error12024Missing City parameter
Error12025Missing Suburb parameter
Error12028Missing State parameter
Error12034Missing Locality parameter
Error02Invalid user credentials
Error12016Missing required reference number. Must provide either ExternalAccountReferenceNo or AccountReferenceNo or both.
Error08There is no record found with this criteria
Error10Account is not active
Error07Multiple accounts found with this criteria
Info00Success

Related Pages

On this page:

REST API

PUT Address




© 2021 Debitsuccess. All rights reserved