Shopify CSV Change Review
Pricing
$0.50 / completed comparison
Shopify CSV Change Review
Review a proposed Shopify product CSV against an existing export before importing it. Get a change report and CSVs of detected issues and changes.
Shopify CSV Change Review
Pricing
$0.50 / completed comparison
Review a proposed Shopify product CSV against an existing export before importing it. Get a change report and CSVs of detected issues and changes.
You can access the Shopify CSV Change Review 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 "proposedCsv": `URL handle,Title,Description,Vendor,Option1 name,Option1 value,SKU,Price,Inventory quantity,Status12linen-shirt,Linen shirt,Lightweight everyday shirt,,Size,Small,SH-001-S,7.99,12,active13linen-shirt,,,,Size,M,SH-001-M,79.90,8,14canvas-tote,Canvas tote,Reusable cotton tote,North Studio,Title,Default Title,TB-010,0.00,40,draft`,15 "currentCsv": `URL handle,Title,Description,Vendor,Option1 name,Option1 value,SKU,Price,Inventory quantity,Status16linen-shirt,Linen shirt,Lightweight everyday shirt,North Studio,Size,S,SH-001-S,79.90,12,active17linen-shirt,,,,Size,M,SH-001-M,79.90,8,18canvas-tote,Canvas tote,Reusable cotton tote,North Studio,Title,Default Title,TB-010,29.90,40,active`,19 "mode": "update",20 "maxRows": 10000,21 "priceChangeThresholdPercent": 30,22 "expectedChangedColumns": [23 "Price",24 "Inventory quantity"25 ]26};27
28// Run the Actor and wait for it to finish29const run = await client.actor("mathe_carv/shopify-csv-change-review").call(input);30
31// Fetch and print Actor results from the run's dataset (if any)32console.log('Results from dataset');33console.log(`💾 Check your data here: https://console.apify.com/storage/datasets/${run.defaultDatasetId}`);34const { items } = await client.dataset(run.defaultDatasetId).listItems();35items.forEach((item) => {36 console.dir(item);37});38
39// 📚 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 Shopify CSV Change Review API in JavaScript or TypeScript, providing convenience functions and automatic retries on errors.
Install the apify-client
$npm install apify-clientOther API clients include: