VAITTO Product Feed API
Reference for pulling your live product catalog, with your own selling prices, as a CSV, JSON or XML feed — for import into Shopify or any other platform. Your feed key is on the Catalog Integration tab of your account.
Product feeds (CSV, JSON and XML) and Partner API access come with a VAITTO plan. Partners approved before plans launched keep their current access.
Which price column should I use?
Every product carries three prices. Mixing them up is the most common import mistake — use this table when mapping columns in your shop or import tool.
| Column | What it is | Use it as |
|---|---|---|
your_price(= retail_price, Shopify: Price) | Your selling price, set by your choice under Account → Markup: the brand RRP, or your cost plus your markup. | The price your customer pays. |
rrp(Shopify: Compare-at price when above your price) | The brand's official retail price — the price on the brand's own website. Consumer price incl. VAT. | Reference or strikethrough "was" price. |
wholesale_price(Shopify: Cost per item) | What you pay VAITTO, excl. VAT and shipping. | Your cost. Never show it to customers. |
Example — a bag with brand RRP €1,000 that costs you €300:
| Your setting | your_price | rrp | wholesale_price |
|---|---|---|---|
| Sell at brand RRP | 1000.00 | 1000.00 | 300.00 |
| Sell at RRP −10% | 900.00 | 1000.00 | 300.00 |
| My own markup, ×1.4 | 420.00 | 1000.00 | 300.00 |
If your_price doesn't match the brand price you expected, check the setting under Account → Markup — the column itself is correct. price_basis tells you per row which rule was used, and margin_at_rrp_pct your margin at full RRP after VAT.
Getting started
Eligible retailer accounts have a personal feed key. With an active VAITTO plan or retained partner access, grab your key from Account → Catalog Integration, then call the feed URL below on whatever schedule your platform needs.
Choose your format
| Format | Use it for | URL |
|---|---|---|
| Shopify CSV | Shopify import apps. | /api/public/feed/{buyer_api_key}/shopify.csv |
| Universal CSV | WooCommerce, Wix, BigCommerce and Excel. | /api/public/feed/{buyer_api_key}/universal.csv |
| Universal JSON | Developers and custom stores. | /api/public/feed/{buyer_api_key}/universal.json |
| Universal XML | Feed tools and plugins such as WP All Import. | /api/public/feed/{buyer_api_key}/universal.xml |
How often the feed updates
There are three separate clocks, and they're worth keeping apart.
| Clock | Interval | What it controls |
|---|---|---|
| Supplier import | Hourly | How often VAITTO pulls new stock, prices and products from each warehouse. This is the real freshness limit. |
| Edge cache | 5 minutes | How long a feed response is reused. Polling faster than this returns identical bytes. |
| Your poll | 15 minutes recommended | How often your sync app asks. More often costs you API calls without gaining freshness. |
More than 3 fetches per 5 minutes per feed link are refused with 429 Too Many Requests.
Current catalog status
Live, per warehouse. If a warehouse's last change is older than a couple of hours, its import is stuck — email us rather than assuming the stock figures are current.
Loading current catalog status…
Detecting a stale file
Every response carries X-Vaitto-Generated-At (ISO 8601, when the feed was built) and a standard Last-Modified header. Every universal format also includes feed_generated_at with the catalog fields, so the timestamp survives into your database.
Authentication
You have one API key, shown in Account → Catalog integration. It works for your live feed links, the VAITTO Partner API and the VAITTO Shopify app — there is no separate key to create. For feed links the key sits in the URL path (no headers or Basic Auth). For the Partner API, send Authorization: Bearer <your API key>. The key (format: vb2b_ followed by a 48-character hex string) must belong to an active retailer account, or the request returns 401.
Keep your key secret — anyone with it can download your priced catalog. If it leaks, use "Regenerate key" in Account → Catalog integration; the old key stops working immediately.
Response
On success: 200 OK, with Content-Type text/csv, application/json or application/xml to match the URL. All formats use UTF-8; CSV includes a byte-order mark so Excel opens it without mangling accented characters.
| Header | Meaning |
|---|---|
X-Vaitto-Products | Distinct products in the file. Compare against the count on your account page to confirm nothing was truncated. |
X-Vaitto-Rows | Data rows, excluding the header. |
X-Vaitto-Generated-At | When this feed was built (ISO 8601). |
Content-Disposition | Suggested filename. |
| Status | Meaning |
|---|---|
| 401 | Missing/invalid key, or key's account isn't an active buyer |
| 403 | A VAITTO plan or retained partner access is required |
| 404 | Unknown format (anything other than shopify.csv / universal.csv / universal.json / universal.xml) |
| 500 | Server-side failure loading products |
Pricing
retail_price (Shopify: Price) is your own selling price. You choose how it is set in your account under Markup:
Markup rules resolve in this order: brand override → category override → supplier override → your global markup. In RRP mode they are used as the fallback for items without an RRP, or where the RRP-based price would fall below your purchase price.
The brand RRP is always in the rrp field (universal formats). It is a consumer price including VAT, while your purchase price and markup prices are net — so in RRP mode an item is only priced from the RRP if, after your own VAT, it still sells above your purchase price. The compare-at price repeats it only when it is higher than your price. All prices are EUR, excluding VAT and shipping.
shopify.csv columns
One row per variant (plus extra rows for gallery images beyond the first). Matches Shopify's current CSV import template exactly — all 57 columns, in order. Product-level columns (Title, Description, Vendor, Tags, primary image, Google Shopping fields) are populated only on the first variant row of each product handle; Shopify groups variants by URL handle.
Options are declared only when the product actually uses them: Option1 = Size, Option2 = Colour where colour data exists. Barcodes are EAN-13 where the supplier provides one. Weights are per-category estimates until manufacturer weights are available — treat them as shipping approximations, not spec data.
universal.csv columns
One row per variant. Flat format for WooCommerce, Magento, custom sites, or ERPs. The first 25 columns are stable and will not be reordered; new fields are appended at the end, so mapping by header name is safe across updates.
Universal JSON and XML use exactly the same fields and values, grouped by parent_sku with variants nested under each product. JSON uses numbers for numeric fields and null for empty values; XML represents empty values with empty elements and splits additional_image_urls into individual URL elements.
currencyis always EUR; prices exclude VAT and shippingtitle_ja,description_jaandsize_jpare ready-made Japanese listing fields for BUYMA, Mercari Shops and other Japanese channels.size_jpconverts the brand size label into a Japanese size (号, S/M/L, cm) — it is a conversion, not a garment measurement.buyma_brand_idis BUYMA's brand ID where we know ityour_price_jpy,rrp_jpyandwholesale_price_jpyare indicative yen amounts at the day's ECB reference rate (fx_eur_jpy, datedfx_date). Selling prices are rounded up to ¥100, the purchase price to the nearest yen. VAITTO invoices are always in EUR. If the rate cannot be fetched the yen columns stay empty rather than using a guessed rate- For a Shopify store set to yen, add
?lang=ja¤cy=JPYto the Shopify feed URL: titles, descriptions and option names come in Japanese and Price, Compare-at price and Cost per item in yen. You can use either parameter on its own your_price(same value asretail_price) is your selling price;rrpis the brand's recommended retail price, always filled;price_basisisrrpormarkupand says which rule setretail_pricemargin_at_rrp_pctis your real margin selling at full RRP, after the standard VAT rate of the country in your account (0 outside the EU). Filter on it to leave out low-margin itemsmarkup_pctis the markup on your purchase price thatretail_pricerepresents — useful for auditing your overrideswholesale_priceis for your records only — do not expose this to end customersproduct_idandvariant_idare stable UUIDs — safe to use as foreign keys in your databaseparent_skugroups variant rows into one product;product_typeissimpleorvariation, which is what WooCommerce and Magento need to build a variable/configurable productbarcodeis the EAN-13 where the supplier provides one — required by Google Merchant Center and most marketplacesadditional_image_urlsis pipe-separated (|), covering images 3 and beyondavailabilityisin stock/out of stock, derived fromstock_qty
Collection tags
All formats carry ready-made tags in the Tags field, so you can build automated collections in your store without picking products by hand. In Shopify: Products → Collections → Create collection → Automated, condition Product tag is equal to the tag below. The tags update every hour and your collections follow automatically.
New products from a warehouse that has just joined VAITTO don't count as new — otherwise one new warehouse would fill your collection overnight. Note that a CSV re-import replaces the whole Tags field of the products it updates, so add your own tags as collection conditions rather than editing the Tags column.
Platform notes
WooCommerce
Map parent_sku → Parent, product_type → Type, size/colour → Attribute 1/2 value, and category + subcategory → Categories as Category > Subcategory. Import parents before variations.
Magento 2
slug maps to url_key, product_type to simple / configurable, and additional_image_urls to additional_images (change the separator to a comma). You still need to supply attribute_set_code, product_websites and visibility — those are store-specific and not in the feed.
Google Merchant Center
barcode → gtin, google_product_category, gender, age_group, condition and availability are all present. Items without a barcode need identifier_exists = no set on your side.
FAQ
Why is my feed empty or missing products?
Only active products are included. Check X-Vaitto-Products against the count on your account page — if they match, nothing was truncated and the products you're missing are inactive in the VAITTO admin.
Can I filter by brand, category, or in-stock only?
Not currently — the endpoint always returns your full active catalog. Filter on your side after download.
Is there an incremental / "changes since" mode?
Not yet. Every row carries feed_generated_at, and a ?since= parameter is planned. Until then, rely on the 5-minute cache and your own import scheduler rather than polling more frequently.
Why are the weights approximate?
Our suppliers don't publish per-item weights. The feed emits a per-category estimate so weight-based shipping rates work in your store; real weights will replace them per product as they become available.
My key returns 401 even though it looks right.
Confirm your account status is active and role is buyer — a valid-looking key on a suspended account is rejected.
Need help? Email contact@vaitto.com and we'll walk you through the setup for your chosen app.