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
Section titled “Access method”POST /ShoppingCart/Remove
Request structure
Section titled “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
Section titled “Request example”Response structure
Section titled “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.