Loading...
Area: Optimizely B2B Commerce

OrderRequestHandler

Recommended reading 
Order Handler Description
500

ValidateRequest

Uses the ValidateXml pipeline to validate the incoming cXml request.

600

CreatePunchOutOrderRequest

Uses the CreatePunchOutOrderRequest pipeline to create a PunchOutOrderRequest.
700

ValidateCredentials

Uses the ValidateCredentials pipeline to validate the credentials of the incoming cXml request.
800

GetPunchOutSession

Uses the first PunchOutOrderRequest.PunchOutOrderRequestItemOut.SupplierPartAuxiliaryId and GetPunchOutSession pipeline to get the PunchOutSession.
900

CreateCustomerOrder

Uses the CreateOrderRequestCustomerOrder pipeline to create a CustomerOrder.
1000

SetOrderRequestStatus

Uses the PunchOutOrderRequest.PunchOutOrderRequestMessages to determine the PunchOutOrderRequest.Status.
1100

SendFailedOrderRequestEmail

If the Result.ErrorMessage is not blank, sends out the PunchOut_FailedOrderRequest email.
1200

CreateResponse

Creates a cXml response message and sets it to the result. If the Result.ErrorMessage is blank, sets the status code in the cXml to 200 OK. If the Result.ErrorMessage is not blank, sets the status code in the cXml to 500 with Result.ErrorMessage.
Do you find this information helpful? Please log in to provide feedback.

Last updated: Dec 11, 2020

Recommended reading