Skip to main content

Update A Shipping Address

Update an existing shipping address. You must provide the id of the shipping address you want to update.

PUT   /v1/shipping-addresses/3a43f3a9-f97d-429f-b1e8-a7e2216e367a
curl -X PUT "https://api.ezewholesale.com/api/v1/shipping-addresses/3a43f3a9-f97d-429f-b1e8-a7e2216e367a" \
-H "x-api-key:your-api-key" \
-H 'Content-Type: application/json' \
-d '{"id":"3a43f3a9-f97d-429f-b1e8-a7e2216e367a","apartmentNumber":"56","addressLine1":"12 Am Hauptbahnhof","postalCode":"60312","state":"Hessen","city":"Frankfurt am Main","country":"DE"}'


RESPONSE
{
  "status": 200,
  "description": "Shipping address updated successfully",
  "data": {
    "id": "3a43f3a9-f97d-429f-b1e8-a7e2216e367a",
    "addressLine1": "12 Am Hauptbahnhof",
    "city": "Frankfurt am Main",
    "state": "Hessen",
    "country": "DE",
    "postalCode": "60312",
    "apartmentNumber": "56"
  }
}