recombee_api_client.api_requests.delete_cart_addition module

class recombee_api_client.api_requests.delete_cart_addition.DeleteCartAddition(user_id, item_id, timestamp=UUID('686712cc-f502-4a03-89fb-a7b4c1e802e4'))

Bases: recombee_api_client.api_requests.request.Request

Deletes an existing cart addition uniquely specified by userId, itemId, and timestamp or all the cart additions with given userId and itemId if timestamp is omitted.

Required parameters:

Parameters
  • user_id – ID of the user who made the cart addition.

  • item_id – ID of the item of which was added to cart.

Optional parameters:

Parameters

timestamp – Unix timestamp of the cart addition. If the timestamp is omitted, then all the cart additions with given userId and itemId are deleted.

get_body_parameters()

Values of body parameters as a dictionary (name of parameter: value of the parameter).

get_query_parameters()

Values of query parameters as a dictionary (name of parameter: value of the parameter).