Where as you can see city is random string. Validate drop off address returning success true (assuming by postcode). But then when I’m trying to get open slots for city I’m providing asdasd because this city is provided by user. Slots of course not exists. Maybe it’s good idea to return on address validation some recognized meta about city/other info? Not just success: true.
I need cities list to collect them and put into the form as input select.
There is some other way to handle this problem?
We appreciate your feedback and agree with you that additional address response information would be valuable for this endpoint. We are considering this for the next version of our API that is currently being worked on.
You can find a list of our open cities here in our API documentation. Your idea to use these cities for validation of customer city input sounds like a great way to solve the problem you’re facing.
No problem, thanks for reply. I saw cities list, for the moment I did in our api hardcoded list with cities. Right now this solve our issue, but I will wait for any improvement on your side. Thanks!
Hi Lauren,
the list for open cities is not accurate to reality. Simply test a city in your API using the “Get coverage” WS and the results will be not the same, for France.
In the best case, you could obtain a result around noon and evening, but the morning and afternoon, you simply get a “no results” (404)
Could you check your list, because we had to delete 15 cities in France in our offer. You can imagien the problem to our service.
Were you testing get zone coverage in Sandbox? We have identified that there are discrepancies between the zones available in our Sandbox and Production environments which is likely the reason that you see ‘NOT_FOUND’ errors for some of the listed zones when fetching their zone coverage in Sandbox.
We are working to ensure that there are no such differences between our Sandbox and Production environments and thus expect this issue to be resolves soon. The open cities list should however be up to date based on our Production environment, but do let us know if you’ve experienced otherwise.
If I check in the API docs through the link you send the responses here are using our Sandbox environment. If it’s Production where you’re finding this issue however, could you provide me with a couple of examples of cities which don’t respond with a cover zone? I am struggling to find any myself, thank you for your help in troubleshooting the issue.
I am able to fetch the zone for charleville_mezieres (see our list of Open cities), please make sure the name is formatted exactly as it is in the list (with underscore) for your request.