# Compare supplier CSV price and stock changes before import

**Use case:** 

Compare two synthetic wholesale CSVs before an import. See a 25% price increase, stock falling to zero, one removed SKU and one added SKU. Download a row-level report in HTML, CSV or JSON. Replace both CSVs with your supplier files to review your own changes. No store is modified. Displayed Actor pricing applies when run.

## Input

```json
{
  "mode": "supplier",
  "columnPreset": "wholesale",
  "shopifyOverwriteExisting": true,
  "oldCsv": "Item Code,Wholesale Price,Currency,Available,Pack\nCOFFEE-250,8.00,USD,48,bag\nMUG-12,5.00,USD,24,each\nTEA-OLD,6.00,USD,12,box\n",
  "newCsv": "Item Code,Wholesale Price,Currency,Available,Pack\nCOFFEE-250,10.00,USD,0,bag\nMUG-12,5.00,USD,24,each\nTEA-NEW,7.00,USD,18,box\n",
  "priceChangePercent": 20
}
```

## Output

```json
{
  "mode": {
    "label": "Mode",
    "format": "string"
  },
  "status": {
    "label": "Status",
    "format": "string"
  },
  "oldRows": {
    "label": "Old rows",
    "format": "integer"
  },
  "newRows": {
    "label": "New rows",
    "format": "integer"
  },
  "matchedProducts": {
    "label": "Matched products",
    "format": "integer"
  },
  "totalFindings": {
    "label": "Total findings",
    "format": "integer"
  },
  "findingsBySeverity": {
    "label": "Findings by severity",
    "format": "object"
  },
  "findingsTruncated": {
    "label": "Findings truncated",
    "format": "boolean"
  }
}
```

## About this Actor

This example demonstrates how to use [Shopify CSV Import Checker & Supplier Catalog Diff](https://apify.com/fluffy_ingot/supplier-catalog-preflight.md) with a specific input configuration. Visit the [Actor detail page](https://apify.com/fluffy_ingot/supplier-catalog-preflight.md) to learn more, explore other use cases, and run it yourself.


## How to integrate an Actor?

This Task's input is already configured above. Use it as-is rather than inventing a new one.

Do not guess an integration path. Every one of them is in the agent quickstart at https://apify.com/agents.md: the Apify MCP server, Agent Skills with the Apify CLI, the JavaScript and Python clients, the REST API, and the account-free path for an agent with no human to sign in. It also carries the rule on stating cost before the first paid run.

For full API examples (JavaScript, Python, CLI, MCP, OpenAPI), see this Task's Actor page: https://apify.com/fluffy_ingot/supplier-catalog-preflight.md

Each client library has reference documentation the quickstart does not restate: [JavaScript/TypeScript](https://docs.apify.com/api/client/js/docs.md) (`npm install apify-client`) and [Python](https://docs.apify.com/api/client/python/docs.md) (`pip install apify-client`).
