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

Square Stock: inputs and fields

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

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.