New Issue Products Endpoint #214
Labels
api-v2
Related to new API version 2
discuss
Discuss before implementing
enhancement
New idea, feature or request
Motivation
The storage crew in Analog gets product rewards for doing extra work in the cafe. This is a way to provide an incentive while not giving elevated perks (such as always-free espresso). For example, checking the storage for missing milk rewards one free fancy drink, and ordering milk is good for 10 fancy drinks.
By creating an endpoint to directly add clip cards/"swipable products" to a user, we can automate distrubution of these rewards with Zapier webhook or similar.
Implementation suggestions
Endpoint
Request body
Execution
Upon checking that the requester is authorized to issue products, there are multiple ways to issue the products themselves:
Further comments
Should the user be notified that new products have been added to their account? (This would complicate things.)
The text was updated successfully, but these errors were encountered: