Skip to main content

peek-pricing

How to adjust Peek Pro ticket prices from your app with the pricing engine + overrides API on PeekAccessService (from @peektravel/app-utilities). Use when building dynamic/scheduled/tiered pricing — promos, group discounts, demand- or time-of-day-based adjustments — on Peek. Covers the engine-once/overrides-many lifecycle, fixed vs. percentage adjustments, the spotsTaken off-by-one, order/tier ranking, PostgreSQL range formats for dates and start-time windows, full-replace upsert semantics, clearing (must name activities), and the error types. Peek-only — cng/acme have no pricing engine. Triggers on "pricing", "price override", "dynamic pricing", "discount", "promo", "tiered pricing", "pricing engine", "getPricingService", "createEngine", "upsertOverrides", "clearOverrides", "spotsTaken", "resourceOptions", "UpsertOverridesInput".

跳到安装

来源信息

仓库
peek-travel/app-cli
最近来源活动
2026年7月21日 19:54
检测到的 SKILL.md 语言
英语
星标
0
分支
0

安装方式

默认使用会先检查来源的 Prompt;你也可以切换为直接命令,或下载本地副本。

检查来源文件

决定是否安装前,请先阅读 SKILL.md,以及 SkillsMP 当前展示的配套文件。