Update the delivery address for an existing order.
The unique identifier for an order.
The address type. Must be one of: DELIVERY, INVOICE, DELIVERY_AND_INVOICE.
DELIVERY, INVOICE, DELIVERY_AND_INVOICE Complete resource data to update at /orders/{orderId}/address
Request payload for updating the delivery address of an existing order. Contains the new address information and optional address type specification.
The first and lastname of the recipient.
Either name or company is required.
Name of the company.
Either name or company is required.
Phone number.
E-Mail address.
Street (or Address Line 1).
This field is optional only when latitude and longitude coordinates are provided.
Street (or Address Line 2).
This field is optional.
ZIP Code.
The ZIP code is optional for some countries, but required for most. It is optional when latitude and longitude coordinates are provided.
City.
This field is optional only when latitude and longitude coordinates are provided.
State.
This is not required for most countries, but required in some (eg: United States).
Country Code.
This field is optional only when latitude and longitude coordinates are provided.
Latitude coordinate for the delivery address. Optional, used for location-based services. For invoice address, it'll be ignored if provided.
Longitude coordinate for the delivery address. Optional, Used for location-based services. For invoice address, it'll be ignored if provided.
Bad request - the request payload is invalid, missing required fields, or contains invalid data.