Delete
You should always make sure that you are calling these events after the rcore_stats script is initialized.
To make sure, check the Step 1 in the Integration guide.
Delete order
When deleting any data using API events, you must make sure to follow a certain order.
Reason for this is that some data is dependent on other data.
Achievements are dependent on stat types, and stat types are dependent on categories. If you try to delete a category first and some stat type will depend on it, you will get an SQL error.
Correct order:
Delete achievement
Delete stat type
Delete category
Delete Events
All events are SERVER SIDE.
Deleting achievements
Deleting stat types
Deleting categories
Last updated