Skip to main content
The schedules service manages the calendar of upcoming orders attached to a subscription. Blocks use it to render the next delivery, skip a cycle, or move a date.

Setup

Shape

Reactive state

  • upcoming — list of upcoming orders. Multiple blocks can read it without duplicating fetches.
  • hasPendingBilling — mirrors the subscription service signal so schedule-modifying blocks can disable controls during billing.

Example: skip next order

Adjustments

ScheduleAdjustment represents pending changes to the calendar — a skipped cycle or a moved date. Read them with getAdjustments() to show “your next change” affordances and remove them with removeAdjustment().