Arguments for the CreateOrder Method
The arguments for the CreateOrder method are shown in the following table.
Name | Type | Data Type | Optional | Comments |
---|---|---|---|---|
Return Error Code |
Input |
String |
Y |
If equal to N, the method will not return errors. When a method returns an error, the workflow stops. To avoid stopping the workflow, you can set this input to N. This way the Shopping Service will not return an error, but instead save the error message in the output argument Error Message. You can then handle the error message as you want. |
Error Message |
Output |
String |
Y |
Stores error messages. |
Quote Id |
Input |
String |
Y |
Not used. |
Order Id |
Output |
String |
Y |
ID of the order record that is created. |
ReturnVal |
Output |
String |
Y |
Returns Success or Fail. Not used. |