CartAI Search Checkout API
The Search Checkout API from CartAI — 1 operation(s) for search checkout.
The Search Checkout API from CartAI — 1 operation(s) for search checkout.
Every API here is available over the APIs.io API and to AI agents over MCP.
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
find_apisBrowse and filter every API in the catalog.get_api_artifactsOne API's artifacts, grouped by type.get_openapiThe primary OpenAPI for this API.find_similar_apisAPIs that look like this one.apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.resolveTurn a domain, URL or GitHub org into the provider it belongs to.find_cohortsEvery scored population of providers in the catalog.curl "https://apis.io/api/v1/apis/cartai-ai:cartai-ai-search-checkout-api"
curl "https://apis.io/api/v1/apis?limit=25"
Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.
openapi: 3.2.0
info:
title: CartAI Search Checkout API
version: 1.0.0
description: ''
servers:
- url: https://api.cartai.ai
tags:
- name: Search Checkout
paths:
/search-checkout:
post:
summary: Create Search Checkout Task
tags:
- Search Checkout
operationId: create_search_checkout
description: Creates an asynchronous AI-powered checkout task from product names instead of product URLs. Provide the merchant and a list of item names — the agent searches the merchant's catalog, resolves each item (and any selected variant), assembles the cart, and completes shipping, payment and order confirmation in a single call.
parameters:
- in: header
name: X-Api-Key
schema:
type: string
required: true
responses:
'201':
description: Checkout tasks submitted
content:
application/json:
schema:
type: object
properties:
status:
type: string
example: success
message:
type: string
example: Checkout tasks submitted
groupId:
type: string
description: Identifier grouping all tasks submitted in this request
tasks:
type: array
items:
type: object
properties:
taskId:
type: string
executionId:
type: string
status:
type: string
example: queued
merchant:
type: string
liveUrl:
type: string
format: uri
description: Live preview URL for watching the checkout run
examples:
Success:
summary: Success
value:
status: success
message: Checkout tasks submitted
groupId: 01a1f857-0a5b-7371-a70e-0513656b448e
tasks:
- taskId: 01a1f857-0a68-7233-abf2-faec6856e343
executionId: 01a1f857-0a68-7233-abf2-fad75e4b2d81
status: queued
merchant: aloyoga.com
liveUrl: https://web.cartai.ai/v2/live-preview?id=eyJ0aWQiOiAiMDFhMWY4NTctMGE2OC03MjMzLWFiZjItZmFlYzY4NTZlMzQzIiwgImV4ZWN1dGlvbl9pZCI6ICIwMWExZjg1Ny0wYTY4LTcyMzMtYWJmMi1mYWQ3NWU0YjJkODEifQ==
'400':
description: Bad Request
requestBody:
required: true
content:
application/json:
schema:
type: object
required:
- customer
- merchant
- itemList
properties:
customer:
type: object
properties:
contact:
type: object
properties:
lastName:
type: string
firstName:
type: string
phone:
type: string
pattern: ^[+0-9\- ]{7,20}$
email:
type: string
format: email
shippingAddress:
type: object
properties:
addressLine1:
type: string
addressLine2:
type: string
city:
type: string
province:
type: string
postalCode:
type: string
pattern: ^[A-Za-z0-9\- ]{3,10}$
country:
type: string
billingAddress:
type: object
properties:
addressLine1:
type: string
addressLine2:
type: string
city:
type: string
province:
type: string
postalCode:
type: string
pattern: ^[A-Za-z0-9\- ]{3,10}$
country:
type: string
shippingMethod:
type: object
properties:
strategy:
type: string
payment:
type: object
properties:
provider:
type: string
data:
type: object
properties:
cvv:
type: string
name:
type: string
cardNumber:
type: string
expiryYear:
type: string
expiryMonth:
type: string
merchant:
type: string
format: uri
description: Merchant website URL to search and check out from
itemList:
type: array
items:
type: object
required:
- name
properties:
name:
type: string
description: Product name to search for on the merchant's site
quantity:
type: integer
minimum: 1
default: 1
selectedVariant:
type: object
description: Variant options as key/value pairs, using the option names shown on the merchant's site (e.g. Shade, Color, Size)
additionalProperties:
type: string
options:
type: object
properties:
verifyBeforePlacement:
type: boolean
default: false
description: Agent asks for confirmation just before placing the order
useSavedCredentialToLogin:
type: boolean
default: false
description: Agent signs in using the stored credentials created with the Create Credential Vault Session API
useGuestCheckoutIfLoginFails:
type: boolean
default: false
description: If the stored credentials do not work, the agent falls back to guest checkout when the merchant offers it
allowInteraction:
type: boolean
default: false
description: Enables the interactive flow instead of fire and forget. With allowInteraction set to true, CartAI escalates whenever the checkout needs something it does not have, such as login and verification codes, shipping and billing addresses, payment details, shipping method or any other choice the merchant asks for. CartAI pauses the order, asks the customer, and finishes the checkout once the answer is provided.
allowPartialCheckout:
type: boolean
default: false
description: If some items fail (e.g. out of stock), the agent still completes checkout for the remaining items
addons:
type: object
properties:
couponCode:
type: array
items:
type: string
examples:
New Example:
summary: New Example
value:
customer:
contact:
lastName: Sturka
firstName: Carol
phone: '+12144444444'
email: john.doe@example.com
shippingAddress:
addressLine1: 609 Royal Crest Dr
addressLine2: ''
city: Richardson
province: TX
postalCode: '75081'
country: US
billingAddress:
addressLine1: 609 Royal Crest Dr
addressLine2: ''
city: Richardson
province: TX
postalCode: '75081'
country: US
shippingMethod:
strategy: cheapest
payment:
data:
cvv: '444'
name: Carol Sturka
cardNumber: '4242424242424242'
expiryYear: '2034'
expiryMonth: '12'
provider: test
merchant: https://kyliecosmetics.com/
itemList:
- name: Velvet Brew Eau De Parfum Pen Spray
quantity: 1
- name: Face Brush Trio
- name: Blush Wood Eau De Parfum
quantity: 2
- name: Plumping Matte Lip Kit
quantity: 1
selectedVariant:
Shade: candy k
options:
verifyBeforePlacement: false
useSavedCredentialToLogin: false
useGuestCheckoutIfLoginFails: false
allowInteraction: false
allowPartialCheckout: true
addons:
couponCode:
- SUMMER15
x-readme: {}