This is valid only for v2.0 endpoints. For version 1.0 see:
The address object in Duett. Validation applies for Norwegian addresses and is done against the the list of valid Norwegian zipcodes that can be fetched from
.
Address object for Customers and Suppliers
Property |
Description |
Default |
Create |
address1 |
Required. The first line of the street address. |
|
x |
address2 |
The second address line of the street address, if relevant. |
|
x |
address3 |
The third address line of the street address, if relevant. |
|
x |
zipCodeKey |
Required for addresses within Norway. Must be null for addresses outside Norway. A valid Norwegian zipcode, can be fetched from Register/v2/ZipCodes . |
|
x |
isForeign |
Boolean. Set to true if the address if foreign. This flags the supplier or customer as foreign which shows you abroadZipCodeKey and abroadZipCodeName in the Duett application. |
|
|
zipCodeName |
If the address is in Norway, this is automatically populated if a valid zipCodeKey is entered. |
|
|
AbroadZipCodeKey |
Used only in supplier. If the supplier address is outside of Norway, this field can be used for zip codes, but there is no internal validation on codes in here. |
|
x |
AbroadZipCodeName |
Used only in supplier. If the supplier address is outside of Norway, this field can be used for zip code names, but there is no internal validation on names in here. |
|
x |
countryCode |
Used only in supplier. The country code of the country this address is in.Register/v2/ZipCodes . |
|
x |
country |
Used only in customer.
Required for addresses outside Norway. Optional for addresses in Norway.
Name of the country the address is in and not the country code. If the country is other than Norway, Noreg, Norge, the postcode will not be saved/or removed when it is changed.
|
|
x |