VTEX
Overview
Overview of V4MOS.AI VTEX API
The V4MOS.AI VTEX API brings together order and order item data from VTEX stores connected to your organization. Endpoints share the /v1/vtex prefix and use the same authentication, pagination, and metadata envelope as every other V4MOS.AI integration.
Available Endpoints
- getOrders
/v1/vtex/ordersRetrieve VTEX sales orders with status, totals breakdown, payment, shipping, and marketing attribution (UTMs, coupon). - getOrder items
/v1/vtex/orders/itemsRetrieve VTEX order line items with SKU, pricing, brand, and commission data.
Authentication
All endpoints require the x-client-id and x-client-secret headers, plus the organizationId query parameter. See Authentication.
Common Parameters
organizationId(required) – Organization that owns the VTEX integrationuserId– User scopeintegrationName– Integration nameorderId– Filter rows belonging to a single orderdateStart/dateEnd– Date-range filter (creation_datefor orders,inserted_atfor items)page– Page number (default: 1)limit– Records per page (default: 500, max: 5000)
Resource-Specific Filters
Orders (/v1/vtex/orders)
status– VTEX order status (e.g.invoiced,canceled)
Pagination
Responses return meta.page, meta.limit, meta.hasNextPage, and meta.hasPreviousPage. Iterate while hasNextPage is true.