Validate Cart with a cart Id
Version v1
Endpoint
GET
undefined/msapi/sales/shopping-cart-api/v1/carts/{id}/validate
Copy
Validate Shopping Cart and returns product configuration validation results
http
This API supports Basic Authentication.
scheme:basic
Path Parameters
- idstringRequired
Header Parameters
- idpctx-uuidstringRequiredMandatory user id header 'idpctx-uuid'.
- idpctx-session-idstringRequiredThe session id of the current user session('idpctx-session-id'). This is a mandatory header.
- idpctx-user-typestringRequiredType of user('idpctx-user-type'). This is a mandatory header. Example: guest
Body Parameters
Responses
Body
application/json
- objectRequiredTMF++::Validation result that is associated with the product order
- @baseTypestringWhen sub-classing, this defines the super-class
- @referredTypestringThe actual type of the target instance when needed for disambiguation.
- @schemaLocationstringA URI to a JSON-Schema file that defines additional attributes and relationships
- @typestringWhen sub-classing, this defines the sub-class Extensible name
- configurationarray of objects
Configuration Components
ATT++::Message associated with the validation failure - configurationChangearray of objects
Configuration change
TMF++::Configuration change recommended for a validated resource - errorobjectUsed when an API throws an Error, typically with a HTTP error response-code (3xx, 4xx, 5xx)
- extensionsobjectTMF++::Extensions
- hrefstringHyperlink reference
- idstringunique identifier
- namestringName of the related entity.
- readyToCheckoutbooleanReady To Checkout
- readyToSubmitbooleanReady to Submit
- statusstringValidation status
- validationMessagearray of objects
Validation message
TMF++::Message associated with the validation failure