Remove an item from the cart
This method allows an existing item to be removed from the cart. To do so, it is necessary to use the identifier (Id) shown in the response of the Add method.
Access method
POST /ShoppingCart/Remove
Request structure
ShoppingCartId: (string)Required. Cart identifier.ShoppingCartItemIdsToRemove: (list)Required. List of identifiers to remove.(string):Required. Identifier to remove. This identifier is shown in the response of theAddmethod.
Request example
Examples
{
"ShoppingCartId" : "stf9gy7i3xawa",
"ShoppingCartItemIdsToRemove" : [
"ygqbw4q8owhue"
]
}
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 returnnull.ErrorCode: (int). Code that identifies the error.
ErrorEntityBreakDown(list): list that contains objects with the name and ID in case of error.Id(string): identifierName(string): related name of the identifier.
Response example
Examples
{
"Success": true
}