Validate cart

POST{{API_BASE_URL}}/shop/v1/cart/:cart/validate

This endpoint allows you to validate the items in the specified cart.

Request

No request body is required.

Response

The response will contain the following fields:

  • isCheckoutPossible (boolean): Indicates if the checkout is possible for the cart.

  • isCartReloadRequired (boolean): Indicates if the cart needs to be reloaded.

  • problems (array): An array of objects containing details about any problems encountered.

    • code (integer): The code associated with the problem.

    • name (string): The name of the problem.

    • category (string): The category of the problem.

    • message (string): A message describing the problem.

    • details (object): Additional details about the problem.

  • resolvedProblems (array): An array of objects representing the resolved problems.

Authentication#auth

This endpoint does not require authentication.

Responses#responses

200OKValidate cart