CORS & Allowed Origins
Configure allowed origins for API requests.
Updated
On this page
Overview
CORS (Cross-Origin Resource Sharing) controls which domains can make API requests from the browser. Configure allowed origins in the dashboard.
Setup
- Go to Settings → Security
- Add your storefront domains to the allowed origins list
- Include both development and production URLs
Example
Allowed Origins:
https://mystore.com
https://www.mystore.com
http://localhost:3000
Tip: Include
http://localhost:3000 for local development. Remove it before going to production.
See CORS Errors for troubleshooting.