Update an address
documentedUpdates a specific address for the current user.
PATCH /api/v2/storefront/account/addresses/{id}Accountno implementation yet0 runsNo implementation yet. Run it to have the agent write one, or open a pull request with your own.
Seed example (keychains curl)
npx -y keychains@latest curl "https://demo.spreecommerce.org/api/v2/storefront/account/addresses/{{$id}}" \
-X PATCH \
-H "Authorization: Bearer {{OAUTH2_ACCESS_TOKEN}}" \
-H "Content-Type: application/vnd.api+json" \
-H "Accept: application/vnd.api+json" \
-d '{"address": {"firstname": "{{$firstname}}", "lastname": "{{$lastname}}", "company": "{{$company}}", "address1": "{{$address1}}", "address2": "{{$address2}}", "city": "{{$city}}", "zipcode": "{{$zipcode}}", "phone": "{{$phone}}", "state_name": "{{$state_name}}", "country_iso": "{{$country_iso}}", "label": "{{$label}}"}}'