{
    "name": "Kohler Group",
    "email": "parisian.kristoffer@yahoo.com",
    "phone": "+12069536978",
    "line_1": "193 Dach Shores Suite 632",
    "line_2": "Apt. 300",
    "city": "Moenburgh",
    "region": "Colorado",
    "post_code": "72099",
    "country": 1,
}
No Content

Overview

This endpoint can be used to update an address.

Endpoint: /api/v1/addresses/{address_id}

Method: PATCH

It is critically important that you verify the address before updating it.

Failure to verify the address may result in loss or delayed shipments.

You may also be charged should address correction be necessary by the carrier.

URL Parameters

address_id
integer
required

The ID of the address you wish to .

Request

name
string
required

For example, “John Smith” or “Acme Products”.

Minimum character length: 2

Maximum character length: 50

email
string
required

The contact email address.

Carriers may send one or more shipment tracking notifications to this email address.

Minimum character length: 6

Maximum character length: 100

phone
string
required

The contact phone number.

This must be formatted using the E.164 standard.

Minimum character length: 7

Maximum character length: 30

line_1
string
required

Line 1 of the address.

Minimum character length: 2

Maximum character length: 35

line_2
string

Line 2 of the address.

Minimum character length: 2

Maximum character length: 35

city
string
required

The address’ town or city.

Minimum character length: 2

Maximum character length: 35

region
string
required

The address’ state, province, or region.

Minimum character length: 2

Maximum character length: 30

post_code
string
required

The address’ post code.

Minimum character length: 2

Maximum character length: 16

country
integer
required

A Country enum representing the address’ country.

Response

If the address is successfully updated, the API will return a 204 No Content status code.

The response will not contain any content.

{
    "name": "Kohler Group",
    "email": "parisian.kristoffer@yahoo.com",
    "phone": "+12069536978",
    "line_1": "193 Dach Shores Suite 632",
    "line_2": "Apt. 300",
    "city": "Moenburgh",
    "region": "Colorado",
    "post_code": "72099",
    "country": 1,
}
No Content