11 juli 2024
Update address
PUT
https://api.pack.cloud/v1/organizations/{organizationId}/addresses/{addressId}
Request
Path parameters
organizationIdstring
addressIdstring
Payload
customer_idstringnull
ID of the related customer
company_namestring
Company name (required when no name provided)
Example:Large Company Ltd
namestring
Contact person name (required when no company name provided)
Example:John Doe
addressstring
Street / first address line
Example:Straatweg
address_2stringnull
Second address line
Example:Second line
house_numberstring
House number and addition
Example:123A bus 2
postal_codestring
Postal code
Example:1234AB
citystring
City
Example:Amsterdam
state_codestring
State code
Example:NH
country_codestring
ISO code 3166 alpha 2
Example:NL
emailstring
Email address
phonestring
Phone number
eoristring
Economic Operators Registration and Identification number
ossstring
One-Stop Shop (OSS) number
vatstring
VAT identification number
Response
OK
Body
idstring
ID of the address
company_namestringnull
Company name
Example:Large Company Ltd
namestringnull
Contact person name
Example:John Doe
addressstring
Street / first address line
Example:Straatweg
address_2stringnull
Second address line
Example:Second line
house_numberstringnull
House number and addition
Example:123A bus 2
postal_codestringnull
Postal code
Example:1234AB
citystring
City
Example:Amsterdam
state_codestringnull
State code
Example:NH
country_codestring
ISO code 3166 alpha 2
Example:NL
emailstringnull
Email address
phonestringnull
Phone number
phone_e164stringnull
Phone number in E.164 format
eoristringnull
Economic Operators Registration and Identification number
ossstringnull
One-Stop Shop (OSS) number
vatstringnull
VAT identification number
typestring
Address type
created_atstring
Creation time of resource
updated_atstring
Latest update time of resource
formatted_linesstring
Formatted address lines for address
OK
Body
idstring
ID of the address
company_namestringnull
Company name
Example:Large Company Ltd
namestringnull
Contact person name
Example:John Doe
addressstring
Street / first address line
Example:Straatweg
address_2stringnull
Second address line
Example:Second line
house_numberstringnull
House number and addition
Example:123A bus 2
postal_codestringnull
Postal code
Example:1234AB
citystring
City
Example:Amsterdam
state_codestringnull
State code
Example:NH
country_codestring
ISO code 3166 alpha 2
Example:NL
emailstringnull
Email address
phonestringnull
Phone number
phone_e164stringnull
Phone number in E.164 format
eoristringnull
Economic Operators Registration and Identification number
ossstringnull
One-Stop Shop (OSS) number
vatstringnull
VAT identification number
typestring
Address type
created_atstring
Creation time of resource
updated_atstring
Latest update time of resource
formatted_linesstring
Formatted address lines for address
OK
Body
idstring
ID of the address
company_namestringnull
Company name
Example:Large Company Ltd
namestringnull
Contact person name
Example:John Doe
addressstring
Street / first address line
Example:Straatweg
address_2stringnull
Second address line
Example:Second line
house_numberstringnull
House number and addition
Example:123A bus 2
postal_codestringnull
Postal code
Example:1234AB
citystring
City
Example:Amsterdam
state_codestringnull
State code
Example:NH
country_codestring
ISO code 3166 alpha 2
Example:NL
emailstringnull
Email address
phonestringnull
Phone number
phone_e164stringnull
Phone number in E.164 format
eoristringnull
Economic Operators Registration and Identification number
ossstringnull
One-Stop Shop (OSS) number
vatstringnull
VAT identification number
typestring
Address type
created_atstring
Creation time of resource
updated_atstring
Latest update time of resource
formatted_linesstring
Formatted address lines for address
OK
Body
idstring
ID of the address
company_namestringnull
Company name
Example:Large Company Ltd
namestringnull
Contact person name
Example:John Doe
addressstring
Street / first address line
Example:Straatweg
address_2stringnull
Second address line
Example:Second line
house_numberstringnull
House number and addition
Example:123A bus 2
postal_codestringnull
Postal code
Example:1234AB
citystring
City
Example:Amsterdam
state_codestringnull
State code
Example:NH
country_codestring
ISO code 3166 alpha 2
Example:NL
emailstringnull
Email address
phonestringnull
Phone number
phone_e164stringnull
Phone number in E.164 format
eoristringnull
Economic Operators Registration and Identification number
ossstringnull
One-Stop Shop (OSS) number
vatstringnull
VAT identification number
typestring
Address type
created_atstring
Creation time of resource
updated_atstring
Latest update time of resource
formatted_linesstring
Formatted address lines for address
OK
Body
idstring
ID of the address
company_namestringnull
Company name
Example:Large Company Ltd
namestringnull
Contact person name
Example:John Doe
addressstring
Street / first address line
Example:Straatweg
address_2stringnull
Second address line
Example:Second line
house_numberstringnull
House number and addition
Example:123A bus 2
postal_codestringnull
Postal code
Example:1234AB
citystring
City
Example:Amsterdam
state_codestringnull
State code
Example:NH
country_codestring
ISO code 3166 alpha 2
Example:NL
emailstringnull
Email address
phonestringnull
Phone number
phone_e164stringnull
Phone number in E.164 format
eoristringnull
Economic Operators Registration and Identification number
ossstringnull
One-Stop Shop (OSS) number
vatstringnull
VAT identification number
typestring
Address type
created_atstring
Creation time of resource
updated_atstring
Latest update time of resource
formatted_linesstring
Formatted address lines for address
OK
Body
idstring
ID of the address
company_namestringnull
Company name
Example:Large Company Ltd
namestringnull
Contact person name
Example:John Doe
addressstring
Street / first address line
Example:Straatweg
address_2stringnull
Second address line
Example:Second line
house_numberstringnull
House number and addition
Example:123A bus 2
postal_codestringnull
Postal code
Example:1234AB
citystring
City
Example:Amsterdam
state_codestringnull
State code
Example:NH
country_codestring
ISO code 3166 alpha 2
Example:NL
emailstringnull
Email address
phonestringnull
Phone number
phone_e164stringnull
Phone number in E.164 format
eoristringnull
Economic Operators Registration and Identification number
ossstringnull
One-Stop Shop (OSS) number
vatstringnull
VAT identification number
typestring
Address type
created_atstring
Creation time of resource
updated_atstring
Latest update time of resource
formatted_linesstring
Formatted address lines for address