VTEX Integration
Connect your VTEX store with ZenFlow to automatically import orders, sync inventory, and streamline your fulfillment operations at enterprise scale.This integration supports VTEX Commerce in any country. Compatible with VTEX’s OMS (Order Management System).
Features
Import Orders
Import orders in “ready-for-handling” status
Real-time Feed
Receive status changes via Feed or Webhooks
Inventory Sync
Stock synchronization by warehouse to VTEX
Multi-warehouse
Support for multiple VTEX warehouses
Setup Guide
Step 1: Get API Credentials in VTEX
- In your VTEX admin, go to Account settings > Application keys
- Click Generate new key
- Assign the following permissions:
- OMS - Full access
- Logistics - Full access
- Copy the App Key and App Token
Step 2: Connect in ZenFlow
- Go to Settings > Integrations in ZenFlow
- Click Connect VTEX
- Enter:
- Account Name: Your VTEX account name (e.g.,
mystore) - App Key: The application key
- App Token: The application token
- Account Name: Your VTEX account name (e.g.,
- Click Connect
Step 3: Select VTEX Warehouse
After connecting, select the VTEX warehouse you want to sync:- Go to Integrations > VTEX > Settings
- Select the VTEX warehouse from the list
- Enable order and/or inventory synchronization
Step 4: Configure Notifications (Optional)
Choose how to receive new order notifications:Feed (Recommended)
ZenFlow polls VTEX every 30 seconds. More reliable.
Webhooks
VTEX notifies ZenFlow in real-time. Faster but may miss events.
Order Flow
API Reference
Connect Account
Get Connection Status
Update Configuration
List VTEX Warehouses
Set Warehouse
Configure Feed
Configure Webhooks
Manually Sync Orders
Sync Stock to VTEX
List Product Mappings
Create Product Mapping
Delete Mapping
Disconnect Account
Order Notifications
Feed (Polling)
Feed is the recommended method for receiving notifications:- ZenFlow polls VTEX every 30 seconds
- Processes status changes in batch
- Confirms processed items to avoid duplicates
- More reliable than webhooks (doesn’t miss events)
Webhooks
Webhooks provide real-time notifications:| Event | Description | ZenFlow Action |
|---|---|---|
Status changes to ready-for-handling | Order ready | Imports and starts handling |
Status changes to handling | In preparation | Updates status |
Status changes to invoiced | Shipped | Marks as completed |
Status changes to canceled | Cancelled | Cancels order |
Product Mapping
Automatic Matching
When an order is imported, ZenFlow attempts to match products automatically:- Looks for existing mapping by
vtex_sku_id - If not found, searches by SKU or barcode in ZenFlow
- If found, creates the mapping automatically
Manual Mapping
For products that don’t auto-match:- Go to Integrations > VTEX > Product Mapping
- Filter by “Unmapped”
- Select the corresponding ZenFlow product
Status Mapping
| VTEX Status | ZenFlow Status |
|---|---|
order-created | Pending |
payment-approved | Ready to pick |
ready-for-handling | Ready to pick |
start-handling | In progress |
handling | In progress |
invoice | Ready for dispatch |
invoiced | Shipped |
canceled | Cancelled |
Inventory Synchronization
Stock synchronization works as follows:- ZenFlow calculates available stock (total - reserved)
- Updates inventory in VTEX for the configured warehouse
- Only syncs products with active mapping and
sync_stock: true
Troubleshooting
Cannot Connect
Check credentials
Check credentials
Make sure the App Key and App Token are correct. Generate new credentials if needed.
Check permissions
Check permissions
Credentials need full access to OMS and Logistics. Verify permissions in VTEX Admin.
Check account name
Check account name
The account_name must be exactly your VTEX account name (without “.vtexcommercestable.com.br”).
Orders Not Importing
Check order status
Check order status
Only orders in “ready-for-handling” status are imported. Check the order flow in VTEX.
Check configured warehouse
Check configured warehouse
Make sure you’ve selected the correct VTEX warehouse in the configuration.
Check feed or webhooks
Check feed or webhooks
Verify that feed is configured (recommended) or that webhooks are active.
Stock Not Syncing
Check product mapping
Check product mapping
The product must be mapped and have
sync_stock enabled.Check VTEX warehouse
Check VTEX warehouse
The VTEX warehouse must be configured in the integration.
Check Logistics permissions
Check Logistics permissions
Credentials need Logistics permissions to update inventory.
Rate Limits
| Operation | Limit |
|---|---|
| API calls | 100 requests/second |
| Maximum per minute | 6000 requests |
Requirements
- Active VTEX account
- App Key and App Token with permissions:
- OMS - Full access
- Logistics - Full access
- At least one warehouse configured in VTEX
Support
- VTEX APIs Documentation
- VTEX Help Center
- Contact [email protected] for integration help



