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

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

Deprecated
Effective June 16th, 2021

Deprecated version of RetrieveInventoryAdjustment 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
RetrieveInventoryAdjustment
Name Description
adjustment_id
string

Required

ID of the InventoryAdjustment to retrieve.

Response Fields

Name Description
errors
Error [ ]

Any errors that occurred during the request.

adjustment
InventoryAdjustment

The requested InventoryAdjustment.

Examples

You are viewing an old version of the API
GET /v2/inventory/adjustment/{adjustment_id}
cURL
  • cURL
  • Ruby
  • Python
  • C#
  • Java
  • PHP
  • Node.js
curl https://connect.squareup.com/v2/inventory/adjustment/UDMOEO78BG6GYWA2XDRYX3KB \
  -H 'Square-Version: 2022-11-16' \
  -H 'Authorization: Bearer ACCESS_TOKEN' \
  -H 'Content-Type: application/json'
Response JSON
{
  "errors": [],
  "adjustment": {
    "id": "UDMOEO78BG6GYWA2XDRYX3KB",
    "reference_id": "4a366069-4096-47a2-99a5-0084ac879509",
    "from_state": "IN_STOCK",
    "to_state": "SOLD",
    "location_id": "C6W5YS5QM06F5",
    "catalog_object_id": "W62UWFY35CWMYGVWK6TWJDNI",
    "catalog_object_type": "ITEM_VARIATION",
    "quantity": "7",
    "total_price_money": {
      "amount": 4550,
      "currency": "USD"
    },
    "occurred_at": "2016-11-16T25:44:22.837Z",
    "created_at": "2016-11-17T13:02:15.142Z",
    "source": {
      "product": "SQUARE_POS",
      "application_id": "416ff29c-86c4-4feb-b58c-9705f21f3ea0",
      "name": "Square Point of Sale 4.37"
    },
    "team_member_id": "LRK57NSQ5X7PUD05"
  }
}