Is there any kind of dissemination of min's and max's zip codes for a specific region?

0

I would like to get the% minimum and maximum% of a given region for freight calculation purposes for an e-commerce in Opencart .

The goal is to restrict free freight to the capital of Porto Alegre by having the CEP informed outside this region receive the freight calculations according to the values practiced by the Post Office and in case it is a CEP of Porto Alegre, apply free freight.

So, is there any documentation or rules on some website or even on the Post Office that allows you to determine the minimum and maximum zip codes of a certain region or some specification to do that?

    
asked by anonymous 05.11.2014 / 16:33

1 answer

1

In this format you want nothing (yet), I usually use some API like this here: to find out the city the person is in and so carry out actions based on them.

I recommend doing this, because in a single query you will have all the data related to the CEP in question, you will not need a query to the local database and if false a the API of the Post.

    
05.11.2014 / 19:05