• Example searches: “transaction”, “CreateOrder”, “/v2/locations”, “inventory”, “delete customer”

You are viewing an old version of the API
Deprecated retrieve inventory physical count

Deprecated
Effective June 16th, 2021

Deprecated version of RetrieveInventoryPhysicalCount after the endpoint URL is updated to conform to the standard convention.

Permissions
INVENTORY_READ

Deprecation date
2021-06-16
Retirement date
2023-11-15
Replaced by
RetrieveInventoryPhysicalCount
Name Description
physical_count_id
string

Required

ID of the InventoryPhysicalCount to retrieve.

Response Fields

Name Description
errors
Error [ ]

Any errors that occurred during the request.

count
InventoryPhysicalCount

The requested InventoryPhysicalCount.

Examples

You are viewing an old version of the API
GET /v2/inventory/physical-count/{physical_count_id}
cURL
  • cURL
  • Ruby
  • Python
  • C#
  • Java
  • PHP
  • Node.js
curl https://connect.squareup.com/v2/inventory/physical-count/physical_count_id0 \
  -H 'Square-Version: 2022-11-16' \
  -H 'Authorization: Bearer ACCESS_TOKEN' \
  -H 'Content-Type: application/json'
Response JSON
{
  "errors": [],
  "count": {
    "id": "ANZADNPLKADOJKJIUANKLMLQ",
    "reference_id": "f857ec37-f9a0-4458-8e23-5b5e0bea4e53",
    "catalog_object_id": "W62UWFY35CWMYGVWK6TWJDNI",
    "catalog_object_type": "ITEM_VARIATION",
    "state": "IN_STOCK",
    "location_id": "C6W5YS5QM06F5",
    "quantity": "15",
    "source": {
      "product": "SQUARE_POS",
      "application_id": "416ff29c-86c4-4feb-b58c-9705f21f3ea0",
      "name": "Square Point of Sale 4.37"
    },
    "team_member_id": "LRK57NSQ5X7PUD05",
    "occurred_at": "2016-11-16T22:25:24.878Z",
    "created_at": "2016-11-16T22:25:24.878Z"
  }
}