Update an address
documentedUpdates a specific address.
PATCH /api/v2/platform/addresses/{id}Addressesno 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/platform/addresses/{{$id}}" \
-X PATCH \
-H "Authorization: Bearer {{OAUTH2_ACCESS_TOKEN}}" \
-H "Content-Type: application/json" \
-H "Accept: application/vnd.api+json" \
-d '{"address": {"country_id": "{{$country_id}}", "state_id": "{{$state_id}}", "state_name": "{{$state_name}}", "address1": "{{$address1}}", "address2": "{{$address2}}", "city": "{{$city}}", "zipcode": "{{$zipcode}}", "phone": "{{$phone}}", "alternative_phone": "{{$alternative_phone}}", "firstname": "{{$firstname}}", "lastname": "{{$lastname}}", "label": "{{$label}}", "company": "{{$company}}", "user_id": "{{$user_id}}"}}}'