Does anyone have a sample JSON structure to update...
# integrations
a
Does anyone have a sample JSON structure to update a customer address via REST? I can't seem to get it working.
e
Update an existing address for a customer? Or update an existing customer with a new address?
a
Update an existing customer address
e
Copy code
{
  "addressbook": {
    "items": [
      {
        "addressId": 14207371,
        "defaultBilling": true,
        "defaultShipping": true,
        "addressbookaddress": {
          "zip": "11111"
        }
      }
    ]
  }
}
a
"addressId" is the id found on the line level?
e
Yes, left side of the address sublist in the customer
image.png
a
thanks a bunch!