Skerry/ Reference/ Subscriptions outside Skerry and supplies
Subscriptions outside Skerry and supplies16
Two things a customer keeps track of that Skerry does not charge for. Outside subscriptions are services paid elsewhere (found from repeated charges, renewal mail and receipts, or added by hand): service, amount, cycle, next renewal, trial end, price rises, and the outcome of a cancellation; no credential of the provider is held and nothing is cancelled for the person, the cancel step names the provider's own page. Supplies are things that run out: what was bought, how fast it is used (set by the person or learned: the plain rate for steady use, Croston's method with the Syntetos-Boylan correction for lumpy use), when it runs out, and a reorder point set from an upper quantile of use over the delivery lead time, not the mean. Notices go out once each as subscription.renews_soon, subscription.price_changed, supply.runs_out_soon and bill.due_soon. Details in docs/subscriptions-outside.md and docs/supplies.md.
- Tracked subscriptions, newest first. `?customer_id=&status=`get/outside-subscriptions
- Track a subscription paid outside Skerrypost/outside-subscriptions
- Monthly cost by currency, what renews in 14 days, and price risesget/outside-subscriptions/summary
- Find subscriptions in chargespost/outside-subscriptions/detect
- One tracked subscription, with `price_change`get/outside-subscriptions/{id}
- Outside subscriptions updatepatch/outside-subscriptions/{id}
- Record a cancellation outcomepost/outside-subscriptions/{id}/cancel
- Supplies, soonest to run out first, each with its forecastget/supplies
- Supplies createpost/supplies
- Supplies getget/supplies/{id}
- Change a supplypatch/supplies/{id}
- Archive a supplydelete/supplies/{id}
- Record a purchasepost/supplies/{id}/purchases
- The person says it ran out: on hand is 0 nowpost/supplies/{id}/ran-out
- The person counted what is here: the forecast starts again from itpost/supplies/{id}/counted
- A draft refillget/supplies/{id}/reorder