Zum Inhalt springen

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.

NameDatentypBeschreibungPflichtfeldWerte
accountACCOUNTaccount dataJa
inputSPREADSHEETSpreadsheet of items to be proceeded.Ja
mappingdefinitionSTRINGThe mapping definition JSON StringJa
Folgende Felder sind zu konfigurieren:

FeldDatentypBeschreibungPflichtfeldStandardwert
orderIdSINGLEInternal orderID created by Magento. Ja
statusCodeSINGLEStatus Code of the status to be set. The status code can be found under Stores -> Order Status. Ja
commentSINGLEComment on the statusNein
customerNotificationSINGLENotify Customer by Email. Default value is N (Customer Not Notified).Nein0
storefrontVisibilitySINGLEVisible on Storefront. Default value is N (not visible).Nein0
limitSTRINGLimit 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.

NameDatentypBeschreibungWerte
setOrderStatusSPREADSHEET
Folgende Felder sind im Output enthalten:

FeldDatentypBeschreibungStandardwert
identifierSINGLE
orderIdSINGLE
statusCodeSINGLE
invalidItemsSPREADSHEET
Folgende Felder sind im Output enthalten:

FeldDatentypBeschreibungStandardwert
identifierSINGLE
orderIdSINGLE
statusCodeSINGLE
commentSINGLE
customerNotificationSINGLE
storefrontVisibilitySINGLE
failedItemsSPREADSHEET
Folgende Felder sind im Output enthalten:

FeldDatentypBeschreibungStandardwert
identifierSINGLE
orderIdSINGLE
statusCodeSINGLE
hostSINGLE
requestBodySINGLE
errorSINGLE
errorMessageSINGLE