Update Risk Assessment of Cart
Version v1
Endpoint
POST
undefined/msapi/sales/shopping-cart-api/v1/carts/{id}/risk-assessment
Copy
This API is responsible for updating risk assessment info & provide valid cart response back which is need for every commerce operation.
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
- objectATT++::An identified part of the order. A product order is decomposed into one or more order items.
- channelobjectRelated channel to another entity. May be online web, mobile app, social ,etc.
- autoApplyRiskAssesmentPolicyToCartbooleanRequired
- applicationDetailsobjectRequired
Responses
Body
application/json
- objectRequired
- statusstringPolicy Status
- policyImpactToCartbooleanPolicy impacts to Cart
- policyAppliedToCartbooleanPolicy applied to Cart
- applicationDetailsobject
- productOrderobjectA Product Order is a type of order which can be used to place an order between a customer and a service provider or between a service provider and a partner and vice versa,
- riskAssessmentResultarray of objectsThis resource reflects the risk assessment