Skip to content

Magento2SetOrderStatus - Magento 2

← Magento 2 Add-On Übersicht

This step sets the status of an order by adding a comment (optional) to the order. This is the same as the function Notes for this Order on the order detail level in the Magento backend.


Inputs

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

Name Datentyp Beschreibung Pflichtfeld Werte
account ACCOUNT 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
orderId SINGLE Internal orderID created by Magento. Ja
statusCode SINGLE Status Code of the status to be set. The status code can be found under Stores -> Order Status. Ja
comment SINGLE Comment on the status Nein
customerNotification SINGLE Notify Customer by Email. Default value is N (Customer Not Notified). Nein 0
storefrontVisibility SINGLE Visible on Storefront. Default value is N (not visible). Nein 0
limit STRING Limit the number or rows used from the input SPREADSHEET (default value is 5). Use low values for testing. Nein

Outputs

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

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

Feld Datentyp Beschreibung Standardwert
identifier SINGLE
orderId SINGLE
statusCode SINGLE
invalidItems SPREADSHEET
Folgende Felder sind im Output enthalten:

Feld Datentyp Beschreibung Standardwert
identifier SINGLE
orderId SINGLE
statusCode SINGLE
comment SINGLE
customerNotification SINGLE
storefrontVisibility SINGLE
failedItems SPREADSHEET
Folgende Felder sind im Output enthalten:

Feld Datentyp Beschreibung Standardwert
identifier SINGLE
orderId SINGLE
statusCode SINGLE
host SINGLE
requestBody SINGLE
error SINGLE
errorMessage SINGLE