User-Item Interactions

Delete Purchase

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

delete/{databaseId}/purchases/

Request

  • Base URL
    http://Based on the region of your database (see https://docs.recombee.com/regions).
  • URL
    http://Based on the region of your database (see https://docs.recombee.com/regions)./{databaseId}/purchases/
  • Auth
    none declared

Path parameters

databaseIdstring required

ID of your database.

Query parameters

userIdstring required

ID of the user who made the purchase.

itemIdstring required

ID of the item which was purchased.

timestampnumber double

Unix timestamp of the purchase. If the timestamp is omitted, then all the purchases with the given userId and itemId are deleted.

Response

Successful operation.

Changes

No recorded changes to this operation across all 3 revisions of this API.