Skip to main content
Update Address
curl --request PATCH \
  --url https://api.revolv3.com/api/Customers/{customerId}/address/{addressId} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json-patch+json' \
  --data '
{
  "addressLine1": "101 Update Street",
  "addressLine2": null,
  "city": "Irvine",
  "state": null,
  "postalCode": "92602",
  "phoneNumber": null,
  "email": null,
  "country": null
}
'
{
  "customerId": 1,
  "merchantCustomerRefId": "1234-5678-9101",
  "firstName": "John",
  "lastName": "Doe",
  "billingAddresses": [
    {
      "addressId": 1,
      "addressLine1": "101 Update Street",
      "addressLine2": "",
      "city": "Irvine",
      "state": "CA",
      "postalCode": "92602",
      "phoneNumber": null,
      "email": null,
      "country": "US"
    }
  ],
  "shippingAddresses": [],
  "taxAddresses": [],
  "subscriptions": []
}

Authorizations

Authorization
string
header
required

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

Path Parameters

customerId
integer<int64>
required
addressId
integer<int64>
required

Body

addressLine1
string | null

Address.

addressLine2
string

Supplemental information for the address.

city
string | null

City.

state
string | null

State.

Maximum string length: 2
postalCode
string | null

Postal Code.

Required string length: 2 - 20
phoneNumber
string

The phone number associated with a payment method that is used for billing purposes.

Required string length: 2 - 20
email
string

The email associated with a billing address.

country
string

The input must be a valid Alpha2 code, Alpha3 code, UN code, or full country name.

Response

OK

customerId
integer<int64>
merchantCustomerRefId
string | null
firstName
string | null
lastName
string | null
billingAddresses
object[] | null
shippingAddresses
object[] | null
taxAddresses
object[] | null
subscriptions
object[] | null