Skip to content

0.7.0 — Quotes (request for quote)

Choose a tag to compare

@kmizzi kmizzi released this 26 Oct 23:23
· 20 commits to main since this release
97aef4b

Quotes, guest-friendly. A buyer can ask for a price instead of checking out, with no account: a name and an email, and the emailed link is their way back to the quote. The operations system prices it through the Store API, and the buyer accepts in one click, which places a pay-later order at the quoted prices.

  • SDK: store.quotes and migration 0008_quotes. Run your migrations: npm run db:migrate on Cloudflare; Node hosts migrate on boot.
  • Store API: GET /quotes, GET /quotes/{id}, PATCH /quotes/{id} (offer, external_reference, cancel) under a new quotes scope. Existing connections must reconnect to grant it.
  • New quotes block: run npx @skuio/cli add quotes to add it to an existing store. It includes Add to quote, the quote list, /quote/, /quotes/{id}/ and /account/quotes/.
  • New config: optional QUOTE_NOTIFICATION_EMAIL, and config.quotes (number prefix, max quantity, per-hour throttle).

See docs/store-api.md → Quotes. (#12)