Update Address
PATCH {{baseUrl}}/addresses/:addressId
Updates the Address
Request Body
{"data"=>{"id"=>"<string>", "type"=>"<string>", "attributes"=>{"locality"=>"<string>", "countryCode"=>"<string>", "region"=>"<string>", "postalCode"=>"<string>", "street"=>"<string>"}}}
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Content-Type | string | ||
Accept | string |
RESPONSES
status: OK
{"links":{"self":"/addresses/05085306-9c1d-4cee-b92a-04c07e4b1945"},"data":{"attributes":{"countryCode":"AUT","countryName":"Austria","continentCode":"EU","continentName":"Europe","locality":"Vienna","region":"Styria","postalCode":"1010","street":"Opernring 3"},"id":"05085306-9c1d-4cee-b92a-04c07e4b1945","type":"Address","meta":{"createdAt":"1980-04-22T20:31:36.265Z","updatedAt":"1997-08-23T21:39:16.842Z","createdBy":"adsf","updatedBy":"adsf"}}}