Skip to content

Find delivery area terms that match nothing

POST
/geocode/delivery-area-terms
curl --request POST \
--url https://example.com/geocode/delivery-area-terms \
--header 'Content-Type: application/json' \
--cookie __Host-bottle.session_token=<__Host-bottle.session_token> \
--data '{ "terms": [ "example" ] }'

The terms that are neither a postcode district or area nor a known place, so the office can be told before saving. Does not save or change anything.

Media typeapplication/json
object
terms
required
Array<string>
<= 500 items

Example generated

{
"terms": [
"example"
]
}

The terms that find nothing

Media typeapplication/json
object
unknown
required
Array<string>

Example generated

{
"unknown": [
"example"
]
}

Not signed in

Media typeapplication/json
object
error
required
string
message
required
string

Example

{
"error": "not_found",
"message": "Customer not found"
}

Not a member, or without the permission this needs

Media typeapplication/json
object
error
required
string
message
required
string

Example

{
"error": "not_found",
"message": "Customer not found"
}