Disclaimer: This website requires Please enable JavaScript in your browser settings for the best experience.

Dev GuideAPI Reference
Dev GuideAPI ReferenceUser GuideGitHubDev CommunityOptimizely AcademySubmit a ticketLog In
Dev Guide

SetupRequestHandler

Describes SetupRequestHandler in Optimizely Configured Commerce.

Order

Handler

Description

500

ValidateRequest

Uses the ValidateXml pipeline to validate the incoming cXml request.

600

CreatePunchOutSetupRequest

Creates a new PunchOutSetupRequest.

700

CreatePunchOutSession

Uses the CreatePunchOutSession pipeline to create a PunchOutSession.

800

ValidateCredentials

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

900

CreateCustomerOrder

Bypasses handler if PunchOutSession.PunchOutSessionMode is not create. Uses the CreateSetupRequestCustomerOrder to create a CustomerOrder.

1000

UpdateCreatedPunchOutSession

Bypasses handler if PunchOutSession.PunchOutSessionMode is not create. Updates the PunchOutSession with values from the CustomerOrder.

1100

UpdateExistingPunchOutSession

Bypasses handler if PunchOutSession.PunchOutSessionMode is create or PunchOutSession.PunchOutSessionItemIns count is zero. Uses the first PunchOutSession.PunchOutSessionItemIn.SupplierPartAuxiliaryId to lookup existing PunchOutSession. Updates the PunchOutSession with values from the CustomerOrder.

1200

CreateResponse

Creates a cXml response message and sets it to the result.