Handlers
Handlers
Handlers are objects that are responsible for the heavy lifting of objects and processing of business logic. In the Configured Commerce architecture, handlers take control right after the REST API receives and initially processes the request.
Add handlers
Handlers serve as an extension point because you can add new handlers to any handler chain. This allows you to add new or change existing functionality.
Add handlers to return custom properties to a service
This article demonstrates how to display custom properties in the browser. This requires adding a new handler to the chain of responsibility and adding custom data to the model.
Handlers and helpers with custom address fields
The data for the configurable address fields are populated within the BillTo and ShipTo handler chains. The following CustomerHelper methods are actually responsible for aggregating, formatting, and returning validating information for use by the BillTo and ShipTo address forms on the Storefront.