Yampi

Overview

Yampi data synced to V4MOS.AI, through the integration's own endpoints

The V4MOS.AI Yampi API gives you the raw records synced from the Yampi stores connected to your organization: orders, order items, payment transactions, order status history, customers, catalog and stock. Rows come as they were synced, with the warehouse column names (snake_case), so you can load them straight into your BI. All endpoints use the /v1/yampi prefix and the same authentication, pagination and response format.

Getting started

Base URL: https://data.v4mos.ai. Every call requires your API credentials and the organizationId — see Authentication.

  1. Connect Yampi in app.v4mos.ai (Connected accounts) and wait for the first sync.
  2. Call any endpoint below with your organizationId, for example GET /v1/yampi/orders?organizationId=….
  3. Every row carries integration_id and integration_name: the connected account it came from. To read a single account, pass that value as integrationId.

Available endpoints

Resources

EndpointWhat one row isdateFrom / dateTo filter
GET /v1/yampi/ordersOne row per order: current status (status_alias), totals, discounts, shipping, payment methods, coupon, marketplace, linked Shopify order and UTM attribution.created_at
GET /v1/yampi/order-itemsOne row per order line item: product, SKU, quantity, price and unit cost, with the order status and dates.order_created_at
GET /v1/yampi/order-transactionsOne row per payment transaction of an order: payment method, status, authorization, capture and cancellation, amount and installments.created_at
GET /v1/yampi/order-status-historyOne row per status an order went through (status_alias).created_at
GET /v1/yampi/customersOne row per customer of the store: type, status and first-touch UTMs.created_at
GET /v1/yampi/productsOne row per catalog product: status, SKU, brand, category, URLs and number of SKUs.created_at
GET /v1/yampi/skusOne row per sellable SKU of the catalog: attributes, cost, sale and discount prices, stock and availability.created_at
GET /v1/yampi/inventory-snapshotsOne row per stock reading of a SKU: available quantity and availability at snapshot_at.snapshot_at

Dates are UTC. Each row also carries store_key (yampi:<merchant_id>), the store it came from.

Pagination and filters

  • page (default 1) and limit (default 500, max 5000). meta.hasNextPage says whether another page exists; rows come in a stable order, so walk the pages until it is false.
  • dateFrom / dateTo (YYYY-MM-DD, inclusive) filter by the date column shown in the table above. Resources without one reject them.
  • integrationId keeps the rows of one connected account.
  • Answers are cached for 30 minutes and the data is synced once a day — see Data sync.

Personal data

Some Yampi resources carry personal data of your customers and contacts (such as email). Store and process it according to the LGPD and your own privacy policy.

Response format

{
  "data": [{ "...": "one object per row, with the columns listed on each endpoint" }],
  "meta": {
    "page": 1,
    "limit": 500,
    "hasNextPage": true,
    "hasPreviousPage": false
  }
}

Amounts and large counters (fields with format: decimal or format: int64 in each endpoint schema) come as strings, e.g. "125.50", so no precision is lost. Convert them to a decimal type on your side.

On this page