Retrieve inventory adjustment
GET
/v2/inventory/adjustments/{adjustment_id}
Returns the InventoryAdjustment object
with the provided adjustment_id
.
Permissions
INVENTORY_READ
Try in API Explorer
Name | Description |
---|---|
adjustment_
Required
|
ID of the InventoryAdjustment to retrieve. |
Response Fields
Name | Description |
---|---|
errors
|
Any errors that occurred during the request. |
adjustment
|
The requested InventoryAdjustment. |
Examples
GET
/v2/inventory/adjustments/{adjustment_id}
cURL
- cURL
- Ruby
- Python
- C#
- Java
- PHP
- Node.js
curl https://connect.squareup.com/v2/inventory/adjustments/UDMOEO78BG6GYWA2XDRYX3KB \
-H 'Square-Version: 2023-01-19' \
-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"
}
}