Square Inventory API

The Inventory API from Square — 13 operation(s) for inventory.

Business capability
Inventory Management BC-530

Operations 13

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 /v2/inventory/adjustment/{adjustment_id} Get an adjustment (deprecated URL) · Square Deprecated Retrieve Inventory Adjustment #
Ask an LLM
“Is there an older singular adjustment URL for reading an inventory adjustment?”
“What does the deprecated inventory adjustment lookup return?”
Tell an agent
Get inventory adjustment {adjustment_id} using the deprecated singular endpoint.
Fetch adjustment {adjustment_id} through the legacy /inventory/adjustment path.
GET /v2/inventory/adjustments/{adjustment_id} Get an inventory adjustment · Square Retrieve Inventory Adjustment #
Ask an LLM
“How do I view one inventory adjustment, like a sale or waste record?”
“Can I see what an inventory adjustment changed and when?”
Tell an agent
Get inventory adjustment {adjustment_id}.
Show me stock adjustment {adjustment_id} from the current adjustments endpoint.
POST /v2/inventory/batch-change Apply stock changes (deprecated URL) · Square Deprecated Batch Change Inventory #
Ask an LLM
“Is the old batch-change inventory URL still usable?”
“What does the deprecated batch-change endpoint do?”
Tell an agent
Apply inventory changes {changes} through the deprecated batch-change endpoint.
Use the legacy batch-change path to record {changes} with key {idempotency_key}.
POST /v2/inventory/batch-retrieve-changes Read stock history (deprecated URL) · Square Deprecated Batch Retrieve Inventory Changes #
Ask an LLM
“Is there a legacy batch-retrieve-changes URL for inventory history?”
“Does the deprecated changes lookup take the same filters as the new one?”
Tell an agent
Get inventory changes for {catalog_object_ids} via the deprecated batch-retrieve-changes endpoint.
Use the legacy endpoint to list stock history at locations {location_ids}.
POST /v2/inventory/batch-retrieve-counts Read stock counts (deprecated URL) · Square Deprecated Batch Retrieve Inventory Counts #
Ask an LLM
“Is the old batch-retrieve-counts URL still around for stock levels?”
“What does the deprecated inventory counts lookup return?”
Tell an agent
Get stock counts for {catalog_object_ids} via the deprecated batch-retrieve-counts endpoint.
Use the legacy counts path to check stock at {location_ids}.
POST /v2/inventory/changes/batch-create Adjust or recount stock in bulk · Square Batch Change Inventory #
Ask an LLM
“How do I record a stock recount or adjustment for many items at once?”
“Can I skip counts that haven't changed when updating inventory?”
Tell an agent
Apply inventory changes {changes}.
Record these stock adjustments and counts: {changes}, ignoring unchanged counts: {ignore_unchanged_counts}.
POST /v2/inventory/changes/batch-retrieve Search inventory change history · Square Batch Retrieve Inventory Changes #
Ask an LLM
“Where can I see the history of stock adjustments for my items?”
“Can I filter inventory history by date, location or change type?”
Tell an agent
List inventory changes for items {catalog_object_ids} at {location_ids}.
Show stock history updated after {updated_after} of types {types}.
POST /v2/inventory/counts/batch-retrieve Get current stock counts in bulk · Square Batch Retrieve Inventory Counts #
Ask an LLM
“How much stock do I have of several items across my locations?”
“Can I fetch counts only for items that changed recently?”
Tell an agent
Get current stock counts for {catalog_object_ids} at {location_ids}.
Show inventory counts changed since {updated_after}.
GET /v2/inventory/physical-count/{physical_count_id} Get a physical count (deprecated URL) · Square Deprecated Retrieve Inventory Physical Count #
Ask an LLM
“Is there an older singular physical-count URL for reading a stock count?”
“What does the deprecated physical count lookup return?”
Tell an agent
Get physical count {physical_count_id} using the deprecated singular endpoint.
Fetch count {physical_count_id} through the legacy /inventory/physical-count path.
GET /v2/inventory/physical-counts/{physical_count_id} Get a physical stock count · Square Retrieve Inventory Physical Count #
Ask an LLM
“How do I view the record of a manual stock count?”
“Can I see who counted an item and what quantity they recorded?”
Tell an agent
Get physical count {physical_count_id}.
Show recount record {physical_count_id} from the current physical-counts endpoint.
GET /v2/inventory/transfers/{transfer_id} Get an inventory transfer · Square Retrieve Inventory Transfer #
Ask an LLM
“How can I view a stock transfer between two locations?”
“What quantity moved in a particular inventory transfer?”
Tell an agent
Get inventory transfer {transfer_id}.
Show the details of stock transfer {transfer_id}.
GET /v2/inventory/{catalog_object_id} Get stock count for one item · Square Retrieve Inventory Count #
Ask an LLM
“How many units of this one item do I have in stock?”
“Can I check a single item's stock at specific locations?”
Tell an agent
Get the current stock count of {catalog_object_id}.
Check stock of item {catalog_object_id} at locations {location_ids}.
GET /v2/inventory/{catalog_object_id}/changes Get stock history for one item · Square Retrieve Inventory Changes #
Ask an LLM
“What adjustments and recounts has a single item had?”
“Can I see one product's inventory history at a location?”
Tell an agent
List inventory changes for item {catalog_object_id}.
Show stock history of {catalog_object_id} at {location_ids}.

Documentation

📖
Documentation
https://developer.squareup.com/docs/payments-overview
📖
APIReference
https://developer.squareup.com/reference/square/payments-api
📖
Documentation
https://developer.squareup.com/docs/orders-api/what-it-does
📖
APIReference
https://developer.squareup.com/reference/square/orders-api
📖
Documentation
https://developer.squareup.com/docs/catalog-api/what-it-does
📖
APIReference
https://developer.squareup.com/reference/square/catalog-api
📖
Documentation
https://developer.squareup.com/docs/inventory-api/what-it-does
📖
APIReference
https://developer.squareup.com/reference/square/inventory-api
📖
Documentation
https://developer.squareup.com/docs/customers
📖
APIReference
https://developer.squareup.com/reference/square/customers-api
📖
Documentation
https://developer.squareup.com/docs/locations-api
📖
APIReference
https://developer.squareup.com/reference/square/locations-api
📖
Documentation
https://developer.squareup.com/docs/team/overview
📖
APIReference
https://developer.squareup.com/reference/square/team-api
📖
Documentation
https://developer.squareup.com/docs/labor-api/what-it-does
📖
APIReference
https://developer.squareup.com/reference/square/labor-api
📖
Documentation
https://developer.squareup.com/docs/bookings-api/what-it-is
📖
APIReference
https://developer.squareup.com/reference/square/bookings-api
📖
Documentation
https://developer.squareup.com/docs/loyalty-api/overview
📖
APIReference
https://developer.squareup.com/reference/square/loyalty-api
📖
Documentation
https://developer.squareup.com/docs/gift-cards/using-gift-cards-api
📖
APIReference
https://developer.squareup.com/reference/square/gift-cards-api
📖
Documentation
https://developer.squareup.com/docs/invoices-api/overview
📖
APIReference
https://developer.squareup.com/reference/square/invoices-api
📖
Documentation
https://developer.squareup.com/docs/subscriptions-api/overview
📖
APIReference
https://developer.squareup.com/reference/square/subscriptions-api
📖
Documentation
https://developer.squareup.com/docs/checkout-api
📖
APIReference
https://developer.squareup.com/reference/square/checkout-api
📖
Documentation
https://developer.squareup.com/docs/terminal-api/overview
📖
APIReference
https://developer.squareup.com/reference/square/terminal-api
📖
Documentation
https://developer.squareup.com/docs/payments-refunds
📖
APIReference
https://developer.squareup.com/reference/square/refunds-api
📖
Documentation
https://developer.squareup.com/docs/disputes-api/overview
📖
APIReference
https://developer.squareup.com/reference/square/disputes-api
📖
Documentation
https://developer.squareup.com/docs/merchants-api
📖
APIReference
https://developer.squareup.com/reference/square/merchants-api
📖
Documentation
https://developer.squareup.com/docs/cards-api/overview
📖
APIReference
https://developer.squareup.com/reference/square/cards-api
📖
Documentation
https://developer.squareup.com/docs/vendors-api/manage-vendors-in-apps
📖
APIReference
https://developer.squareup.com/reference/square/vendors-api
📖
Documentation
https://developer.squareup.com/docs/cashdrawershift-api/reporting
📖
APIReference
https://developer.squareup.com/reference/square/cash-drawers-api
📖
Documentation
https://developer.squareup.com/docs/bank-accounts-api
📖
APIReference
https://developer.squareup.com/reference/square/bank-accounts-api
📖
Documentation
https://developer.squareup.com/docs/payouts-api/overview
📖
APIReference
https://developer.squareup.com/reference/square/payouts-api
📖
Documentation
https://developer.squareup.com/docs/web-payments/apple-pay
📖
APIReference
https://developer.squareup.com/reference/square/apple-pay-api
📖
Documentation
https://developer.squareup.com/docs/sites-api/overview
📖
APIReference
https://developer.squareup.com/reference/square/sites-api
📖
Documentation
https://developer.squareup.com/docs/snippets-api/overview
📖
APIReference
https://developer.squareup.com/reference/square/snippets-api
📖
Documentation
https://developer.squareup.com/docs/oauth-api/overview
📖
APIReference
https://developer.squareup.com/reference/square/oauth-api
📖
Documentation
https://developer.squareup.com/docs/webhooks/overview
📖
APIReference
https://developer.squareup.com/reference/square/webhook-subscriptions-api
📖
Documentation
https://developer.squareup.com/docs/events-api/overview
📖
APIReference
https://developer.squareup.com/reference/square/events-api
📖
Documentation
https://developer.squareup.com/docs/devices-api/overview
📖
APIReference
https://developer.squareup.com/reference/square/devices-api
📖
Documentation
https://developer.squareup.com/docs/customer-groups-api/what-it-does
📖
APIReference
https://developer.squareup.com/reference/square/customer-groups-api
📖
Documentation
https://developer.squareup.com/docs/customer-segments-api/what-it-does
📖
APIReference
https://developer.squareup.com/reference/square/customer-segments-api
📖
Documentation
https://developer.squareup.com/docs/gift-cards/using-gift-card-activities-api
📖
APIReference
https://developer.squareup.com/reference/square/gift-card-activities-api
📖
Documentation
https://developer.squareup.com/docs/customer-custom-attributes-api/overview
📖
APIReference
https://developer.squareup.com/reference/square/customer-custom-attributes-api

Specifications

Schemas & Data

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/square:square-inventory-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

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. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

square-inventory-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  version: '2.0'
  title: Square Inventory API
  description: Supercharge Square for sellers of every size. Our entire connected commerce platform from elegant hardware to a rich suite of Square APIs is yours to build with. Whether youre developing an app or composing a bespoke solution, this is the place to make it happen.
  termsOfService: https://connect.squareup.com/tos
  contact:
    name: Square Developer Platform
    email: developers@squareup.com
    url: https://squareup.com/developers
  license:
    name: Apache 2.0
    url: http://www.apache.org/licenses/LICENSE-2.0.html
  externalDocs:
    description: 'Read the official documentation here:'
    url: https://docs.connect.squareup.com/
  x-server-configuration:
    default-environment: production
    default-server: default
    environments:
    - name: production
      servers:
      - name: default
        url: https://connect.squareup.com
    - name: sandbox
      servers:
      - name: default
        url: https://connect.squareupsandbox.com
    - name: custom
      servers:
      - name: default
        url: '{custom_url}'
    parameters:
    - name: custom_url
      description: Sets the base URL requests are made to. Defaults to `https://connect.squareup.com`
      type: string
      example: https://connect.squareup.com
  x-square-generic-error-codes:
  - ACCESS_TOKEN_EXPIRED
  - ACCESS_TOKEN_REVOKED
  - API_VERSION_INCOMPATIBLE
  - APPLICATION_DISABLED
  - ARRAY_EMPTY
  - ARRAY_LENGTH_TOO_LONG
  - ARRAY_LENGTH_TOO_SHORT
  - BAD_CERTIFICATE
  - BAD_GATEWAY
  - BAD_REQUEST
  - CONFLICT
  - CONFLICTING_PARAMETERS
  - CURRENCY_MISMATCH
  - EXPECTED_ARRAY
  - EXPECTED_BASE64_ENCODED_BYTE_ARRAY
  - EXPECTED_BOOLEAN
  - EXPECTED_FLOAT
  - EXPECTED_INTEGER
  - EXPECTED_JSON_BODY
  - EXPECTED_MAP
  - EXPECTED_OBJECT
  - EXPECTED_STRING
  - FORBIDDEN
  - GATEWAY_TIMEOUT
  - GONE
  - IDEMPOTENCY_KEY_REUSED
  - INCORRECT_TYPE
  - INSUFFICIENT_SCOPES
  - INTERNAL_SERVER_ERROR
  - INVALID_ARRAY_VALUE
  - INVALID_CONTENT_TYPE
  - INVALID_CURSOR
  - INVALID_ENUM_VALUE
  - INVALID_FORM_VALUE
  - INVALID_SORT_ORDER
  - INVALID_SQUARE_VERSION_FORMAT
  - INVALID_TIME
  - INVALID_TIME_RANGE
  - INVALID_VALUE
  - LOCATION_MISMATCH
  - MAP_KEY_LENGTH_TOO_LONG
  - MAP_KEY_LENGTH_TOO_SHORT
  - MERCHANT_SUBSCRIPTION_NOT_FOUND
  - METHOD_NOT_ALLOWED
  - MISSING_REQUIRED_PARAMETER
  - NOT_ACCEPTABLE
  - NOT_FOUND
  - NOT_IMPLEMENTED
  - NO_FIELDS_SET
  - RATE_LIMITED
  - REQUEST_ENTITY_TOO_LARGE
  - REQUEST_TIMEOUT
  - SANDBOX_NOT_SUPPORTED
  - SERVICE_UNAVAILABLE
  - TOO_MANY_MAP_ENTRIES
  - UNAUTHORIZED
  - UNEXPECTED_VALUE
  - UNKNOWN_BODY_PARAMETER
  - UNKNOWN_QUERY_PARAMETER
  - UNPROCESSABLE_ENTITY
  - UNSUPPORTED_MEDIA_TYPE
  - V1_ACCESS_TOKEN
  - V1_APPLICATION
  - VALUE_EMPTY
  - VALUE_REGEX_MISMATCH
  - VALUE_TOO_HIGH
  - VALUE_TOO_LONG
  - VALUE_TOO_LOW
  - VALUE_TOO_SHORT
servers:
- url: https://connect.squareup.com
  variables: {}
tags:


# --- truncated at 32 KB (131 KB total) ---
# Full source: https://raw.githubusercontent.com/api-evangelist/square/refs/heads/main/openapi/square-inventory-api-openapi.yml