Update item in Square
POS API · write, waits for approval · 100% field coverage
Your agent can update item in Square through Apideck's POS API, the same call it makes for every POS app. It changes data in the customer's Square account, so it stops with the exact request until a person approves it. Apideck adds the customer's Square credentials, so no token ever reaches the agent.
The call
PATCH https://unify.apideck.com/pos/items/{id}
Headers: x-apideck-service-id: square, plus your app id and the customer's consumer id. Apideck MCP tool: pos-items-update. Agent operation id: unified.pos.itemsUpdate.
| Parameter | In | Description |
|---|---|---|
| id · required | path | ID of the record you are acting upon. |
Body fields
| Field | Type | Description |
|---|---|---|
| id | string | |
| idempotency_key | string | A value you specify that uniquely identifies this request among requests you have sent. |
| name · required | string | |
| description | string | |
| abbreviation | string | |
| product_type | string | |
| price_amount | number | |
| pricing_type | string | |
| price_currency | string | Indicates the associated currency for an amount of money. Values correspond to [ISO 4217](https://en.wikipedia.org/wiki/ |
| cost | number | |
| tax_ids | array | A list of Tax IDs for the product. |
| is_revenue | boolean | True if this item should be counted as revenue. For example, gift cards and donations would not be counted as revenue. |
| use_default_tax_rates | boolean | |
| absent_at_location_ids | array | A list of locations where the object is not present, even if present_at_all_locations is true. This can include location |
| present_at_all_locations | boolean | |
| available_for_pickup | boolean | |
| available_online | boolean | |
| sku | string | SKU of the item |
| code | string | Product code, e.g. UPC or EAN |
| categories | array | |
| options | array | List of options pertaining to this item's attribute variation |
| variations | array | |
| modifier_groups | array | |
| available | boolean | |
| hidden | boolean | |
| deleted | boolean | Flag to indicate if the object is deleted. |
More for items in Square
Update item in other POS apps
The same call works for each of these; only the service id changes.