> For the complete documentation index, see [llms.txt](https://docs.getmesa.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.getmesa.com/connect/square/updating-inventory.md).

# Updating Inventory

To update inventory, you must first determine the type of update required. Square offers three different methods for performing physical counts, adjustments, and transfers.

![Screenshot of the MESA Square Update Inventory step. Spotlight the inventory update type selector.](https://3425906282-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F1H6u1HQc3Iew7ATmmiCi%2Fuploads%2Fgit-blob-6b21a9727ae62762931e8058c37df8ce44d833e3%2Ffile-lj568xzwuj.png?alt=media)

![Screenshot of the MESA Square Update Inventory step with the update type dropdown open. Spotlight the Physical count, Adjustment, and Transfer options.](https://3425906282-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F1H6u1HQc3Iew7ATmmiCi%2Fuploads%2Fgit-blob-399ba3ca3c884292b5f486db457ca456ffce28ea%2Ffile-rynxkppcyb.png?alt=media)

Types of Inventory Updates

* Physical count: Represents the quantity of an item variation that is physically present at a specific location and verified by a seller or a seller's employee. For example, a physical count might come from an employee counting the item variations on hand or from syncing with an external system. This type of update is best used when you know the exact count of the item, allowing you to update it accurately. If you are using the physical count type, you can use the Square Retrieve Inventory Count action to retrieve the count for a particular item.
* Adjustment: Represents a change in the state or quantity of product inventory at a particular time and location. This type of update is best used when you want to modify the quantity based on actions in other applications, but you do not know the total count.
* Transfer: Represents the movement of a quantity of product inventory from one location to another at a specific time.

Once you have selected the type of inventory update you wish to make, you can fill out the below fields in the step. For example, if you selected the Physical Count type, only fill out the fields under Physical Count heading.

Note: Please only fill out the fields that are relevant to the selected type.

![Screenshot of the MESA Square Update Inventory step fields. Spotlight the Physical count field group.](https://3425906282-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F1H6u1HQc3Iew7ATmmiCi%2Fuploads%2Fgit-blob-e7a0abd11a4b85b83a32991d2db56bfc5002039a%2Ffile-8uoerw1mrl.png?alt=media)

![Screenshot of the MESA Square Update Inventory step fields. Spotlight the Adjustment field group.](https://3425906282-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F1H6u1HQc3Iew7ATmmiCi%2Fuploads%2Fgit-blob-3a1d27a289a74dd40951e19f1531deab93332cd2%2Ffile-kfmlawi96c.png?alt=media)

![Screenshot of the MESA Square Update Inventory step fields. Spotlight the Transfer field group.](https://3425906282-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F1H6u1HQc3Iew7ATmmiCi%2Fuploads%2Fgit-blob-2462bef950629db6ac590a596cc908b6674096b1%2Ffile-yz6w2y0kdp.png?alt=media)

MESA will only send inventory updates based on the type of changes selected. If you want to have multiple inventory update types, you will need to click to add another set ( Add Set button) and select the appropriate type.

![Screenshot of the MESA Square Update Inventory step with multiple inventory update sets. Spotlight the Add Set button.](https://3425906282-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F1H6u1HQc3Iew7ATmmiCi%2Fuploads%2Fgit-blob-08171088ce44bace7d66fe41e51d63852c0a0ee9%2Ffile-2ufvbvj3ov.png?alt=media)


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.getmesa.com/connect/square/updating-inventory.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
