Skip to content

shopifySetInventoryLevel - shopify

Version: 2022-01

← shopify Add-On Übersicht

This is the actual step which will be published in your Add-On. Typically it will consist of Flow-Variables, steps for the execution logic and Output-Variables. The corresponding Test-Flow TestFlow-shopifySetInventoryLevel will then use this step and see the input and outputs.


Inputs

Das sind die Optionen, mit denen man den Step konfigurieren kann.

Name Datentyp Beschreibung Pflichtfeld Werte
input SPREADSHEET Spreadsheet of items to be proceeded Ja
mappingdefinition STRING The mapping definition JSON String Ja
Folgende Felder sind zu konfigurieren:

Feld Datentyp Beschreibung Pflichtfeld Standardwert
inventory_item_id SINGLE The unique identifier of the inventory item that the inventory level belongs to. To find the ID of the inventory item, use the step shopifyGetProducts. Ja
location_id SINGLE The ID of the location that the inventory level belongs to. To find the ID of the location, use the step shopifyGetLocations. Ja
available SINGLE The quantity of inventory items available for sale. Ja
id SINGLE shopify internal unique identifier for a sku or variant Nein
product_id SINGLE shopify internal unique identifier for the product Nein
sku SINGLE SKU (Stock Keeping Unit) A unique identifier for the product in the shop. Nein
barcode SINGLE The barcode, UPC, or ISBN number for the product. Nein
account ACCOUNT shopify account data Ja
limit STRING Limits the number of rows used from the input SPREADSHEET. Use low values for testing. If limit is empty, all lines are processed. Nein

Outputs

Das sind die Ergebnisse des Steps, die von nachfolgenden Steps, nach der Ausführung verwendet werden können.

Name Datentyp Beschreibung Werte
successfullySetInventory SPREADSHEET
Folgende Felder sind im Output enthalten:

Feld Datentyp Beschreibung Standardwert
identifier SINGLE
inventory_item_id SINGLE
location_id SINGLE
available SINGLE
id SINGLE
product_id SINGLE
sku SINGLE
barcode SINGLE
statusCode SINGLE
statusMessage SINGLE
invalidItems SPREADSHEET
Folgende Felder sind im Output enthalten:

Feld Datentyp Beschreibung Standardwert
identifier SINGLE
inventory_item_id SINGLE
available SINGLE
id SINGLE
product_id SINGLE
sku SINGLE
barcode SINGLE
failedItems SPREADSHEET
Folgende Felder sind im Output enthalten:

Feld Datentyp Beschreibung Standardwert
identifier SINGLE
inventory_item_id SINGLE
location_id SINGLE
available SINGLE
id SINGLE
product_id SINGLE
sku SINGLE
barcode SINGLE
method SINGLE
host SINGLE
requestBody SINGLE
statusCode SINGLE
statusMessage SINGLE
responseHeaders SINGLE
responseFilename SINGLE
error SINGLE
responseContent SINGLE
errorMessage SINGLE