Hi,
cart validation is really a process.
When we validate a cart before creating an order, the cart component does:
- recalculate prices
- if there is a customisable product in the cart, run the product configurator again to compute the product configuration
- validate product offering commercial eligibility
- validate customer eligibility
- validate service eligibility
all of the above have their own APIs.
------------------------------
Kind regards,
Matthieu Hattab
Lyse Platform
------------------------------
Original Message:
Sent: May 18, 2024 16:16
From: Varun Pandhi
Subject: API for validation of cart
Hi all,
Which API could be used for validation of cart before creation of order?
We looked through TMF 663 Shopping Cart API, but couldn't find any API which could be used for this purpose.
While looking at TMF 622 Product Order Management API, we could find "rejected" as one of the possible states for ProductOrder. Description of this state seems to suggest, the POST ProductOrder API could be used for validation of Order request.
------------------------------
Varun Pandhi
Infosys
------------------------------