PUT Customers/{customerNumber}/Addresses

Update an additional Address - to update default address use "default" as AddressType or update Customer instead Address

Request Information

URI Parameters

NameDescriptionTypeAdditional information
customerNumber

customer number

string

Required

Body Parameters

Address data

InitPro.Ida.Web.Api.Dto.Address
NameDescriptionTypeAdditional information
AddressId

internal id of Address

integer

None.

AddressType

Type of Address: e.g. Invoice, Delivery - your translation is used

string

None.

CompanyName

name of company

string

None.

Department

name od department

string

None.

Salutation

Salutation for possible values see your translation in customer section of gui

string

None.

Title

title

string

None.

FirstName

firstname

string

Required

LastName

lastname

string

Required

PhoneMain

phone number

string

None.

PhoneMobile

mobile phone number

string

None.

Email

email address

string

Required

Fax

fax number

string

None.

Street

street

string

Required

Additional

additional address entry

string

None.

ZipCode

zip code

string

Required

City

city

string

Required

State

state

string

None.

Country

country - use 2 digit country code (ISO 3166-1 alpha-2) - or see your translation in customer section of gui

string

Required

DateOfBirth

date

None.

Request Formats

application/json, text/json

Sample:
{
  "AddressId": 1,
  "AddressType": "sample string 2",
  "CompanyName": "sample string 3",
  "Department": "sample string 4",
  "Salutation": "sample string 5",
  "Title": "sample string 6",
  "FirstName": "sample string 7",
  "LastName": "sample string 8",
  "PhoneMain": "sample string 9",
  "PhoneMobile": "sample string 10",
  "Email": "sample string 11",
  "Fax": "sample string 12",
  "Street": "sample string 13",
  "Additional": "sample string 14",
  "ZipCode": "sample string 15",
  "City": "sample string 16",
  "State": "sample string 17",
  "Country": "sample string 18",
  "DateOfBirth": "2025-04-29"
}

application/xml, text/xml

Sample:
<Address xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/InitPro.Ida.Web.Api.Dto">
  <Additional>sample string 14</Additional>
  <AddressId>1</AddressId>
  <AddressType>sample string 2</AddressType>
  <City>sample string 16</City>
  <CompanyName>sample string 3</CompanyName>
  <Country>sample string 18</Country>
  <DateOfBirth>2025-04-29T15:58:51.8336212+02:00</DateOfBirth>
  <Department>sample string 4</Department>
  <Email>sample string 11</Email>
  <Fax>sample string 12</Fax>
  <FirstName>sample string 7</FirstName>
  <LastName>sample string 8</LastName>
  <PhoneMain>sample string 9</PhoneMain>
  <PhoneMobile>sample string 10</PhoneMobile>
  <Salutation>sample string 5</Salutation>
  <State>sample string 17</State>
  <Street>sample string 13</Street>
  <Title>sample string 6</Title>
  <ZipCode>sample string 15</ZipCode>
</Address>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

Http Status Code

System.Web.Http.IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.