_deleteByDate
Delete Stock items by their creation date.
Parameters
date
The date that all stock items were created on, in the form of yyyy-mm-dd.
Example
Result
On Success
The amount of stock that was deleted. For example:
On Failure
If the user is not logged in:
If the user is not the main account user:
If the date is not given or is in the wrong format:
If there are no stocks create on the given date:
Last updated