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/
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.