Create Address
Overview
This endpoint can be used to create a new address.
Endpoint: /api/v1/addresses
Method: POST
It is critically important that you verify the address before creating 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.
Request
For example, “John Smith” or “Acme Products”.
Minimum character length: 2
Maximum character length: 50
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
The contact phone number.
This must be formatted using the E.164 standard.
Minimum character length: 7
Maximum character length: 30
Line 1 of the address.
Minimum character length: 2
Maximum character length: 35
Line 2 of the address.
Minimum character length: 2
Maximum character length: 35
The address’ town or city.
Minimum character length: 2
Maximum character length: 35
The address’ state, province, or region.
Minimum character length: 2
Maximum character length: 30
The address’ post code.
Minimum character length: 2
Maximum character length: 16
Response
If the address is successfully created, the API will return a 201 Created
status code.
The response will contain the following content:
The ID of the newly created address.