Skip to main content
Use Cases

Block or Restrict Shipping by ZIP Code for Regulated Products

Merchants selling regulated products—such as Kratom or other substances with state-level restrictions—need to block specific states or ZIP codes at checkout. Others restrict shipping to high-theft zones or limit delivery to a defined radius. Address Ninja validates postal and ZIP codes in real time, blocking orders destined for restricted regions before they are placed.

Below we cover what zip & postal code restrictions means for Shopify merchants, how Address Ninja handles the setup, and links to setup guides and detailed articles.

Address Validation vs. Address Verification: Address validation checks that an address meets format and business rules: house number present, postal code in the correct format, no PO Box, no blocked characters or restricted postal codes. It does not check whether the address actually exists. Address verification (sometimes called address autocomplete or address lookup) uses external services like USPS, Google, or Loqate to confirm that a street, city, and postal code combination is real and deliverable. Address Ninja performs validation — it enforces your rules at checkout — but it does not perform verification. If you need to confirm that an address exists, you'll need a separate verification or autocomplete service.

Ready to get started?

Install Address Ninja on Shopify and see the difference today.

Install Address Ninja on Shopify