Merchant Feed Exporter
Pricing
$0.05 / actor start
Merchant Feed Exporter
Generate Google Merchant RSS XML and Meta catalog CSV from one catalog. Download both feeds and a row report explaining exclusions.
Merchant Feed Exporter
Pricing
$0.05 / actor start
Generate Google Merchant RSS XML and Meta catalog CSV from one catalog. Download both feeds and a row report explaining exclusions.
You can access the Merchant Feed Exporter programmatically from your own applications by using the Apify API. You can also choose the language preference from below. To use the Apify API, you’ll need an Apify account and your API token, found in API & Integrations in Apify Console.
1import { ApifyClient } from 'apify-client';2
3// Initialize the ApifyClient with your Apify API token4// Replace the '<YOUR_API_TOKEN>' with your token5const client = new ApifyClient({6 token: '<YOUR_API_TOKEN>',7});8
9// Prepare Actor input10const input = {11 "payload": {12 "storeName": "Sample Shop",13 "storeUrl": "https://example.com",14 "currency": "USD",15 "items": [16 {17 "id": "planter-blue",18 "title": "Blue planter",19 "description": "Blue ceramic planter.",20 "link": "https://example.com/planter-blue",21 "image_link": "https://example.com/blue.png",22 "priceCents": 1999,23 "availability": "in_stock",24 "condition": "new",25 "brand": "Sample Brand",26 "mpn": "PLANT-BLUE",27 "identifierExists": true,28 "aiGenerated": false,29 "item_group_id": "planters",30 "color": "blue"31 },32 {33 "id": "incomplete",34 "title": "Missing fields"35 }36 ]37 }38};39
40// Run the Actor and wait for it to finish41const run = await client.actor("autosecurelogin/merchant-feed-exporter").call(input);42
43// Fetch and print Actor results from the run's dataset (if any)44console.log('Results from dataset');45console.log(`💾 Check your data here: https://console.apify.com/storage/datasets/${run.defaultDatasetId}`);46const { items } = await client.dataset(run.defaultDatasetId).listItems();47items.forEach((item) => {48 console.dir(item);49});50
51// 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/js/docsThe Apify API client for JavaScript is the official library that allows you to use Merchant Feed Exporter API in JavaScript or TypeScript, providing convenience functions and automatic retries on errors.
Install the apify-client
$npm install apify-clientOther API clients include: