1. Store Hit
Stores a hit in the database, returns the hit _id to be used in subsequent events.
Endpoints
- /hit
Method: POST
Requires Authentication: YES
Parameters
-
product_id
Validations: required|exists:products,id
The Id of the product that is receiving the hit.
Responses
-
Success
Status code: 200