# Export Shopify product variants, SKUs and stock

**Use case:** 

Exports a Shopify store's products with one row per variant, ready for a spreadsheet. Each row has the product title, variant title, size and color options, SKU, barcode when public, price, compare at price, availability, weight and the variant URL. Useful for catalog migration, inventory checks and matching products across stores.

## Input

```json
{
  "storeUrls": [
    "www.tentree.com"
  ],
  "maxProductsPerStore": 5,
  "maxTotalProducts": 0,
  "variantMode": "rows",
  "includeStoreInfo": false,
  "includeCollections": false,
  "includeProducts": true,
  "inStockOnly": false,
  "onSaleOnly": false,
  "descriptionFormat": "none",
  "maxConcurrency": 3,
  "requestDelayMs": 1000,
  "proxyConfiguration": {
    "useApifyProxy": false
  }
}
```

## Output

```json
{
  "type": {
    "label": "Type",
    "format": "string"
  },
  "variantImageUrl": {
    "label": "Image",
    "format": "image"
  },
  "title": {
    "label": "Product",
    "format": "string"
  },
  "variantTitle": {
    "label": "Variant",
    "format": "string"
  },
  "sku": {
    "label": "SKU",
    "format": "string"
  },
  "variantPrice": {
    "label": "Price",
    "format": "number"
  },
  "variantCompareAtPrice": {
    "label": "Compare at",
    "format": "number"
  },
  "variantOnSale": {
    "label": "On sale",
    "format": "boolean"
  },
  "variantDiscountPercent": {
    "label": "Discount %",
    "format": "number"
  },
  "currency": {
    "label": "Currency",
    "format": "string"
  },
  "variantAvailable": {
    "label": "In stock",
    "format": "boolean"
  },
  "option1": {
    "label": "Option 1",
    "format": "string"
  },
  "option2": {
    "label": "Option 2",
    "format": "string"
  },
  "option3": {
    "label": "Option 3",
    "format": "string"
  },
  "vendor": {
    "label": "Vendor",
    "format": "string"
  },
  "variantUrl": {
    "label": "URL",
    "format": "string"
  },
  "storeDomain": {
    "label": "Store",
    "format": "string"
  }
}
```

## How it works

### 1. Sign up on Apify or log in

The Shopify Store Scraper: Products, Prices, Variants, Stock Actor is ready to run with the inputs already set for "Export Shopify product variants, SKUs and stock". [Sign up or log in](https://console.apify.com/create-task-from-example/Yighkqpqlp1tkaGVK) and you'll land in Apify Console with a copy of this exact task.

### 2. Start the "Export Shopify product variants, SKUs and stock" task

The Shopify Store Scraper: Products, Prices, Variants, Stock Actor will start running based on the input automatically. You can also change all the input fields, like store urls or domains, max products per store, and more, to match your specific use case.

### 3. Receive the "Export Shopify product variants, SKUs and stock" output

Monitor the progress in real time. You will be notified as soon as your dataset is complete and ready for review. Each result includes data such as type, image, product, and more.

### 4. Integrate into your workflow

The final output is delivered in JSON, CSV, or Excel format, ready to be plugged into your workflow. You can also [run the "Export Shopify product variants, SKUs and stock" task via API](https://apify.com/zhtech/shopify-store-scraper.md).

## FAQ

### What does the Shopify variants and SKU export task return?

The Shopify variants and SKU export task returns one row per variant with product title, variant title, option values, SKU, price, compare at price, availability and URL. You pay per product, not per variant.

### How do I export a whole catalog?

Set Max products per store in the Shopify variants and SKU export task to 0 for the full catalog (up to 25,000 products per feed), and add more stores to Store URLs or domains.

### Can I run the Shopify variants and SKU export task on a schedule or through the API?

Save the Shopify variants and SKU export task to your Apify account, then add it to an Apify Schedule (for example daily) or start it from the Apify API, webhooks, Zapier, Make, n8n or the Apify MCP server for AI agents.

### How much does the Shopify variants and SKU export task cost?

The Shopify variants and SKU export task is pay per event: a small start fee per run plus a fee per product saved. Error rows, filtered products and duplicates are free. Prices are on the Pricing tab.

## About this Actor

This example demonstrates how to use [Shopify Store Scraper: Products, Prices, Variants, Stock](https://apify.com/zhtech/shopify-store-scraper.md) with a specific input configuration. Visit the [Actor detail page](https://apify.com/zhtech/shopify-store-scraper.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/zhtech/shopify-store-scraper.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`).
