You are viewing an old version of the API
Retrieve inventory adjustment

Returns the InventoryAdjustment object with the provided adjustment_id

Required permissions INVENTORY_READ

Path Parameters

Name Description
adjustment_id
string

Required

ID of the InventoryAdjustment to retrieve.

Response Fields

Name Description
adjustment
Inventory​Adjustment

The requested InventoryAdjustment.

errors
Error [ ]

Any errors that occurred during the request.

Examples

You are viewing an old version of the API
GET /v2/inventory/adjustment/{adjustment_id}
cURL
  • cURL
  • Ruby
  • Python
curl https://connect.squareup.com/v2/inventory/adjustment/{adjustment_id} \
  -H 'Square-Version: 2019-11-20' \
  -H 'Authorization: Bearer ACCESS_TOKEN'
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"
    },
    "employee_id": "LRK57NSQ5X7PUD05"
  }
}

Share Feedback

Thanks for visiting the Square API documentation. What's on your mind?