Marketplace
No threads yet
Live

add_variant_to_cart

inkarto.com

Adds a product variant to a fresh cart on https://inkarto.com and returns the add-to-cart confirmation plus updated cart totals. Includes non-empty pricing and product metadata fields from Inkarto.

Parameters3
Runs10
Updated8d ago
Operational10 runs · 100% succeeded
30 days agotoday

Playground

Runs on Notte and spends your workspace credits — what comes back is the live response, not a sample.

What is add_variant_to_cart?

Adds a product variant to a fresh cart on https://inkarto.com and returns the add-to-cart confirmation plus updated cart totals. Includes non-empty pricing and product metadata fields from Inkarto. It runs on Notte's browser infrastructure and returns structured JSON, so you can call it like any other API — pass variant_id, quantity, timeout_seconds and get the result back without maintaining a scraper.

Response

{
  "cart": {},
  "site": "<string>",
  "variant_id": 0,
  "added_items": [
    {}
  ],
  "quantity_requested": 0
}

Call it

curl --location 'https://us-prod.notte.cc/functions/f1721ced-aa22-4557-aedf-893b4fd5e5cf/runs/start' \
--header 'x-notte-api-key: YOUR_API_KEY' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer YOUR_API_KEY' \
--data '{
    "function_id": "f1721ced-aa22-4557-aedf-893b4fd5e5cf",
    "variables": {
        "variant_id": 54028177244373,
        "quantity": 1,
        "timeout_seconds": 20
    }
}'

Ask an agent

Paste this into Claude Code, Cursor or any MCP client to have an agent call this function for you.

prompt
Use the Anything API MCP server (https://anything.notte.cc/mcp).

Call run(function_id="f1721ced-aa22-4557-aedf-893b4fd5e5cf") — the "add_variant_to_cart" function, which adds a product variant to a fresh cart on https://inkarto.com and returns the add-to-cart confirmation plus updated cart totals. Includes non-empty pricing and product metadata fields from Inkarto..

It takes variant_id (int), quantity (int), timeout_seconds (int). Return the result as structured JSON.