Update

Order Address Update API

Update a billing or shipping address on an existing order.

Endpoint

PUT /api/rest/orders/:order_id/addresses/:address_type
ParameterDescription
order_idThe numeric order ID
address_typebilling or shipping

Request Headers

HeaderValue
Content-Typeapplication/json
Acceptapplication/json

Request Body

All fields are optional — only include what you want to update.

FieldTypeDescription
firstnamestringFirst name
lastnamestringLast name
middlenamestringMiddle name
prefixstringName prefix
suffixstringName suffix
companystringCompany name
streetstring or arrayStreet lines. Pass as an array for multi-line (["123 Main St", "Apt 2E"]) or a single string
citystringCity
regionstringState/region name or code (e.g. "New York" or "NY"). Automatically resolves to the correct region_id.
region_idintegerRegion ID. Use instead of region if you already have the ID.
postcodestringZIP / postal code
country_idstringTwo-letter country code (e.g. "US")
telephonestringPhone number
emailstringEmail address
vat_idstringVAT number
destination_typestringDestination type
zoey_shipping_typestringZoey shipping type

Example Request

{
    "firstname": "John",
    "lastname": "Smith",
    "street": ["123 Main Street", "Apartment 2E"],
    "city": "New York",
    "region": "New York",
    "postcode": "10001",
    "country_id": "US",
    "telephone": "555-555-5555",
    "vat_id": "",
    "destination_type": "",
    "zoey_shipping_type": "1",
}

Responses

StatusMeaning
200 OKAddress updated successfully
400 Bad RequestInvalid or missing data
404 Not FoundOrder or address type not found
500 Internal Server ErrorUnexpected error during save

Notes

  • Only admin API credentials can call this endpoint.
  • region accepts either the full state name or the two-letter code and will automatically resolve the correct region_id.
  • If both region and region_id are omitted, the existing values are preserved.
Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Path Params
string
required

Order ID.

string
required

The Address type being edited.

Body Params
string
string
street
array of strings
street
string
integer
string
string
string
string
string
string
string
string
string
string
Response
200

OK (no example documented yet)

Language
Credentials
URL
LoadingLoading…
Response
Click Try It! to start a request and see the response here!