CartAI API

Checkout, catalog, payments and credentials endpoints: place an order from a product URL or product names, run programmatic or interactive checkout with status history, search products, get variant-level price and stock, estimate totals with tax and shipping, and pay with a tokenized credential via hosted payment and credential sessions.

GitHub OpenAPI
Pull this API's OpenAPI, operations, scores and pricing into your own code or AI agent with a free APIs.io key — sign in with GitHub, Google or LinkedIn. No form to fill in; signing in shares your email address with us (Privacy).

Operations 15

POST /checkout Create Checkout Task
POST /search-checkout Create Search Checkout Task #
GET /checkout/{taskId} Get Checkout Task #
DELETE /checkout/{taskId} Cancel Checkout Task #
GET /checkout/{taskId}/status-history Get Status History #
GET /checkout/{taskId}/status/interactive Get Interactive Status #
POST /checkout/{taskId}/{intent} Send Interactive Inputs #
POST /product/details Get Product Details #
POST /product/search Search Products #
POST /checkout-estimates Get Checkout Estimates #
POST /payment/session Create Payment Session #
DELETE /payment/session/{sessionId} Delete Payment Session #
GET /payment/session/{sessionId}/status Get Payment Session Status #
POST /payment/session/credentials Get Payment Credentials #
POST /credentials/session Create Credential Vault Session #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • 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.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/cartai-ai:cartai-api"
All apis
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.

Get an API 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 Specification

cartai-ai-openapi.yml Raw ↑
{"openapi":"3.0.0","info":{"title":"CartAI","version":"1.0.0","description":""},"servers":[{"url":"https://api.cartai.ai"}],"paths":{"/checkout":{"post":{"summary":"Create Checkout Task","tags":[],"description":"This API creates an asynchronous AI-powered checkout task that manages the entire purchase lifecycle — from cart assembly and shipping selection to payment processing and order confirmation — across one or many merchants 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","tasks"],"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"}}}}}}},"tasks":{"type":"array","items":{"type":"object","required":["url","quantity"],"properties":{"url":{"type":"string","format":"uri"},"quantity":{"type":"integer","minimum":1},"selectedVariant":{"type":"object","properties":{"color":{"type":"string"},"size":{"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 a login or verification code, an address, payment details or a shipping choice. 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"}},"tasks":[{"url":"https://www.aloyoga.com/products/w1518r-semi-sheer-mock-neck-oasis-tank-ivory","quantity":1,"selectedVariant":{"color":"Ivory","size":"S"}}],"options":{"verifyBeforePlacement":false,"useSavedCredentialToLogin":false,"useGuestCheckoutIfLoginFails":false,"allowInteraction":false,"allowPartialCheckout":true},"addons":{"couponCode":["SUMMER15"]}}}}}}}}},"/search-checkout":{"post":{"summary":"Create Search Checkout Task","tags":[],"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 a login or verification code, an address, payment details or a shipping choice. 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"]}}}}}}}}},"/checkout/{taskId}":{"get":{"summary":"Get Checkout Task","tags":[],"operationId":"get_checkout-taskid","description":"Retrieves the full state of an existing checkout task — including its current status, execution history, derived pricing and shipping details, and the original customer and product data. Use this endpoint to track the progress of an asynchronous checkout task created via POST /checkout.","parameters":[{"in":"path","name":"taskId","schema":{"type":"string"},"required":true,"description":"Task Id returned in Create Checkout Task API should be used as Path Params. "},{"in":"header","name":"X-Api-Key","schema":{"type":"string"},"required":true}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object","properties":{"addons":{"type":"object","properties":{"couponCode":{"type":"array","items":{"type":"string"}}}}}},"examples":{"OK":{"summary":"OK","value":{"tid":"019bd5c5-2824-76d1-aa7a-01db5c4d7065","executionId":"019bd5d7-aba0-7080-95e0-8b183f4eca0b","executionNumber":3,"isLatest":true,"status":"FAILED","createdAt":"2026-01-19 10:40:39.608994","groupId":"019bd5c5-2824-76d1-aa7a-01c54a48e75e","merchant":"saltiebeauty.com","tasks":[{"url":"https://saltiebeauty.com/products/seaweed-hydrating-shampoo","quantity":1,"selectedVariant":{"color":"","size":"","fit":""},"options":null,"metadata":{"title":"SEAWEED HYDRATING SHAMPOO","description":"","primaryImage":"","price":""}}],"derivedDetails":{"pricing":null,"shippingMethod":null,"selectedShippingOption":null},"customer":{"contact":{"firstName":"Mauroki","lastName":"Wabrom","email":"wabrommauroki@gmail.com","phone":"+12144444444"},"shippingAddress":{"addressLine1":"3221 Robert Dr","addressLine2":"","city":"Richardson","province":"TX","postalCode":"75082","country":"United States"},"billingAddress":{"city":"Richardson","country":"United States","province":"TX","postalCode":"75082","addressLine1":"3221 Robert Dr","addressLine2":""},"shippingMethod":{"strategy":"cheapest"},"payment":{"data":{"cvv":"***","name":"Carol Sturka","cardNumber":"************4242","expiryYear":"2034","expiryMonth":"12"},"provider":"test"}},"iterations":[{"executionId":"019bd5c5-2824-76d1-aa7a-01e28ef271ed","executionNumber":1,"createdDate":"2026-01-19 10:20:26.532269"},{"executionId":"019bd5d0-ba19-7cd2-8902-e99e729e5b25","executionNumber":2,"createdDate":"2026-01-19 10:33:04.518568"},{"executionId":"019bd5d7-aba0-7080-95e0-8b183f4eca0b","executionNumber":3,"createdDate":"2026-01-19 10:40:39.608994"}],"addons":{"couponCode":["SUMMER15"]}}}}}}},"400":{"description":"Bad Request"}}},"delete":{"summary":"Cancel Checkout Task","tags":[],"operationId":"cancel_checkout","description":"Cancels an existing checkout task. This will stop any ongoing checkout processes and prevent further execution.","parameters":[{"in":"path","name":"taskId","schema":{"type":"string"},"required":true,"description":"The ID of the checkout task to cancel"},{"in":"header","name":"x-api-key","schema":{"type":"string"},"required":true}],"responses":{"200":{"description":"Checkout task cancelled successfully","content":{"application/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean"}}}}}},"400":{"description":"Bad Request"}}}},"/checkout/{taskId}/status-history":{"get":{"summary":"Get Status History","tags":[],"operationId":"get_status_history","description":"Retrieves the complete status history for a checkout task, including all execution steps with their statuses, timestamps, and credits consumed.","parameters":[{"in":"path","name":"taskId","schema":{"type":"string"},"required":true,"description":"The ID of the checkout task"},{"in":"header","name":"x-api-key","schema":{"type":"string"},"required":true}],"responses":{"200":{"description":"Status history retrieved successfully","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"string"},"message":{"type":"string"},"data":{"type":"array","items":{"type":"object","properties":{"id":{"type":"integer"},"taskId":{"type":"string"},"executionId":{"type":"string"},"status":{"type":"string"},"systemStatus":{"type":"string"},"createdAt":{"type":"string"},"isFailed":{"type":"boolean"},"note":{"type":"string"},"creditsConsumed":{"type":"number"},"retryCount":{"type":"integer"}}}}}},"examples":{"Success":{"summary":"Success","value":{"status":"SUCCESS","message":"History retrieved successfully","data":[{"id":19772,"taskId":"019e4a66-f86f-7eb0-ad9f-2aa1f149c03c","executionId":"019e4a66-f86f-7eb0-ad9f-2a9bc9e5a367","status":"ORDER_CONFIRMED","systemStatus":"FAILED","createdAt":"2026-05-21 12:04:53.639675","isFailed":false,"note":null,"creditsConsumed":0.79,"retryCount":1},{"id":19771,"taskId":"019e4a66-f86f-7eb0-ad9f-2aa1f149c03c","executionId":"019e4a66-f86f-7eb0-ad9f-2a9bc9e5a367","status":"CREDIT_CARD_INPUT","systemStatus":"IN_PROGRESS","createdAt":"2026-05-21 12:03:39.117765","isFailed":false,"note":null,"creditsConsumed":0.38,"retryCount":1}]}}}}}},"400":{"description":"Bad Request"}}}},"/checkout/{taskId}/status/interactive":{"get":{"summary":"Get Interactive Status","tags":[],"operationId":"get_interactive_status","description":"Returns any input a checkout task is waiting for. Poll this endpoint while an interactive checkout (allowInteraction: true) runs. An empty data array means the agent isn't waiting. Each pending request has an id; answer it once with Send Interactive Inputs, and keep polling until the task reaches a terminal status.","parameters":[{"in":"path","name":"taskId","schema":{"type":"string","format":"uuid"},"required":true,"description":"The taskId returned by Create Checkout Task or Create Search Checkout Task"},{"in":"header","name":"x-api-key","schema":{"type":"string"},"required":true}],"responses":{"200":{"description":"Interactive status retrieved successfully","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"string"},"message":{"type":"string"},"data":{"type":"array","description":"Pending input requests. Empty when the agent isn't waiting for anything.","items":{"type":"object","properties":{"id":{"type":"string","format":"uuid","description":"Unique ID of this input request. Answer each ID only once."},"requireInputs":{"type":"array","items":{"type":"object","properties":{"type":{"type":"string","description":"How the input can be collected: input (your own UI) or hosted-screen (CartAI-hosted screen at value)"},"intent":{"type":"string","description":"Why the agent needs the input, e.g. confirmation or mfa-request"},"required":{"type":"boolean"},"value":{"type":"string","description":"For hosted-screen, the URL of the CartAI-hosted screen. Empty for input."},"inputSchema":{"type":"object","description":"JSON Schema describing the answer the agent needs"}}}}}}}}},"examples":{"NoInputPending":{"summary":"No input pending","value":{"status":"SUCCESS","data":[],"message":"No input pending"}},"InputPending":{"summary":"Input pending","value":{"status":"SUCCESS","data":[{"id":"f0d811e0-f11c-4412-b0c3-7f18b1fe9552","requireInputs":[{"type":"input","intent":"confirmation","required":true,"value":"","inputSchema":{"type":"object","properties":{"confirm":{"type":"boolean","title":"Place the order"},"reason":{"type":"string","title":"Reason","maxLength":500}},"required":["confirm"]}}]}],"message":"Interactive status retrieved successfully"}}}}}},"400":{"description":"Bad Request"},"404":{"description":"The task wasn't found"}}}},"/checkout/{taskId}/{intent}":{"post":{"summary":"Send Interactive Inputs","tags":[],"operationId":"send_interactive_inputs","description":"Sends input from the customer to a checkout task that is paused and waiting for it. Supported inputs are an MFA/OTP code (mfa) and the customer's decision to place or decline the order (confirmation).","parameters":[{"in":"path","name":"taskId","schema":{"type":"string","format":"uuid"},"required":true,"description":"ID of the checkout task that is waiting for input"},{"in":"path","name":"intent","schema":{"type":"string","enum":["mfa","confirmation"]},"required":true,"description":"Type of input being sent. Supported: mfa, confirmation"},{"in":"header","name":"x-api-key","schema":{"type":"string"},"required":true}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","description":"The body depends on the intent and must match the inputSchema of the request being answered. mfa: send only otp. confirmation: send confirm and, optionally, reason.","properties":{"otp":{"type":"string","minLength":4,"maxLength":8,"description":"The OTP/MFA code, 4–8 characters. Spaces at either end are trimmed. No other fields are allowed. Required when intent is mfa."},"confirm":{"type":"boolean","description":"true to place the order, false to decline it (the task is then CANCELLED). Required when intent is confirmation."},"reason":{"type":"string","maxLength":500,"description":"Optional, for intent confirmation. Why the customer declined."}}},"examples":{"MFA":{"summary":"MFA / OTP code","value":{"otp":"482913"}},"Confirm":{"summary":"Confirmation: place the order","value":{"confirm":true}},"Decline":{"summary":"Confirmation: decline the order","value":{"confirm":false,"reason":"Shipping is too expensive"}}}}}},"responses":{"201":{"description":"Input submitted successfully","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"string"},"message":{"type":"string"},"tasks":{"type":"array","items":{"type":"object","properties":{"taskId":{"type":"string"},"executionId":{"type":"string"},"status":{"type":"string"}}}}}},"examples":{"Success":{"summary":"Success","value":{"status":"success","message":"OTP submitted.","tasks":[{"taskId":"0193f2a1-7c4e-7b2a-9d1f-3e5a6b7c8d90","executionId":"0193f2a1-8d5f-7c3b-8e2a-4f6b7c8d9e01","status":"mfa_received"}]}}}}}},"400":{"description":"intent isn't supported, or the body doesn't match it (e.g. otp missing or the wrong length, confirm missing, or extra fields)"},"403":{"description":"The task doesn't belong to the caller, or the task is past the stage where it accepts this input"},"404":{"description":"The task wasn't found"},"409":{"description":"This input was already submitted for this task"},"500":{"description":"Unexpected server error"}}}},"/product/details":{"post":{"summary":"Get Product Details","tags":[],"operationId":"get_product_details","description":"Retrieves detailed product information for a given product URL, including product metadata, available dimensions, and variant-level details such as pricing, availability, images, and attributes.","parameters":[{"in":"header","name":"x-api-key","schema":{"type":"string"},"required":true}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["url"],"properties":{"url":{"type":"string","format":"uri","description":"The product page URL to fetch details for"},"allVariants":{"type":"boolean","description":"When true, returns all available variants for the product"}}},"examples":{"Example":{"summary":"Example","value":{"url":"https://www.aloyoga.com/products/w1518r-semi-sheer-mock-neck-oasis-tank-ivory","allVariants":true}}}}}},"responses":{"200":{"description":"Product found","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"string"},"message":{"type":"string"},"data":{"type":"object","properties":{"product":{"type":"object","properties":{"name":{"type":"string"},"brand":{"type":"string"},"retailer":{"type":"string"},"image":{"type":"string"},"url":{"type":"string"}}},"directUrl":{"type":"string"},"canCheckout":{"type":"object","description":"Checkout modes supported by the retailer","properties":{"login":{"type":"boolean"},"guest":{"type":"boolean"}}},"dimensions":{"type":"array","items":{"type":"string"},"description":"List of variant dimension names (e.g. Color, Band, Cup)"},"variants":{"type":"array","items":{"type":"object","properties":{"variantId":{"type":"string"},"price":{"type":"number"},"available":{"type":"boolean"},"image":{"type":"string"},"attributes":{"type":"object","additionalProperties":{"type":"string"},"description":"Key-value map of dimension name to value"},"url":{"type":"string"},"monetizationUrl":{"type":"string"}}}}}}}},"examples":{"Success":{"summary":"Success","value":{"status":"success","message":"Product found","data":{"product":{"name":"Semi Sheer Mock Neck Oasis Tank - Ivory","brand":"Alo Yoga","retailer":"Aloyoga","image":"//cdn.shopify.com/s/files/1/2185/2813/files/W1518R_03299_b2_s1_a2_dFA26_m18.jpg?v=1791487924","url":"https://www.aloyoga.com/products/w1518r-semi-sheer-mock-neck-oasis-tank-ivory"},"directUrl":"https://www.aloyoga.com/products/w1518r-semi-sheer-mock-neck-oasis-tank-ivory","canCheckout":{"login":true,"guest":true},"dimensions":["Color","Size"],"variants":[{"variantId":"50662297960807","price":64,"available":true,"image":"//cdn.shopify.com/s/files/1/2185/2813/files/W1518R_03299_b2_s1_a2_dFA26_m18.jpg?v=1791487924","attributes":{"Color":"Ivory","Size":"XXS"},"url":"https://www.aloyoga.com/products/w1518r-semi-sheer-mock-neck-oasis-tank-ivory","monetizationUrl":"https://r.v2i8b.com/api/v1/bid/redirect?campaign_id=01KVGP6THTZDYF2QVW1RR7CMZJ&url=https%3A%2F%2Fwww.aloyoga.com%2Fproducts%2Fw1518r-semi-sheer-mock-neck-oasis-tank-ivory&cid=CLK_sandbox_2_01a1633f-6560-7a70-9035-7a78827c73ef&source=cartai_sandbox_2&fb=https%3A%2F%2Fapi.cartai.ai%2Fcatalog%2Fredirect%3Furl%3Dhttps%253A%252F%252Fwww.aloyoga.com%252Fproducts%252Fw1518r-semi-sheer-mock-neck-oasis-tank-ivory%26dom%3Daloyoga.com%26cid%3DCLK_sandbox_2_01a1633f-6560-7a70-9035-7a78827c73ef%26source%3Dcartai_sandbox_2%26status%3Dfail"},{"variantId":"50662297993575","price":64,"available":true,"image":"//cdn.shopify.com/s/files/1/2185/2813/files/W1518R_03299_b2_s1_a2_dFA26_m18.jpg?v=1791487924","attributes":{"Color":"Ivory","Size":"XS"},"url":"https://www.aloyoga.com/products/w1518r-semi-sheer-mock-neck-oasis-tank-ivory","monetizationUrl":"https://r.v2i8b.com/api/v1/bid/redirect?campaign_id=01KVGP6THTZDYF2QVW1RR7CMZJ&url=https%3A%2F%2Fwww.aloyoga.com%2Fproducts%2Fw1518r-semi-sheer-mock-neck-oasis-tank-ivory&cid=CLK_sandbox_2_01a1633f-6560-7a70-9035-7a8eb0282c05&source=cartai_sandbox_2&fb=https%3A%2F%2Fapi.cartai.ai%2Fcatalog%2Fredirect%3Furl%3Dhttps%253A%252F%252Fwww.aloyoga.com%252Fproducts%252Fw1518r-semi-sheer-mock-neck-oasis-tank-ivory%26dom%3Daloyoga.com%26cid%3DCLK_sandbox_2_01a1633f-6560-7a70-9035-7a8eb0282c05%26source%3Dcartai_sandbox_2%26status%3Dfail"},{"variantId":"50662298026343","price":64,"available":true,"image":"//cdn.shopify.com/s/files/1/2185/2813/files/W1518R_03299_b2_s1_a2_dFA26_m18.jpg?v=1791487924","attributes":{"Color":"Ivory","Size":"S"},"url":"https://www.aloyoga.com/products/w1518r-semi-sheer-mock-neck-oasis-tank-ivory","monetizationUrl":"https://r.v2i8b.com/api/v1/bid/redirect?campaign_id=01KVGP6THTZDYF2QVW1RR7CMZJ&url=https%3A%2F%2Fwww.aloyoga.com%2Fproducts%2Fw1518r-semi-sheer-mock-neck-oasis-tank-ivory&cid=CLK_sandbox_2_01a1633f-6560-7a70-9035-7a9c13db6d09&source=cartai_sandbox_2&fb=https%3A%2F%2Fapi.cartai.ai%2Fcatalog%2Fredirect%3Furl%3Dhttps%253A%252F%252Fwww.aloyoga.com%252Fproducts%252Fw1518r-semi-sheer-mock-neck-oasis-tank-ivory%26dom%3Daloyoga.com%26cid%3DCLK_sandbox_2_01a1633f-6560-7a70-9035-7a9c13db6d09%26source%3Dcartai_sandbox_2%26status%3Dfail"},{"variantId":"50662298059111","price":64,"available":true,"image":"//cdn.shopify.com/s/files/1/2185/2813/files/W1518R_03299_b2_s1_a2_dFA26_m18.jpg?v=1791487924","attributes":{"Color":"Ivory","Size":"M"},"url":"https://www.aloyoga.com/products/w1518r-semi-sheer-mock-neck-oasis-tank-ivory","monetizationUrl":"https://r.v2i8b.com/api/v1/bid/redirect?campaign_id=01KVGP6THTZDYF2QVW1RR7CMZJ&url=https%3A%2F%2Fwww.aloyoga.com%2Fproducts%2Fw1518r-semi-sheer-mock-neck-oasis-tank-ivory&cid=CLK_sandbox_2_01a1633f-6560-7a70-9035-7aaa72bc5996&source=cartai_sandbox_2&fb=https%3A%2F%2Fapi.cartai.ai%2Fcatalog%2Fredirect%3Furl%3Dhttps%253A%252F%252Fwww.aloyoga.com%252Fproducts%252Fw1518r-semi-sheer-mock-neck-oasis-tank-ivory%26dom%3Daloyoga.com%26cid%3DCLK_sandbox_2_01a1633f-6560-7a70-9035-7aaa72bc5996%26source%3Dcartai_sandbox_2%26status%3Dfail"},{"variantId":"50662298091879","price":64,"available":true,"image":"//cdn.shopify.com/s/files/1/2185/2813/files/W1518R_03299_b2_s1_a2_dFA26_m18.jpg?v=1791487924","attributes":{"Color":"Ivory","Size":"L"},"url":"https://www.aloyoga.com/products/w1518r-semi-sheer-mock-neck-oasis-tank-ivory","monetizationUrl":"https://r.v2i8b.com/api/v1/bid/redirect?campaign_id=01KVGP6THTZDYF2QVW1RR7CMZJ&url=https%3A%2F%2Fwww.aloyoga.com%2Fproducts%2Fw1518r-semi-sheer-mock-neck-oasis-tank-ivory&cid=CLK_sandbox_2_01a1633f-6560-7a70-9035-7ab263bdcb3d&source=cartai_sandbox_2&fb=https%3A%2F%2Fapi.cartai.ai%2Fcatalog%2Fredirect%3Furl%3Dhttps%253A%252F%252Fwww.aloyoga.com%252Fproducts%252Fw1518r-semi-sheer-mock-neck-oasis-tank-ivory%26dom%3Daloyoga.com%26cid%3DCLK_sandbox_2_01a1633f-6560-7a70-9035-7ab263bdcb3d%26source%3Dcartai_sandbox_2%26status%3Dfail"},{"variantId":"50662297796967","price":64,"available":true,"image":"//cdn.shopify.com/s/files/1/2185/2813/files/W1518R_01_b1_s1_a50_dFA26_m161.jpg?v=1791488052","attributes":{"Color":"Black","Size":"XXS"},"url":"https://www.aloyoga.com/products/w1518r-semi-sheer-mock-neck-oasis-tank-ivory","monetizationUrl":"https://r.v2i8b.com/api/v1/bid/redirect?campaign_id=01KVGP6THTZDYF2QVW1RR7CMZJ&url=https%3A%2F%2Fwww.aloyoga.com%2Fproducts%2Fw1518r-semi-sheer-mock-neck-oasis-tank-ivory&cid=CLK_sandbox_2_01a1633f-6560-7a70-9035-7acf310f8b61&source=cartai_sandbox_2&fb=https%3A%2F%2Fapi.cartai.ai%2Fcatalog%2Fredirect%3Furl%3Dhttps%253A%252F%252Fwww.aloyoga.com%252Fproducts%252Fw1518r-semi-sheer-mock-neck-oasis-tank-ivory%26dom%3Daloyoga.com%26cid%3DCLK_sandbox_2_01a1633f-6560-7a70-9035-7acf310f8b61%26source%3Dcartai_sandbox_2%26status%3Dfail"},{"variantId":"50662297829735","price":64,"available":true,"image":"//cdn.shopify.com/s/files/1/2185/2813/files/W1518R_01_b1_s1_a50_dFA26_m161.jpg?v=1791488052","attributes":{"Color":"Black","Size":"XS"},"url":"https://www.aloyoga.com/products/w1518r-semi-sheer-mock-neck-oasis-tank-ivory","monetizationUrl":"https://r.v2i8b.com/api/v1/bid/redirect?campaign_id=01KVGP6THTZDYF2QVW1RR7CMZJ&url=https%3A%2F%2Fwww.aloyoga.com%2Fproducts%2Fw1518r-semi-sheer-mock-neck-oasis-tank-ivory&cid=CLK_sandbox_2_01a1633f-6560-7a70-9035-7ad2115199cb&source=cartai_sandbox_2&fb=https%3A%2F%2Fapi.cartai.ai%2Fcatalog%2Fredirect%3Furl%3Dhttps%253A%252F%252Fwww.aloyoga.com%252Fproducts%252Fw1518r-semi-sheer-mock-neck-oasis-tank-ivory%26dom%3Daloyoga.com%26cid%3DCLK_sandbox_2_01a1633f-6560-7a70-9035-7ad2115199cb%26source%3Dcartai_sandbox_2%26status%3Dfail"},{"variantId":"50662297862503","price":64,"available":true,"image":"//cdn.shopify.com/s/files/1/2185/2813/files/W1518R_01_b1_s1_a50_dFA26_m161.jpg?v=1791488052","attributes":{"Color":"Black","Size":"S"},"url":"https://www.aloyoga.com/products/w1518r-semi-sheer-mock-neck-oasis-tank-ivory","monetizationUrl":"https://r.v2i8b.com/api/v1/bid/redirect?campaign_id=01KVGP6THTZDYF2QVW1RR7CMZJ&url=https%3A%2F%2Fwww.aloyoga.com%2Fproducts%2Fw1518r-semi-sheer-mock-neck-oasis-tank-ivory&cid=CLK_sandbox_2_01a1633f-6560-7a70-9035-7ae9c6c08181&source=cartai_sandbox_2&fb=https%3A%2F%2Fapi.cartai.ai%2Fcatalog%2Fredirect%3Furl%3Dhttps%253A%252F%252Fwww.aloyoga.com%252Fproducts%252Fw1518r-semi-sheer-mock-neck-oasis-tank-ivory%26dom%3Daloyoga.com%26cid%3DCLK_sandbox_2_01a1633f-6560-7a70-9035-7ae9c6c08181%26source%3Dcartai_sandbox_2%26status%3Dfail"},{"variantId":"50662297895271","price":64,"available":true,"image":"//cdn.shopify.com/s/files/1/2185/2813/files/W1518R_01_b1_s1_a50_dFA26_m161.jpg?v=1791488052","attributes":{"Color":"Black","Size":"M"},"url":"https://www.aloyoga.com/products/w1518r-semi-sheer-mock-neck-oasis-tank-ivory","monetizationUrl":"https://r.v2i8b.com/api/v1/bid/redirect?campaign_id=01KVGP6THTZDYF2QVW1RR7CMZJ&url=https%3A%2F%2Fwww.aloyoga.com%2Fproducts%2Fw1518r-semi-sheer-mock-neck-oasis-tank-ivory&cid=CLK_sandbox_2_01a1633f-6561-7472-9841-92963c319f58&source=cartai_sandbox_2&fb=https%3A%2F%2Fapi.cartai.ai%2Fcatalog%2Fredirect%3Furl%3Dhttps%253A%252F%252Fwww.aloyoga.com%252Fproducts%252Fw1518r-semi-sheer-mock-neck-oasis-tank-ivory%26dom%3Daloyoga.com%26cid%3DCLK_sandbox_2_01a1633f-6561-7472-9841-92963c319f58%26source%3Dcartai_sandbox_2%26status%3Dfail"},{"variantId":"50662297928039","price":64,"available":true,"image":"//cdn.shopify.com/s/files/1/2185/2813/files/W1518R_01_b1_s1_a50_dFA26_m161.jpg?v=1791488052","attributes":{"Color":"Black","Size":"L"},"url":"https://www.aloyoga.com/products/w1518r-semi-sheer-mock-neck-oasis-tank-ivory","monetizationUrl":"https://r.v2i8b.com/api/v1/bid/redirect?campaign_id=01KVGP6THTZDYF2QVW1RR7CMZJ&url=https%3A%2F%2Fwww.aloyoga.com%2Fproducts%2Fw1518r-semi-sheer-mock-neck-oasis-tank-ivory&cid=CLK_sandbox_2_01a1633f-6561-7472-9841-92a0b3968683&source=cartai_sandbox_2&fb=https%3A%2F%2Fapi.cartai.ai%2Fcatalog%2Fredirect%3Furl%3Dhttps%253A%252F%252Fwww.aloyoga.com%252Fproducts%252Fw1518r-semi-sheer-mock-neck-oasis-tank-ivory%26dom%3Daloyoga.com%26cid%3DCLK_sandbox_2_01a1633f-6561-7472-9841-92a0b3968683%26source%3Dcartai_sandbox_2%26status%3Dfail"}]}}}}}}},"400":{"description":"Bad Request"}}}

# --- truncated at 32 KB (47 KB total) ---
# Full source: https://artifacts.apis.io/cartai-ai/openapi/cartai-ai-openapi.yml