google_geocoders
Update a google geocoder
Changed onUpdate a google geocoder
patch/google_geocoders/{googleGeocoderId}
Request
- Base URLhttps://{your_organization_slug}.commercelayer.io/api
- URLhttps://{your_organization_slug}.commercelayer.io/api/google_geocoders/{googleGeocoderId}
- AuthHTTP bearer
Path parameters
googleGeocoderIdstring required
The resource's id
Request body
Example request
{
"data": {
"id": "XAyRWNUzyN",
"attributes": {
"name": "Default geocoder",
"reference": "ANY-EXTERNAL-REFEFERNCE",
"reference_origin": "ANY-EXTERNAL-REFEFERNCE-ORIGIN",
"metadata": {
"foo": "bar"
},
"api_key": "xxxx-yyyy-zzzz"
}
}
}Response
The updated google geocoder object
Changes
- breaking
request property
/was restricted to a list of enum values - info
the request property
//became nullable - info
the request property
//became nullable - info
the request property
//became nullable - info
the
request property default valuegoogle_geocoderswas removed - info
added the new
google_geocodersenum value to the request property/ - info
added the media type
application/vnd.api+jsonfor the response with the status
- breaking