Menu
Feedback
Start here
Tutorials
Developer portal

Known Issues
Support Rules
Troubleshooting

Frequently Asked Questions
Announcements
Tutorials
Tutorials
Explore in-depth tutorials for operating your VTEX store.
Tutorials
Shipping
Shipping Strategy
How to prevent a carrier from meeting a certain ZIP code range?
How to prevent a carrier from meeting a certain ZIP code range?

The zip code ranges served by a carrier are determined by the shipping spreadsheet, which is usually provided to the store by the carrier itself.

But sometimes you may need to block some zip code or zip codes rage. That is, you may want to prevent that a carrier, for a particular zip code or zip codes range, from making deliveries, even if by default it can do so.

To do that, you must exclude the zip codes you don't want to consider from the shipping spreadsheet.

Example

Let's say you want to exclude only the zip code 45920-000 from the spreadsheet of a carrier.

To do so, you would follow these steps:

  1. In the VTEX Admin, go to Shipping > Shipping Strategy > Shipping policies, or type Shipping Strategy in the search bar at the top of the page.
  2. Download the shipping spreadsheet on Shipping Rates.
  3. Open the spreadsheet and look for the lines corresponding to the zip code range where the code to be disregarded is located, ie: ZipCodeStart = 37900-001 and ZipCodeEnd = 97904-999.
  4. Each of these lines must be turned into two, so that the zip code 45920-000 is ignored. So you would have: ZipCodeStart = 37900-001 and ZipCodeEnd = 45919-999 / ZipCodeStart = 45920-001 and ZipCodeEnd = 97904-999.
    With this, the spreadsheet would "jump" the zip code 45920-000. And consequently it would no longer be considered as an address served by that carrier.

The postal code examples in this article refer to Brazil, each country has its own postal code format.

Contributors
2
Photo of the contributor
Photo of the contributor
+ 2 contributors
Was this helpful?
Yes
No
Suggest Edits (GitHub)
Contributors
2
Photo of the contributor
Photo of the contributor
+ 2 contributors
On this page
Still got questions?
Ask the community
Find solutions and share ideas in the VTEX community.
Join our community
Request support from VTEX
For personalized assistance, contact our experts.
Open a support ticket
GithubDeveloper portalCommunityFeedback