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

Dev GuideAPI Reference
Dev GuideAPI ReferenceUser GuideLegal TermsGitHubDev CommunityOptimizely AcademySubmit a ticketLog In
Dev Guide

CreateOrderRequestCustomerOrder

Describes CreateOrderRequestCustomerOrder in Optimizely Configured Commerce.

OrderPipeDescription
100GetOrCreateCustomerOrderIf PunchOutSession.CustomerOrder is not null, use PunchOutSession.CustomerOrder. If PunchOutSession.CustomerOrder is null, create a new CustomerOrder.
200PopulateBillToAndShipToUses the GetOrderRequestCustomer pipeline to determine the CustomerOrder.Customer and uses the SetBillTo pipeline to update the CustomerOrder.
300PopulateCurrencyUses the GetOrderRequestCurrency pipeline to determine the CustomerOrder.Currency.
400PopulateShipViaUses the PunchOutOrderRequest.PunchOutOrderRequestExtrinsics.ShipVia and CustomerOrder.Customer.ShipCode to determine CustomerOrder.ShipVIa.
500PopulateRequestedShipDateUses the PunchOutOrderRequest.PunchOutOrderRequestExtrinsics.RequestedShipDate to determine CustomerOrder.RequestedShipDate.
600PopulateAdditionalValuesPopulates additional properties on the CustomerOrder.
700PopulateCustomPropertiesUses PunchOutSettings.OrderCustomPropertyFields and PunchOutOrderRequest.PunchOutOrderRequestExtrinsics to add custom properties to CustomerOrder.
800PopulateOrderLinesUses the GetItemOutOrderLine to create OrderLine and uses the AddCartLine pipeline to update the CustomerOrder.
900ValidateCustomerOrderValidates CustomerOrder and PunchOutOrderRequest property values and adds necessary messaging to PunchOutOrderRequest.PunchOutOrderRequestMessages.
1000RecalculateCartUses the AcceptPriceProvided pipeline to determine if AcceptPriceProvided. If AcceptPriceProvided then bypass handler. Uses the GetCartPricing pipeline to update CustomerOrder pricing.
1100UpdateCartUses the ICartService.UpdateCart to update the CustomerOrder.