Getting Started
Overview
REST Resources

Update a Geophrase



HTTP request

PATCH https://api.geophrase.com/business/geophrases/{Geophrase}/





Example request
curl --location --request PATCH 'https://api.geophrase.com/business/geophrases/kyo-lit-lal/' \
--header 'X-API-Key: {API key}' \
--header 'Content-Type: application/json' \
--data '{
  "address_line_one": "House no 48"
}'

Request headers

Header NameValue

X-API-Key

Required
{API key}

Content-Type

Required
application/json


Request body

The request body contains JSON object in following format.

{
  "latitude": 25.0000000000001,
  "longitude": 45.78473662999998,
  "address_line_one": "House no 49",
  "address_line_two": "Gulab Nagar Ln",
  "landmark": "Near Mukul Ram Store",
  "city": "New Delhi",
  "address_type": "HOME",
  "postal_code": 110001
}

Field NameValue

latitude

Optional
Number

longitude

Optional
Number

address_line_one

Optional
String

address_line_two

Optional
String

landmark

Optional
String

city

Optional
String

address_type

Optional
String
Allowed values are: HOME and WORK

postal_code

Optional
Number
Must be a valid and real postal code


Response

Returns status code 200 and an instance of Geophrase.



Error response

Returns 4xx HTTP status code and an error response.


Status CodeDescription

403

Consider these reasons:

  • Missing or incorrect X-API-Key header

  • Insufficient wallet balance

  • Read-only API key cannot perform write operation.



Next step

Delete a Geophrase

© theFront. 2025, Maccarian. All rights reserved