SDK Example: Create and Submit the Order (Winter '20)

Use the example SDK code in this topic to create and submit the order as the final step in the checkout process.

Possible error conditions:

"SubmitOrderInput::getRequestPayload() must have email."

"SubmitOrderInput::getRequestPayload() must have catalogCode."

"SubmitOrderInput::getRequestPayload() must have cartContextKey."