Skip to content
SarvexDocs
Esc
↑↓navigate↵open⌘Jpreview

Store UCP activation state transitioned

RECEIVEcontrol.store.activation_state_changed
Message
store_idstringrequired
from_statestringrequired

The activation state left by this transition (see ucp_state in sarvex-v1-control-plane.yaml).

Allowed:draftconnector_linkedprofile_publishedverifiedactivesuspended
to_statestringrequired

The activation state entered by this transition.

Allowed:draftconnector_linkedprofile_publishedverifiedactivesuspended
signalstringrequired

The evidence that caused the move. Every value names something that arrived — a connector paired, a profile served, a conformance run passed — never an intention, and never a surface.

Allowed:connector_linkedconnector_unlinkedprofile_publishedprofile_withdrawnverification_passedverification_failedactivatedhealth_criticalresumed
Headers
message_idstringrequired

Unique per message; consumers de-duplicate on this.

ordering_keystringrequired

The store_id. Guarantees per-store ordering; the catalog/serving tenant boundary (a store belongs to one merchant — see architecture §2a).

occurred_atstring<date-time>required
sequenceinteger<int64>

Monotonic per-connector sequence carried from the origin signal (ingest events only).

trace_idstring

Correlates a chain of events from one originating cause.

schema_versionstringrequired
Try it
Server
Payload

Live sending isn't possible for pubsub from a browser tab — copy the sample above and run it against your broker.

Message
{
  "store_id": "string",
  "from_state": "draft",
  "to_state": "draft",
  "signal": "connector_linked"
}