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-shopifyAddProduct will then use this step and see the input and outputs.
Das sind die Optionen, mit denen man den Step konfigurieren kann.
Name | Datentyp | Beschreibung | Pflichtfeld | Werte |
account | ACCOUNT | shopify account data | Ja | |
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 | sku | SINGLE | SKU (Stock Keeping Unit) A unique identifier for the product in the shop. | Ja | | title | SINGLE | The name of the product. | Ja | | vendor | SINGLE | The name of the vendor of the product. | Nein | | price | SINGLE | The price of the product variant. | Nein | | compare_at_price | SINGLE | The competitors price for the same item. | Nein | | barcode | SINGLE | The barcode, UPC, EAN or ISBN number for the product. | Nein | | status | SINGLE | The status of the product. Default value: active | Nein | active | inventory_management | SINGLE | The fulfillment service that tracks the number of items in stock for the product variant. | Nein | | inventory_quantity | SINGLE | Sets the inventory for the given location_id. Note: inventory_management must be set to "shopify". | Nein | | inventory_policy | SINGLE | Specifies whether or not customers are allowed to place an order for a product variant when it is out of stock. value "continue" allowed to place an order value "deny" not allowed to place an order | Nein | | 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. | Nein | | requires_shipping | SINGLE | Whether a customer needs to provide a shipping address when placing an order containing the inventory item. | Nein | | body_html | SINGLE | The description of the product, complete with HTML formatting. | Nein | | handle | SINGLE | A unique human-friendly string for the product. Automatically generated from the product's title. | Nein | | product_type | SINGLE | A categorization for the product used for filtering and searching products. | Nein | | tags | MULTIPLEVALUE | A categorization that a product can be tagged with, commonly used for filtering and searching. Each comma-separated tag has a character limit of 255. | Nein | | publishing | SINGLE | Publishing to the Online Store channel. "Y" the product including the variants is published and visible. "N" the product including the variants is not published and not visible. | Nein | | weight | SINGLE | The weight of the product variant in the unit system specified with weight_unit. | Nein | | weight_unit | SINGLE | The unit system that the product variant's weight is measure in. The weight_unit can be either "g", "kg, "oz", or "lb". | Nein | | images | MULTIPLEVALUE | A list of image URLs (comma separated) Images associated with the product. | Nein | | option1_name | SINGLE | To create a product with the first variant, enter a name for the option1. Example: Color | Nein | | option1_value | SINGLE | To create a product with the first variant, enter a value for the option1. Example: red | Nein | | option2_name | SINGLE | To create a product with the first variant, enter a name for the option2. Example: Size | Nein | | option2_value | SINGLE | To create a product with the first variant, enter a value for the option2. Example: XL | Nein | | option3_name | SINGLE | To create a product with the first variant, enter a name for the option3. Example: Material | Nein | | option3_value | SINGLE | To create a product with the first variant, enter a value for the option3. Example: cotton | Nein | | |
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 | Pflichtfeld | Werte |
successfullyCreatedProducts | SPREADSHEET | | Ja | |
| Folgende Felder sind im Output enthalten:
Feld | Datentyp | Beschreibung | Pflichtfeld | Standardwert | identifier | SINGLE | | Nein | | id | SINGLE | | Nein | | product_id | SINGLE | | Nein | | price | SINGLE | | Nein | | sku | SINGLE | | Nein | | position | SINGLE | | Nein | | inventory_policy | SINGLE | | Nein | | compare_at_price | SINGLE | | Nein | | fulfillment_service | SINGLE | | Nein | | inventory_management | SINGLE | | Nein | | option1 | SINGLE | | Nein | | option2 | SINGLE | | Nein | | option3 | SINGLE | | Nein | | created_at | SINGLE | | Nein | | updated_at | SINGLE | | Nein | | taxable | SINGLE | | Nein | | barcode | SINGLE | | Nein | | grams | SINGLE | | Nein | | image_id | SINGLE | | Nein | | weight | SINGLE | | Nein | | weight_unit | SINGLE | | Nein | | inventory_item_id | SINGLE | | Nein | | inventory_quantity | SINGLE | | Nein | | old_inventory_quantity | SINGLE | | Nein | | requires_shipping | SINGLE | | Nein | | admin_graphql_api_id | SINGLE | | Nein | | item_title | SINGLE | | Nein | | item_body_html | SINGLE | | Nein | | item_handle | SINGLE | | Nein | | item_url | SINGLE | | Nein | | item_vendor | SINGLE | | Nein | | item_product_type | SINGLE | | Nein | | item_tags | SINGLE | | Nein | | isVariant | SINGLE | | Nein | | |
failedItems | SPREADSHEET | List with failed items. An error occurred when creating items in shopify. | Ja | |
| Folgende Felder sind im Output enthalten:
Feld | Datentyp | Beschreibung | Pflichtfeld | Standardwert | identifier | SINGLE | | Nein | | source_sku | SINGLE | | Nein | | source_title | SINGLE | | Nein | | method | SINGLE | | Nein | | host | SINGLE | | Nein | | requestBody | SINGLE | | Nein | | statusCode | SINGLE | | Nein | | statusMessage | SINGLE | | Nein | | responseHeaders | SINGLE | | Nein | | responseFilename | SINGLE | | Nein | | error | SINGLE | | Nein | | errorMessage | SINGLE | | Nein | | |
invalidItems | SPREADSHEET | List of invalid items. Some required fields are missing or values are incorrect. | Ja | |
| Folgende Felder sind im Output enthalten:
Feld | Datentyp | Beschreibung | Pflichtfeld | Standardwert | identifier | SINGLE | | Nein | | sku | SINGLE | | Nein | | title | SINGLE | | Nein | | inventory_management | SINGLE | | Nein | | price | SINGLE | | Nein | | body_html | SINGLE | | Nein | | compare_at_price | SINGLE | | Nein | | inventory_policy | SINGLE | | Nein | | barcode | SINGLE | | Nein | | vendor | SINGLE | | Nein | | product_type | SINGLE | | Nein | | tags | SINGLE | | Nein | | publishing | SINGLE | | Nein | | weight | SINGLE | | Nein | | weight_unit | SINGLE | | Nein | | images | SINGLE | | Nein | | |