Skip to content

Cancel the reservation

This method removes the reservation that has already been created and invalidates the cart.

Access method

POST /ShoppingCart/CancelConfirm

Request structure

  • ShoppingCartId: (string) Required. Cart identifier.

Request example

Examples
{
    "ShoppingCartId" : "stf9gy7i3xawa"
}

Response structure

  • Success: (boolean). Value that indicates whether the call was processed correctly or not.
  • Errors: (list). Array of errors.
    • Error: (object).
      • ErrorMessage: (string). Error message explaining why the request was not successful. If it was correct, it will return null.
      • ErrorCode: (int). Code that identifies the error.
  • ErrorEntityBreakDown (list): list that contains objects with the name and ID in case of error.
    • Id (string): identifier
    • Name (string): related name of the identifier.

Response example

Examples
{
    "Success": true
}