Adding a New Model
Follow the steps to learn how to generate ServiceLayer models.
Prerequisites
In this example, you need to prepare an extension in a certain way. For details, see Preparing an Extension for ServiceLayer Examples. If you have completed other procedures of the ServiceLayer documentation, you should already have this extension prepared.
Context
ServiceLayer models are generated based on SAP Commerce item types. Therefore, to generate a new model, first define a new SAP Commerce item type.
To illustrate how to add a new model to SAP Commerce, we define the new item type: ContactRequest.