{
  "id": "woocommerce-rest-price",
  "action": "Set regular price to 44.00 through WooCommerce REST",
  "edit_path": "Actual HTTP POST /wc/v3/products/{id}, browser session user 1",
  "fixture_result": {
    "http_status": 200,
    "object_id": 11,
    "error_code": null
  },
  "expected_event": "commerce.product_changed",
  "events": [
    {
      "id": "28",
      "network_id": "1",
      "site_id": "1",
      "occurred_at": "2026-11-22 06:13:39.934199",
      "code": "commerce.product_changed",
      "category": "commerce",
      "action": "product_changed",
      "outcome": "stored_change",
      "severity": "notice",
      "actor_kind": "authenticated_user",
      "actor_id": "1",
      "subject_id": null,
      "object_type": "product",
      "object_id": "11",
      "channel": "rest",
      "payload": {
        "event_scope": "site",
        "source": "wordpress",
        "actor_label": "User #1",
        "subject_label": "Not applicable",
        "facts": {
          "currency": "USD",
          "precision": 2,
          "product_type": "simple",
          "execution_context": "authenticated_staff"
        },
        "diffs": [
          {
            "field": "regular_price",
            "type": "scalar",
            "before": "42.00",
            "after": "44.00",
            "availability": "captured",
            "redacted": false
          }
        ],
        "collector": "woocommerce_crud_v1",
        "observed_via": "woocommerce_after_product_object_save",
        "confidence": "successful_write_with_prewrite_snapshot",
        "ip_context": {
          "mode": "unavailable",
          "reason": "not_collected_by_this_collector"
        },
        "incomplete_context": false,
        "truncated": false,
        "before_consistency": "prewrite_snapshot_not_serializable_against_concurrent_writes",
        "maintenance": null
      }
    }
  ],
  "observed_codes": [
    "commerce.product_changed"
  ],
  "status": "captured",
  "retained_fields": [
    "regular_price"
  ],
  "retained_fact_names": [
    "currency",
    "execution_context",
    "precision",
    "product_type"
  ],
  "attribution": [
    "authenticated_user; actor_id=1; channel=rest"
  ],
  "limitations": "Actual cookie-authenticated WooCommerce REST product update. Account ID and REST channel do not identify an external application or human beyond the retained account context.",
  "alternatives": "REST client/job logs and authentication records.",
  "versions": {
    "logged_ai_free": "1.2.16",
    "wordpress": "7.1.5",
    "php": "8.5.4",
    "mariadb": "11.8.6",
    "woocommerce": "11.3.0",
    "order_storage": "HPOS"
  },
  "tested_at": "2026-11-22",
  "sample": "woocommerce-rest-price.json",
  "screenshot": null
}
