How to Automate Ordering from Supplier Websites with No API

Many suppliers sell through their own website and offer no ordering API. Teams end up placing those orders by hand. This guide shows how a procurement tool places them automatically, with one API call per order and an approval step before anything is bought.

The short answer

Your tool sends the item, the delivery address and payment to CartAI. CartAI signs in to your business account on the supplier’s site when needed, builds the cart and places the order on the supplier’s own website. A buyer can approve the final total before the order goes through.

Four ways to place supplier orders

  1. Supplier APIs and EDI. Clean where a supplier offers them. Each supplier is its own integration.

  2. Punchout catalogs. Work when the supplier supports them and your procurement suite does too.

  3. Scripting the website yourself. Browser automation or RPA you build and maintain. It breaks when the supplier changes the site. See Browser automation vs agentic checkout.

  4. A checkout API. One request, and the order is placed on the supplier’s site with no supplier integration. This is what the rest of this guide covers.

Step 1. Save the business account login

If the supplier requires sign in, an admin saves the business account login once through a credential vault session. The login is entered on a secure hosted page and never passes through your backend or your agent.

curl https://api.cartai.ai/credentials/session \
  -H "x-api-key: $CARTAI_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "merchantDomain": "https://supplier.example",
    "email": "purchasing@yourcompany.example"
  }'
curl https://api.cartai.ai/credentials/session \
  -H "x-api-key: $CARTAI_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "merchantDomain": "https://supplier.example",
    "email": "purchasing@yourcompany.example"
  }'
curl https://api.cartai.ai/credentials/session \
  -H "x-api-key: $CARTAI_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "merchantDomain": "https://supplier.example",
    "email": "purchasing@yourcompany.example"
  }'

Step 2. Create the order with approval turned on

Use the same email as the saved login. Set useSavedCredentialToLogin to sign in, and verifyBeforePlacement with allowInteraction so the agent stops at the supplier’s final review for approval. If the supplier sends a verification code at sign in, CartAI asks for it.

curl https://api.cartai.ai/checkout \
  -H "x-api-key: $CARTAI_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "customer": {
      "contact": {
        "firstName": "Purchasing",
        "lastName": "Team",
        "phone": "+1 555 010 0003",
        "email": "purchasing@yourcompany.example"
      },
      "shippingAddress": {
        "addressLine1": "500 Industrial Way",
        "city": "Columbus",
        "province": "OH",
        "postalCode": "43215",
        "country": "US"
      },
      "payment": { "data": { "sessionId": "SESSION_ID" } }
    },
    "tasks": [
      { "url": "https://supplier.example/products/nitrile-gloves", "quantity": 20 }
    ],
    "options": {
      "useSavedCredentialToLogin": true,
      "verifyBeforePlacement": true,
      "allowInteraction": true
    }
  }'
curl https://api.cartai.ai/checkout \
  -H "x-api-key: $CARTAI_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "customer": {
      "contact": {
        "firstName": "Purchasing",
        "lastName": "Team",
        "phone": "+1 555 010 0003",
        "email": "purchasing@yourcompany.example"
      },
      "shippingAddress": {
        "addressLine1": "500 Industrial Way",
        "city": "Columbus",
        "province": "OH",
        "postalCode": "43215",
        "country": "US"
      },
      "payment": { "data": { "sessionId": "SESSION_ID" } }
    },
    "tasks": [
      { "url": "https://supplier.example/products/nitrile-gloves", "quantity": 20 }
    ],
    "options": {
      "useSavedCredentialToLogin": true,
      "verifyBeforePlacement": true,
      "allowInteraction": true
    }
  }'
curl https://api.cartai.ai/checkout \
  -H "x-api-key: $CARTAI_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "customer": {
      "contact": {
        "firstName": "Purchasing",
        "lastName": "Team",
        "phone": "+1 555 010 0003",
        "email": "purchasing@yourcompany.example"
      },
      "shippingAddress": {
        "addressLine1": "500 Industrial Way",
        "city": "Columbus",
        "province": "OH",
        "postalCode": "43215",
        "country": "US"
      },
      "payment": { "data": { "sessionId": "SESSION_ID" } }
    },
    "tasks": [
      { "url": "https://supplier.example/products/nitrile-gloves", "quantity": 20 }
    ],
    "options": {
      "useSavedCredentialToLogin": true,
      "verifyBeforePlacement": true,
      "allowInteraction": true
    }
  }'

Your platform pays the merchant. Pass a payment session created on Visa Intelligent Commerce, Mastercard Agent Pay or Stripe Link, or the card your platform uses for orders, which is tokenized once your account is in production mode. Card data never reaches your agent.

Step 3. Approve the order

When the task reaches PENDING_CONFIRMATION, read the total, shipping and tax from derivedDetails and route it to the approver. Then send the decision, with an optional reason.

curl https://api.cartai.ai/checkout/TASK_ID/confirmation \
  -H "x-api-key: $CARTAI_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{ "confirm": true }'
curl https://api.cartai.ai/checkout/TASK_ID/confirmation \
  -H "x-api-key: $CARTAI_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{ "confirm": true }'
curl https://api.cartai.ai/checkout/TASK_ID/confirmation \
  -H "x-api-key: $CARTAI_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{ "confirm": true }'

Approved orders move through CONFIRMED and PLACED to COMPLETED. A rejected order is cancelled.

Step 4. Track and reconcile

Webhooks report every status change. The task returns the final pricing and the order details from the supplier for your records. One request can hold items from several suppliers. CartAI creates one task per supplier, and high volume requests queue and run in order.

What to expect

  • No merchant integration. The order is placed on the merchant’s own site, so the merchant keeps fulfillment, returns and the customer relationship, and stays the merchant of record.

  • Checkout works on merchant sites worldwide, on guest and login gated flows.

  • In a November 2026 benchmark, CartAI completed 95.88% of checkouts across 97 live merchants on the first attempt, from product page through payment.

  • Checkout runs on supported merchants. A merchant can choose not to allow agent checkouts, and CartAI respects that choice.

  • Checkout is asynchronous. Build around webhooks, not a blocking call.

Get started

Get a free API key at portal.cartai.ai and read the full reference at docs.cartai.ai. The general flow is in How to place orders on merchant sites from an AI agent. If you run a platform that needs orders placed at volume, talk to us.

© 2026 All rights reserved.

© 2026 All rights reserved.

© 2026 All rights reserved.