Skip to main content
PATCH
/
public
/
{user_id}
/
cart
/
{cart_uuid}
/
addresses
/
{customerAddress_id}
Update Cart Address
curl --request PATCH \
  --url https://apigw.ipxo.com/ecommerce/public/{user_id}/cart/{cart_uuid}/addresses/{customerAddress_id} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "line_one": "pp",
  "line_two": "bogyghcbygqhfazvmxhkxh",
  "city": "kpfioeb",
  "postcode": "onw",
  "province_code": "yasbd",
  "contact_email": "[email protected]",
  "vat_number": "dh",
  "company_code": "fuaxnrcthlciqeuskawkl",
  "first_name": "skqwbjfd",
  "last_name": "z",
  "company_name": "lffqqu",
  "contact_phone": "zvnvykjkqzvh"
}
'
{
  "data": {
    "uuid": "a13651d1-ca24-41ad-a5d7-a0351dc3e323",
    "first_name": "Richard",
    "last_name": "Hane",
    "company_name": "Marks, Lindgren and Larkin",
    "vat_number": "34247",
    "vat_validation_status": "invalid",
    "vat_validated_at": "2025-01-01T00:00:00.0000000+00:00",
    "line_one": "97515 Mann Loop",
    "line_two": "6191 Stark Trace Suite 868",
    "line_three": "2127 Kuhic Ferry Suite 952",
    "city": "Lemkeland",
    "province_code": "VC",
    "country_code": "BE",
    "postcode": "67555",
    "contact_email": "[email protected]",
    "contact_phone": "310-560-6037",
    "company_code": "49924941"
  }
}

Authorizations

Authorization
string
header
required

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

Path Parameters

user_id
integer
required

The ID of the user.

cart_uuid
string
required
customerAddress_id
integer
required

The ID of the customerAddress.

Body

application/json
line_one
string
required

Must not be greater than 255 characters.

Example:

"pp"

city
string
required

Must not be greater than 255 characters.

Example:

"kpfioeb"

postcode
string
required

Must not be greater than 20 characters.

Example:

"onw"

line_two
string | null

Must not be greater than 255 characters.

Example:

"bogyghcbygqhfazvmxhkxh"

province_code
string | null

Must not be greater than 10 characters.

Example:

"yasbd"

contact_email
string | null

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

vat_number
string | null

Must not be greater than 50 characters.

Example:

"dh"

company_code
string | null

Must not be greater than 50 characters.

Example:

"fuaxnrcthlciqeuskawkl"

first_name
string | null

Must not be greater than 255 characters.

Example:

"skqwbjfd"

last_name
string | null

Must not be greater than 255 characters.

Example:

"z"

company_name
string | null

Must not be greater than 255 characters.

Example:

"lffqqu"

contact_phone
string | null

Must not be greater than 50 characters.

Example:

"zvnvykjkqzvh"

Response

200 - application/json
data
object