Adds a new item to the shopping Cart with all it's fields and relationships.
A prospect customer can add new items to the shopping cart
A customer can also add new items to the shopping cart.
Following validations are applied:
-
Product eligibility validation ensures the cart contains only eligible products. The validation checks are performed by an external service based on TMF679 Product Offering Qualification API REST Specification
The cart cannot be created if the given products do not fulfill the validation
It will validate if a offer can be swapped.
-
Service eligibility checks if the cart contains serviceable items. The validation checks are performed by an external service based on TMF645 - Service Qualification API REST Specification.
If the service is unqualified then the cart items are saved for later.
-
Custom validation ensures that the cart's content fulfills the tenant's validity rules, if such are pre-defined.
Each tenant is allowed to define validation rule sets, against which the validity of the cart shall be checked.
The cart cannot be created if it fails to meet the validation rule set.
Can be called by: user,m2m,customer,unauthenticated
Required roles: sc.ops