Commerce CensusContactRequest access

API / Objects

The Watch object

One-off reads are a commodity; a watch is a relationship. A condition, a scope and a callback — evaluated as observations land rather than on a schedule you have to operate.

Fields

FieldTypeNotes
watch_id ·alwaysstringStable.
scopeobjectproduct_id, brand, category or seller. Broader scopes fire per matching product.
conditionobject{ op, value }. See the ops table in the watches guide.
callbackstringYour HTTPS endpoint.
secretstringReturned once at creation. Used to sign every delivery.
activeboolWatches can be paused without losing their history.
JSON
{
  "watch_id": "wch_4b1c9e02",
  "scope": { "brand": "Ninja", "category": "home.kitchen" },
  "condition": { "op": "percentile_below", "value": 10 },
  "callback": "https://you.example/hooks/price",
  "active": true
}

Nuances

percentile_below outlives an absolute threshold

A user sets $200 and forgets. `percentile_below: 10` means 'tell me when this is genuinely cheap for this product', which stays true as the market moves.

Related

Event · Memory