Find delivery area terms that match nothing
POST
/geocode/delivery-area-terms
const url = 'https://example.com/geocode/delivery-area-terms';const options = { method: 'POST', headers: { cookie: '__Host-bottle.session_token=<__Host-bottle.session_token>', 'Content-Type': 'application/json' }, body: '{"terms":["example"]}'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}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.
Authorizations
Section titled “Authorizations”Request Bodyrequired
Section titled “Request Bodyrequired”Media typeapplication/json
object
terms
required
Array<string>
Example generated
{ "terms": [ "example" ]}Responses
Section titled “Responses”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"}