Create a google geocoder
How to create a google geocoder via API
To create a new google geocoder, send a POST
request to the /api/google_geocoders
endpoint, passing the resource arguments in the request body.
Request
POST https://yourdomain.commercelayer.io/api/google_geocoders
Arguments
Body Parameter | Type | Required |
---|---|---|
type |
| Required |
attributes.name |
| Required |
attributes.reference |
| Optional |
attributes.reference_origin |
| Optional |
attributes.metadata |
| Optional |
attributes.api_key |
| Required |
Example
The following request creates a new google geocoder:
Last updated