EZCart Docs
ApiV1StoreCustomersMeAddressesAddressid

Update an existing shipping address

Update an existing shipping address.

PATCH
/v1/store/customers/me/addresses/{addressId}

Path Parameters

addressId*string

Request Body

application/json

addressData?
isDefault?boolean

Response Body

application/json

curl -X PATCH "https://api-pub.ezcart.io/v1/store/customers/me/addresses/string" \  -H "Content-Type: application/json" \  -d '{}'
{
  "id": "string",
  "addressData": {
    "property1": null,
    "property2": null
  },
  "isDefault": true,
  "createdAt": "2019-08-24T14:15:22Z"
}