Checkout.com Inventory API

Beta Manage stock levels for each product variant (e.g. size or color) and temporarily hold stock while an AI agent completes a checkout. Each hold can later be confirmed or cancelled, and automatically expires on its own if left unresolved. This prevents overselling, even when multiple agents are buying at the same time. Holds work the same way regardless of which agentic commerce protocol is used. Requires the `agentic:inventory` scope. To onboard your AI platform, contact us.

GitHub OpenAPI
Business capability
Inventory Management BC-530

Operations 15

Each operation below carries the questions people ask an LLM about it and the instructions they give an agent to run it. Generated by API Evangelist overlay

GET /inventory/{variant_id} Get a variant's stock levels · Get stock levels #
Ask an LLM
“How many units of a variant are on hand and sellable right now?”
“Is a variant's available stock clamped to zero?”
Tell an agent
Get stock levels for variant {variant_id}.
Show on-hand and sellable stock for variant {variant_id}.
PUT /inventory/{variant_id} Set a variant's stock levels · Set stock levels #
Ask an LLM
“How do I correct the physical stock count for a variant?”
“Can I set a variant's safety stock when I set its stock levels?”
Tell an agent
Set variant {variant_id} on hand to {on_hand}.
Set variant {variant_id} on hand to {on_hand} with safety stock {safety_stock}.
GET /inventory/{variant_id}/product Get a variant's product knowledge · Get product knowledge #
Ask an LLM
“What title, description and price does a variant have?”
“Can I read the product knowledge for a variant?”
Tell an agent
Get product knowledge for variant {variant_id}.
Show the title and price of variant {variant_id}.
PUT /inventory/{variant_id}/product Set a variant's product knowledge · Set product knowledge #
Ask an LLM
“How do I add a product image and price to a variant?”
“Can I set a sale price that starts and ends on a date?”
Tell an agent
Set variant {variant_id} product knowledge with title {title}, description {description}, URL {product_url} and image {image_url}.
Set variant {variant_id} price to {price} and sale price to {sale_price} starting {sale_price_starts_at}.
DELETE /inventory/{variant_id}/product Delete a variant's product knowledge · Delete product knowledge #
Ask an LLM
“How do I remove the product knowledge from a variant?”
“Does deleting a variant's product knowledge affect its stock levels?”
Tell an agent destructive · confirm first
Delete product knowledge for variant {variant_id}.
Remove the product details from variant {variant_id}.
POST /inventory/adjustments Adjust a variant's stock · Adjust stock #
Ask an LLM
“How do I record that a batch of stock was damaged?”
“Can I add stock back after finding it?”
Tell an agent
Adjust variant {variant_id} stock by {delta} because {reason}.
Record a stock damage of {delta} for variant {variant_id} with reason {reason}.
POST /inventory/ingestions Submit a batch of stock and product changes · Submit a batch ingestion #
Ask an LLM
“How do I bulk update stock levels and product knowledge in one request?”
“What is the maximum number of items in a batch ingestion?”
Tell an agent
Submit a batch ingestion of {items} with mode {mode}.
Bulk update stock and product knowledge for {items}.
GET /inventory/ingestions/{id} Check a batch ingestion job · Get an ingestion job #
Ask an LLM
“Has my batch ingestion finished processing?”
“How many items were rejected in my ingestion job?”
Tell an agent
Get ingestion job {id}.
Check the state of batch ingestion job {id}.
GET /inventory/ingestions/{id}/results Get a batch ingestion's per-item results · Get an ingestion job's results #
Ask an LLM
“Which items in my batch ingestion were rejected?”
“Can I include the accepted items in an ingestion's results report?”
Tell an agent
Get the results of ingestion job {id}.
Show rejected items from ingestion job {id} with include {include}.
POST /inventory/ingestions/{id}/start Start processing an uploaded CSV file · Start processing an uploaded file #
Ask an LLM
“How do I begin processing a CSV file I uploaded for inventory?”
“What happens to a CSV upload after I start it?”
Tell an agent
Start processing uploaded file for ingestion job {id}.
Begin processing the CSV in batch job {id}.
POST /inventory/ingestions/uploads Create a CSV upload slot for inventory · Create a CSV upload slot #
Ask an LLM
“How do I get a presigned URL to upload a CSV of stock and product data?”
“Can I create an upload slot for a CSV file in a particular format?”
Tell an agent
Create an upload slot for a {format} file.
Create an upload slot for a {format} file in {mode} mode.
POST /inventory/reservations Reserve stock across variants · Create a reservation #
Ask an LLM
“How do I hold several variants for a customer's checkout?”
“Can a stock reservation expire automatically after a set time?”
Tell an agent
Reserve {items} for {owner_type} {owner_reference}.
Reserve {items} for {owner_type} {owner_reference} with a TTL of {ttl_seconds} seconds.
GET /inventory/reservations/{id} Get a stock reservation · Get a reservation #
Ask an LLM
“Is a stock reservation still held or has it expired?”
“What status is a reservation in?”
Tell an agent
Get reservation {id}.
Show the status of stock reservation {id}.
POST /inventory/reservations/{id}/commit Convert a stock reservation into a sale · Commit a reservation #
Ask an LLM
“How do I turn a held stock reservation into an actual sale?”
“Does committing a reservation only succeed if the hold hasn't expired?”
Tell an agent
Commit reservation {id}.
Convert held stock reservation {id} into a sale.
POST /inventory/reservations/{id}/release Release a stock reservation · Release a reservation #
Ask an LLM
“How do I release stock when a customer abandons their checkout?”
“Can I release a stock reservation early?”
Tell an agent
Release reservation {id}.
Free up the stock held by reservation {id}.

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/checkout-com:checkout-com-inventory-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

checkout-com-inventory-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Checkout.com API Reference Inventory API
  description: '## Get started

    Checkout.com provides a collection of APIs that enable you to integrate with our various products and services.

    Our APIs accept and return JSON in the HTTP body, and return standard HTTP response codes. You can consume the APIs directly using any HTTP or REST library.

    Sign up for a test account to gain access to the sandbox environment, where you can test API calls without affecting live data.

    For more information, see:


    - API endpoints

    - API rate limits

    - API changes

    - Idempotency

    - Private connections


    ## Base URLs

    The base URLs you must use for your API calls to the sandbox and production environments are unique to you.


    - `https://{prefix}.api.sandbox.checkout.com/{path}`

    - `https://{prefix}.api.checkout.com/{path}`

    - `https://{prefix}.access.sandbox.checkout.com/{path}`

    - `https://{prefix}.access.checkout.com/{path}`


    The unique API endpoint host names resolve to Checkout.com''s IP addresses. Do not allowlist these IP addresses.

    The `{prefix}` value in each base URL is a string containing the first eight characters of each of your environments'' unique `client_id`, excluding the `cli_` prefix.

    To find your unique base URL:

    1. Sign in to the Dashboard environment you want to retrieve the base URL for:


    - Sandbox

    - Production


    2. Go to _Developers_ > _Overview_.

    Your unique base URL is displayed on the _Developer overview_ page. For example, `https://vkuhvk4v.api.checkout.com`.


    3. Alternatively, go to _Settings_ > _Account details_.

    Your unique base URL is displayed under _Connection settings_.


    If you are unsure of your client ID or base URL for either environment, contact your account manager or request support.

    For more information, see API endpoints.

    ## Authentication

    When you sign up for an account, you can authenticate with either Access keys (OAuth 2.0), or Secret API keys.

    Unless explicitly stated, all endpoints require authentication using either your Access or Secret API Keys. Public keys should only be used in JavaScript or native applications.


    - **Client-side authentication**. Use your public key for client-side authentication. It only has access to a limited set of our APIs – mostly those called as part of your payment environment.


    - **Server-to-server authentication**. Use your secret key or OAuth for server-to-server communication. Support for API keys depends on the endpoint.


    Never share your OAuth credentials, API keys, or access tokens. Keep them guarded and secure.'
  termsOfService: https://www.checkout.com/legal/terms-and-policies
  contact:
    name: Checkout.com Support
    url: https://dashboard.checkout.com/support
  version: v1.0.0
servers:
- url: https://{prefix}.api.sandbox.checkout.com
  description: Sandbox environment
  variables:
    prefix:
      default: '{prefix}'
      description: Your unique <a href="https://www.checkout.com/docs/developer-resources/api/api-endpoints" target="_blank">base URL</a>. There is no default value.
- url: https://{prefix}.api.checkout.com
  description: Production environment
  variables:
    prefix:
      default: '{prefix}'
      description: Your unique <a href="https://www.checkout.com/docs/developer-resources/api/api-endpoints" target="_blank">base URL</a>. There is no default value.
tags:


# --- truncated at 32 KB (81 KB total) ---
# Full source: https://artifacts.apis.io/checkout-com/openapi/checkout-com-inventory-api-openapi.yml