curl --request PATCH \
--url https://api.revolv3.com/api/Customers/{customerId} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json-patch+json' \
--data '
{
"merchantCustomerRefId": "1234-5678-9101",
"firstName": "Jonathan",
"lastName": null
}
'{
"customerId": 1,
"merchantCustomerRefId": "1234-5678-9101",
"firstName": "Jonathan",
"lastName": "Doe",
"billingAddresses": [
{
"addressId": 1,
"addressLine1": "100 Main Street",
"addressLine2": null,
"city": "Santa Ana",
"state": "CA",
"postalCode": "90000",
"phoneNumber": null,
"email": null,
"country": "US"
}
],
"shippingAddresses": [
{
"addressId": 2,
"addressLine1": "101 First Street",
"addressLine2": null,
"city": "Costa Mesa",
"state": "CA",
"postalCode": "90001",
"phoneNumber": null,
"email": null,
"country": "US"
}
],
"taxAddresses": [],
"subscriptions": []
}Updates the details of an existing customer, such as their first name, last name, or merchant customer reference ID. Only the fields provided in the request will be updated — all other customer data remains unchanged.
This endpoint is typically used when customers change their names, correct a typo, or update their profile during checkout or in an admin panel.
curl --request PATCH \
--url https://api.revolv3.com/api/Customers/{customerId} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json-patch+json' \
--data '
{
"merchantCustomerRefId": "1234-5678-9101",
"firstName": "Jonathan",
"lastName": null
}
'{
"customerId": 1,
"merchantCustomerRefId": "1234-5678-9101",
"firstName": "Jonathan",
"lastName": "Doe",
"billingAddresses": [
{
"addressId": 1,
"addressLine1": "100 Main Street",
"addressLine2": null,
"city": "Santa Ana",
"state": "CA",
"postalCode": "90000",
"phoneNumber": null,
"email": null,
"country": "US"
}
],
"shippingAddresses": [
{
"addressId": 2,
"addressLine1": "101 First Street",
"addressLine2": null,
"city": "Costa Mesa",
"state": "CA",
"postalCode": "90001",
"phoneNumber": null,
"email": null,
"country": "US"
}
],
"taxAddresses": [],
"subscriptions": []
}Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
OK
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes