Skip to content

Service.closed

Emitted each time a Service is closed.

Service.close emits Service.closed when it completes on a Service.

PropertyValue
Emitted byService.close
NounService
WakesNone.

Payload

Each delivery is an Event record. data holds what Service.close returns.

FieldTypeRequiredDescription
namestringrequiredService.closed.
atdatetimerequiredWhen it happened.
seqintegerIts position in the namespace, one more than the Event before; any seq is a cursor into the history.
datajsonrequiredThe Thing as the Action left it.
data.serviceServicerequiredThe closed Service.
data.service.namestringrequiredThe name of the Product.
data.service.promisetextrequiredWhat the Customer can rely on.
data.service.statusstringrequiredOne of draft, selling or retired, set by its Offers.
data.service.floorstringThe human floor: none, sign, or practice.

Example

JSON
{
  "$id": "https://api.sb/catalogmend.com/events/evt_cX7ex34lnr",
  "$type": "Event",
  "name": "Service.closed",
  "at": "2026-10-22T12:00:00Z",
  "data": {
    "service": {
      "$id": "https://api.sb/catalogmend.com/services/service_Eq1ssq4AOW",
      "$type": "Service",
      "name": "Catalogmend",
      "promise": "Every listing error fixed or explained within 48 hours.",
      "status": "draft",
      "floor": "none"
    }
  },
  "seq": 2426
}