Inventory

  • Deprecated retrieve inventory adjustment

  • Deprecated batch change inventory

  • Deprecated batch retrieve inventory changes

  • Deprecated batch retrieve inventory counts

  • Deprecated retrieve inventory physical count

  • Retrieve inventory changes

Development
  • Guides
  • API Reference
  • API Explorer
  • SDKs
  • Sample apps
  • System status
Support
  • Developer forums
  • Developer blog
  • YouTube
  • X
More
  • Square Home
  • Square Developer
  • App Marketplace
  • Partner with Square
  • Solutions Partner Program
  • Pricing
  • Sales

© 2026 Square, Inc.

  • Developer terms of service
  • Developer Integration and Marketing Agreement
  • Privacy policy
  • Partnerships
  • Sign In
  • Sign In

<- Inventory API

Inventory API

All versions ->

Retrieve inventory changes

DEPRECATED

 /v2/inventory/{catalog_object_id}/changes

Returns a set of physical counts and inventory adjustments for the provided CatalogObject at the requested Locations.

You can achieve the same result by calling BatchRetrieveInventoryChanges and having the catalog_object_ids list contain a single element of the CatalogObject ID.

Results are paginated and sorted in descending order according to their occurred_at timestamp (newest first).

There are no limits on how far back the caller can page. This endpoint can be used to display recent changes for a specific item. For more sophisticated queries, use a batch endpoint.

Permissions:INVENTORY_READ

Guide

Retrieve the Inventory Change History

Deprecation date

2021-06-16

Retirement date

2023-11-15

Replaced by

BatchRetrieveInventoryChanges

Link to section

Path parameters

Example code

Link to section

catalog_object_id

string

Required

ID of the CatalogObject to retrieve.

Link to section

Query parameters

Link to section

location_ids

string

The Location IDs to look up as a comma-separated list. An empty list queries all locations.

Link to section

cursor

string

A pagination cursor returned by a previous call to this endpoint. Provide this to retrieve the next set of results for the original query.

See the Pagination guide for more information.

Link to section

Response fields

Link to section

errors

Any errors that occurred during the request.

Link to section

changes

The set of inventory changes for the requested object and locations.

Link to section

cursor

string

The pagination cursor to be used in a subsequent request. If unset, this is the final response.

See the Pagination guide for more information.

Link to section

Examples

All versions ->

GET /v2/inventory/{catalog_object_id}/changes
curl https://connect.squareup.com/v2/inventory/catalog_object_id0/changes \ -H 'Square-Version: 2026-11-18' \ -H 'Authorization: Bearer ACCESS_TOKEN' \ -H 'Content-Type: application/json'

Response JSON

{ "errors": [], "changes": [ { "type": "ADJUSTMENT", "adjustment": { "id": "OJKJIUANKLMLQANZADNPLKAD", "reference_id": "d8207693-168f-4b44-a2fd-a7ff533ddd26", "from_state": "IN_STOCK", "to_state": "SOLD", "location_id": "C6W5YS5QM06F5", "catalog_object_id": "W62UWFY35CWMYGVWK6TWJDNI", "catalog_object_type": "ITEM_VARIATION", "quantity": "3", "total_price_money": { "amount": 5000, "currency": "USD" }, "occurred_at": "2016-11-16T22:25:24.878Z", "created_at": "2016-11-16T22:25:24.878Z", "source": { "product": "SQUARE_POS", "application_id": "416ff29c-86c4-4feb-b58c-9705f21f3ea0", "name": "Square Point of Sale 4.37" }, "team_member_id": "AV7YRCGI2H1J5NQ8E1XIZCNA", "transaction_id": "5APV6JYK1SNCZD11AND2RX1Z" } } ] }