LinkyFlow — autonomous agents and live business data in Excel or on the webLinkyFlow
Square inventory counts in Excel: filters and fields
← Square connection for LinkyFlow

Square inventory counts in Excel: filters and fields

See Square stock in Excel: how many of each variation are in stock at each of your locations.

How many of each variation are in stock at each location. Only variations with a tracked count have a row.

The formula for Excel

=LF.square.inventoryCounts("","id,catalog_object_id,location_id,quantity,calculated_at")

Its first argument sets the inputs listed below, as name:value pairs separated by |; its second lists the fields to return, separated by commas. How LinkyFlow formulas are built

Guides and agents

Guides

Read

Stock

How many of each variation are in stock at each location. Only variations with a tracked count have a row.

Route: GET /inventoryCounts

Excel formula: =LF.square.inventoryCounts("selection", "fields")

Inputs you can set

NameTypeRequiredDescription
linkstringYes-
catalog_object_ididNoOnly the stock of these variations, their ids separated by commas.
location_ididNoOnly the records of this location.
limitnumberNoRows per page (max 100). Default: 100
cursorstringNoThe cursor the previous page answered. It lives 5 minutes: after that, start the list again.

Data returned in Excel

FieldTypeRelationsDescription
iddefaultid—-
catalog_object_iddefaultstring—-
location_iddefaultstring→ locations-
statestring—-
quantitydefaultstring—-
calculated_atdefaultdate—-
Edit

Set Stock

Set Stock

Route: PATCH /mutation/inventoryCounts

Inputs you can set

NameTypeRequiredDescription
ididYes-
quantitystringYes-

Data returned in Excel

This action returns a confirmation rather than a selectable table.