Update CustomerAddress by ID

Updates a single CustomerAddress object

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Path Params
int64
required

ID of CustomerAddress to update

Body Params

CustomerAddress data that needs to be changed

boolean
Defaults to true

Flag. If set to True, the address is visible and can be used for delivery.

integer
deprecated

Deprecated field - see "primary_billing" and "primary_shipping" instead.

string
length ≤ 100

Field used to specify the customer's city.

string

Field used to specify the name of the customer's associated company.

string
required
length ≤ 2

Field used to specify the customer's country. Expects a ISO 3166-2 country code.

date-time

ISO8601 timestamp of the time the resource was created.

string

Text field for additional information about this CustomerAddress.

string

Field used to specify the contact e-mail for this address.

string
length ≤ 60

Name of this delivery address.

string
length ≤ 20

Field used to specify the contact number for this address.

boolean
Defaults to false

Flag. If set to True, this address will be used by default for all invoices.

boolean
Defaults to false

Flag. If set to True, this address will be used by default for all shipping/delivery orders.

string
length ≤ 50

Field used to specify the customer's state.

string
length ≤ 280

Field used to specify the first line of the customer'saddress.

string
length ≤ 280

Field used to specify the second line of the customer'saddress. Not validated - can contain additional address info such as door number,floor, etc.

date-time

ISO8601 timestamp of the time the resource was updated.

uuid

UUID of this Package resource.

string
length ≤ 20

Field used to specify the customer's postal code.

Responses

301

Invalid request URL - make sure that the URL ends with a trailing slash.

400

Invalid input - please run the request body through a JSON validator.

401

Authentication error - make sure the API key & secret is valid, active and provided in the "API-AUTHENTICATION" header.

404

CustomerAddress not found

445

Message: Integrity Error - an invalid value was provided for one of the fields.

Language
Credentials
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json