Skip to content

shopifyUpdatePriceAndBarcode - 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-shopifyUpdatePriceAndBarcode 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 Nein
mappingdefinition STRING The mapping definition JSON String Nein
Folgende Felder sind zu konfigurieren:

Feld Datentyp Beschreibung Pflichtfeld Standardwert
id SINGLE The shopify internal unique numeric identifier of a sku. To find the id of the sku, use the step shopifyGetProducts. Please do not use the product_id! Ja
sku SINGLE SKU (Stock Keeping Unit) A unique identifier for the product in the shop. Nein
price SINGLE The price of the product variant. Nein
compare_at_price SINGLE The competitors price for the same item. Set the value to -1 to delete the compare_at_price. Nein
​barcode SINGLE The barcode, UPC, EAN or ISBN number for the product variant. Nein
account ACCOUNT shopify account data Nein
limit STRING Limits the number of items used from the input SPREADSHEET. Use low values for testing. If limit is empty, all items 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
successfullyUpdatedProducts SPREADSHEET
Folgende Felder sind im Output enthalten:

Feld Datentyp Beschreibung Standardwert
identifier SINGLE
id SINGLE
product_id SINGLE
sku SINGLE
price SINGLE
compare_at_price SINGLE
barcode SINGLE
created_at SINGLE
updated_at SINGLE
invalidItems SPREADSHEET Output spreadsheet with invalid items. If an item is invalid, the required input is missing or is not in the correct format.
Folgende Felder sind im Output enthalten:

Feld Datentyp Beschreibung Standardwert
identifier SINGLE
id SINGLE
sku SINGLE
price SINGLE
compare_at_price SINGLE
​barcode SINGLE
failedItems SPREADSHEET Output spreadsheet with failed items. An error occurred while processing. If an item failed, in most cases the id is wrong.
Folgende Felder sind im Output enthalten:

Feld Datentyp Beschreibung Standardwert
identifier SINGLE
id SINGLE
method SINGLE
host SINGLE
requestBody SINGLE
statusCode SINGLE
statusMessage SINGLE
responseHeaders SINGLE
error SINGLE
responseContent SINGLE
errorMessage SINGLE