Skip to main content

rebuildOrderSignals

Recompute the signals of the given orders from their current state.

Signals normally appear and clear on their own, so this is only needed to reach orders a change has not touched: after deploying a new signal, or after changing the wording of an existing one.

Runs asynchronously and returns a process id to follow. Omitting signalNames recomputes every signal in the catalogue.

Business Rules​

  • Only orders of the current company are recomputed; unknown ids are skipped.
  • Recomputing is idempotent: an order whose signals already match is left untouched and emits nothing.
  • An order that fails does not stop the rest; the process reports how many of each.

Error Scenarios​

  • Validation error: orderIds was empty or held more than 50 ids.

Permissions Required​

  • orders:rebuild_signals permission
rebuildOrderSignals(
input: RebuildOrderSignalsInput!
): AsynchronousActionResponse!

Arguments​

rebuildOrderSignals.input ● RebuildOrderSignalsInput! non-null input common​

Parameters for RebuildOrderSignals

Type​

AsynchronousActionResponse object common​

Asynchronous action response type