Skip to main content
POST
/
public
/
{user_id}
/
addresses
Create Address
curl --request POST \
  --url https://apigw.ipxo.com/ecommerce/public/{user_id}/addresses \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "country_code": "omnis",
  "vat_number": "aliquid",
  "first_name": "ozodbspvpeamhjxiqp",
  "last_name": "vjurrvwix",
  "company_name": "jzsownjgx",
  "company_code": "neozbpfavqkkd",
  "line_one": "cofimzvpd",
  "line_two": "vrtcwet",
  "line_three": "ckihroigi",
  "city": "ilxwsdnlbwvytaawwo",
  "province_code": "jjpjopnpgfckrsusjqrd",
  "postcode": "ktuh",
  "contact_email": "[email protected]",
  "contact_phone": "jfjlexnewcauvhbudw"
}
'
{
  "data": {
    "uuid": "a13651d2-6ec1-4ab8-a3fd-21a149e06102",
    "first_name": "Ellis",
    "last_name": "Hessel",
    "company_name": "Cummerata, Zemlak and Kihn",
    "vat_number": "perspiciatis",
    "vat_validation_status": "invalid",
    "vat_validated_at": "2026-03-03T14:05:30.0000000+00:00",
    "line_one": "303 Moore Islands Suite 472",
    "line_two": "32365 Heller Village Apt. 121",
    "line_three": "80180 Pfannerstill Corner Suite 283",
    "city": "Mullerview",
    "province_code": "PH",
    "country_code": "MN",
    "postcode": "82907-5463",
    "contact_email": "[email protected]",
    "contact_phone": "502-831-9502",
    "company_code": "18208560"
  }
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

user_id
string
required

The ID of the user.

Body

application/json
country_code
string
required

The code of an existing record in the countries table.

Example:

"omnis"

company_name
string
required

Must match the regex /^[A-Za-z0-9.()[],'"_/@&!*+-, ]+$/. Must not be greater than 150 characters.

Example:

"jzsownjgx"

line_one
string
required

Must be at least 2 characters. Must not be greater than 100 characters.

Example:

"cofimzvpd"

city
string
required

Must not be greater than 90 characters.

Example:

"ilxwsdnlbwvytaawwo"

postcode
string
required

Must not be greater than 20 characters.

Example:

"ktuh"

vat_number
string | null
Example:

"aliquid"

first_name
string | null

Must not be greater than 20 characters.

Example:

"ozodbspvpeamhjxiqp"

last_name
string | null

Must not be greater than 30 characters.

Example:

"vjurrvwix"

company_code
string | null

Must be at least 3 characters. Must not be greater than 20 characters.

Example:

"neozbpfavqkkd"

line_two
string | null

Must not be greater than 100 characters.

Example:

"vrtcwet"

line_three
string | null

Must not be greater than 100 characters.

Example:

"ckihroigi"

province_code
string | null

The code of an existing record in the provinces table. Must not be greater than 20 characters.

Example:

"jjpjopnpgfckrsusjqrd"

contact_email
string | null

Must be a valid email address. Must not be greater than 255 characters.

contact_phone
string | null

Must not be greater than 20 characters.

Example:

"jfjlexnewcauvhbudw"

Response

200 - application/json
data
object