Overview
This endpoint can be used to create a new address. Endpoint:/api/v1/addresses
Method: POST
Request
string
required
For example, “John Smith” or “Acme Products”.Minimum character length:
2Maximum character length: 50string
required
The contact email address.Carriers may send one or more shipment tracking notifications to this email address.Minimum character length:
6Maximum character length: 100string
required
The contact phone number.This must be formatted using the E.164 standard.Minimum character length:
7Maximum character length: 30string
required
Line 1 of the address.Minimum character length:
2Maximum character length: 35string
Line 2 of the address.Minimum character length:
2Maximum character length: 35string
required
The address’ town or city.Minimum character length:
2Maximum character length: 35string
required
The address’ state, province, or region.Minimum character length:
2Maximum character length: 30string
required
The address’ post code.Minimum character length:
2Maximum character length: 16Response
If the address is successfully created, the API will return a201 Created status code.
The response will contain the following content:
integer
required
The ID of the newly created address.