# Compare coffee case prices per kg from CSV

**Use case:** 

Synthetic example: 12 x 250g at AUD36 becomes AUD12/kg; 6 x 1kg at AUD66 becomes AUD11/kg. Replace the sample with your authorized supplier CSV. No currency conversion or product-equivalence claim.

## Input

```json
{
  "csv_text": "sku,name,pack_size,price,currency\nCOFFEE-A,Synthetic coffee case A,12 x 250g,36,AUD\nCOFFEE-B,Synthetic coffee case B,6 x 1kg,66,AUD\n"
}
```

## Output

```json
{
  "sku": {
    "label": "SKU",
    "format": "string"
  },
  "name": {
    "label": "Product",
    "format": "string"
  },
  "pack_size_original": {
    "label": "Original pack size",
    "format": "string"
  },
  "pack_price": {
    "label": "Pack price",
    "format": "string"
  },
  "base_quantity": {
    "label": "Total base quantity",
    "format": "string"
  },
  "currency": {
    "label": "Currency",
    "format": "string"
  },
  "base_unit": {
    "label": "Base unit",
    "format": "string"
  },
  "price_per_base_unit": {
    "label": "Price per base unit",
    "format": "string"
  }
}
```

## How it works

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

The Supplier Catalogue Unit-Price Normalizer (CSV) Actor is ready to run with the inputs already set for "Compare coffee case prices per kg from CSV". [Sign up or log in](https://console.apify.com/create-task-from-example/rbu5uBdW7E7Mje5Uz) and you'll land in Apify Console with a copy of this exact task.

### 2. Start the "Compare coffee case prices per kg from CSV" task

The Supplier Catalogue Unit-Price Normalizer (CSV) Actor will start running based on the input automatically. You can also change all the input fields, like CSV text, to match your specific use case.

### 3. Receive the "Compare coffee case prices per kg from CSV" 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 SKU, product, original pack size, 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 "Compare coffee case prices per kg from CSV" task via API](https://apify.com/rose_dwelling/supplier-catalogue-unit-price-normalizer.md).

## FAQ

### Does a lower case price mean a lower unit price?

The coffee case-price example has AUD 36 for 3 kg (AUD 12/kg) and AUD 66 for 6 kg (AUD 11/kg). Compare only equivalent products, currencies, tax bases and terms.

### Does the example change my supplier prices?

The coffee case-price example only processes supplied CSV text. It does not change supplier prices or update a store.

## About this Actor

This example demonstrates how to use [Supplier Catalogue Unit-Price Normalizer (CSV)](https://apify.com/rose_dwelling/supplier-catalogue-unit-price-normalizer.md) with a specific input configuration. Visit the [Actor detail page](https://apify.com/rose_dwelling/supplier-catalogue-unit-price-normalizer.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/rose_dwelling/supplier-catalogue-unit-price-normalizer.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`).
