# Compare whole-pack costs for a janitorial basket

**Use case:** 

Compare a three-product Jangro basket across indexed UK suppliers. Request litres, calculate whole packs and inspect complete merchandise plans in OUTPUT. The table shows line offers; shipping remains unknown without quotes or supported estimates. $0.02 per delivered offer.

## Input

```json
{
  "urls": [
    "https://shop.calabashmint.co.uk/product/jangro-cream-cleaner-500ml/"
  ],
  "offers": [],
  "operation": "basket",
  "lines": [
    {
      "brand": "Jangro",
      "manufacturerCode": "BB050-50",
      "quantity": {
        "amount": "6",
        "unit": "L"
      }
    },
    {
      "brand": "Jangro",
      "manufacturerCode": "BB004-5",
      "quantity": {
        "amount": "15",
        "unit": "L"
      }
    },
    {
      "brand": "Jangro",
      "manufacturerCode": "BK104-5",
      "quantity": {
        "amount": "10",
        "unit": "L"
      }
    }
  ],
  "maxOffersPerLine": 5,
  "maxSuppliers": 2
}
```

## Output

```json
{
  "lineIndex": {
    "label": "lineIndex",
    "format": "text"
  },
  "title": {
    "label": "title",
    "format": "text"
  },
  "supplier": {
    "label": "supplier",
    "format": "text"
  },
  "currency": {
    "label": "currency",
    "format": "text"
  },
  "purchase.packs": {
    "label": "purchase.packs",
    "format": "text"
  },
  "purchase.deliveredQuantity": {
    "label": "purchase.deliveredQuantity",
    "format": "text"
  },
  "purchase.unit": {
    "label": "purchase.unit",
    "format": "text"
  },
  "purchase.subtotal": {
    "label": "Merchandise subtotal",
    "format": "text"
  },
  "taxBasis": {
    "label": "Tax basis",
    "format": "text"
  },
  "source.url": {
    "label": "Source",
    "format": "link"
  }
}
```

## About this Actor

This example demonstrates how to use [Comparable Product Offers — Pack Sizes & Unit Prices](https://apify.com/gregory-brydon/comparable-product-offers.md) with a specific input configuration. Visit the [Actor detail page](https://apify.com/gregory-brydon/comparable-product-offers.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/gregory-brydon/comparable-product-offers.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`).
