{
  "status": "accepted",
  "updated": "2026-11-20",
  "note": "Synthetic examples from contracts/module/operations.json; not output of a real shop. Generated; do not edit by hand.",
  "capabilityExamples": [
    {
      "name": "OpenCart 3 module, pilot scope",
      "capabilities": [
        {
          "name": "product.read",
          "version": 1
        },
        {
          "name": "product.list",
          "version": 1
        },
        {
          "name": "product.write.price",
          "version": 1,
          "conditional": "atomic"
        },
        {
          "name": "product.write.status",
          "version": 1,
          "conditional": "atomic"
        }
      ]
    },
    {
      "name": "a driver that emulates the condition (read, compare, write)",
      "capabilities": [
        {
          "name": "product.read",
          "version": 1
        },
        {
          "name": "product.list",
          "version": 1
        },
        {
          "name": "variant.read",
          "version": 1
        },
        {
          "name": "variant.write.price",
          "version": 1,
          "conditional": "emulated"
        },
        {
          "name": "order.read",
          "version": 1
        }
      ]
    },
    {
      "name": "a PHP module on nontransactional tables",
      "capabilities": [
        {
          "name": "product.read",
          "version": 1
        },
        {
          "name": "product.list",
          "version": 1
        },
        {
          "name": "product.write.price",
          "version": 1,
          "conditional": "emulated"
        }
      ]
    },
    {
      "name": "OpenCart 3 module with the query operations",
      "capabilities": [
        {
          "name": "category.query",
          "version": 1,
          "sorts": [
            "name",
            "status",
            "createdAt",
            "updatedAt"
          ],
          "filters": [
            "name",
            "status",
            "parentId",
            "storefrontId",
            "createdAt",
            "updatedAt"
          ]
        },
        {
          "name": "product.query",
          "version": 1,
          "sorts": [
            "code",
            "sku",
            "mpn",
            "name",
            "status",
            "quantity",
            "price",
            "rating",
            "manufacturer",
            "createdAt",
            "updatedAt"
          ],
          "filters": [
            "code",
            "sku",
            "mpn",
            "name",
            "status",
            "quantity",
            "price",
            "storefrontId",
            "categoryId",
            "categorySubtreeId",
            "manufacturerId",
            "createdAt",
            "updatedAt"
          ]
        },
        {
          "name": "manufacturer.query",
          "version": 1,
          "sorts": [
            "name"
          ],
          "filters": [
            "name"
          ]
        },
        {
          "name": "customerGroup.query",
          "version": 1,
          "sorts": [
            "name"
          ],
          "filters": [
            "name"
          ]
        },
        {
          "name": "customer.query",
          "version": 1,
          "sorts": [
            "name",
            "email",
            "telephone",
            "customerGroup",
            "status",
            "createdAt"
          ],
          "filters": [
            "name",
            "email",
            "telephone",
            "customerGroupId",
            "status",
            "createdAt"
          ]
        },
        {
          "name": "orderStatus.query",
          "version": 1,
          "sorts": [
            "name"
          ],
          "filters": [
            "name"
          ]
        },
        {
          "name": "order.query",
          "version": 1,
          "sorts": [
            "id",
            "number",
            "customerName",
            "orderStatus",
            "total",
            "createdAt",
            "updatedAt"
          ],
          "filters": [
            "customerName",
            "customerEmail",
            "customerTelephone",
            "orderStatusId",
            "total",
            "createdAt",
            "updatedAt"
          ]
        }
      ]
    },
    {
      "name": "OpenCart 3 module with product texts (illustrative; accepted 11 November 2026; the manifest must also carry store.languages)",
      "capabilities": [
        {
          "name": "product.read",
          "version": 1
        },
        {
          "name": "product.list",
          "version": 1
        },
        {
          "name": "product.write.price",
          "version": 1,
          "conditional": "atomic"
        },
        {
          "name": "product.write.texts",
          "version": 1,
          "conditional": "atomic"
        }
      ]
    },
    {
      "name": "OpenCart module with pictures (promoted 20 November 2026; the limits go in manifest.limits)",
      "capabilities": [
        {
          "name": "product.read",
          "version": 1
        },
        {
          "name": "product.write.image",
          "version": 1,
          "conditional": "emulated"
        },
        {
          "name": "product.write.images",
          "version": 1,
          "conditional": "emulated"
        },
        {
          "name": "category.write.image",
          "version": 1,
          "conditional": "emulated"
        }
      ]
    }
  ],
  "examples": [
    {
      "name": "product.search: a duplicated SKU, a barcode nobody has, a variant hit",
      "op": "product.search",
      "request": {
        "protocol": "1.0",
        "id": "0f8e2d6c-4b1a-4c3e-9d7f-1a2b3c4d5e6f",
        "op": "product.search",
        "params": {
          "identifiers": [
            {
              "type": "sku",
              "value": "SD-DUP"
            },
            {
              "type": "gtin",
              "value": "4006381333931"
            },
            {
              "type": "sku",
              "value": "TEE-RED-L"
            }
          ]
        }
      },
      "response": {
        "protocol": "1.0",
        "id": "0f8e2d6c-4b1a-4c3e-9d7f-1a2b3c4d5e6f",
        "ok": true,
        "result": {
          "results": [
            {
              "input": {
                "type": "sku",
                "value": "SD-DUP"
              },
              "matches": [
                {
                  "resource": "product",
                  "id": "42",
                  "parentId": null
                },
                {
                  "resource": "product",
                  "id": "57",
                  "parentId": null
                }
              ]
            },
            {
              "input": {
                "type": "gtin",
                "value": "4006381333931"
              },
              "matches": []
            },
            {
              "input": {
                "type": "sku",
                "value": "TEE-RED-L"
              },
              "matches": [
                {
                  "resource": "variant",
                  "id": "312",
                  "parentId": "310"
                }
              ]
            }
          ]
        }
      }
    },
    {
      "name": "product.search: paused by the owner",
      "op": "product.search",
      "request": {
        "protocol": "1.0",
        "id": "0f8e2d6c-4b1a-4c3e-9d7f-1a2b3c4d5e6f",
        "op": "product.search",
        "params": {
          "identifiers": [
            {
              "type": "sku",
              "value": "SD-001"
            }
          ]
        }
      },
      "response": {
        "protocol": "1.0",
        "id": "0f8e2d6c-4b1a-4c3e-9d7f-1a2b3c4d5e6f",
        "ok": false,
        "error": {
          "code": "paused",
          "message": "The store owner has paused Store Deputy in the admin panel.",
          "retryable": false,
          "details": {}
        }
      }
    },
    {
      "name": "product.get: one found, one missing (OpenCart)",
      "op": "product.get",
      "request": {
        "protocol": "1.0",
        "id": "0f8e2d6c-4b1a-4c3e-9d7f-1a2b3c4d5e6f",
        "op": "product.get",
        "params": {
          "ids": [
            "42",
            "999"
          ]
        }
      },
      "response": {
        "protocol": "1.0",
        "id": "0f8e2d6c-4b1a-4c3e-9d7f-1a2b3c4d5e6f",
        "ok": true,
        "result": {
          "items": [
            {
              "id": "42",
              "code": "AB-100",
              "sku": "AB-100",
              "gtin": "4006381333931",
              "gtins": [
                "4006381333931"
              ],
              "mpn": null,
              "name": "Example kettle",
              "status": "enabled",
              "stock": {
                "quantity": 12,
                "tracked": true
              },
              "price": {
                "amount": "19.9900",
                "currency": "EUR",
                "includesTax": false
              },
              "priceRules": [],
              "variantPricing": "none",
              "storefrontIds": [
                "0"
              ],
              "categoryIds": [
                "20",
                "24"
              ],
              "manufacturerId": "8",
              "createdAt": "2026-02-14T10:00:00Z",
              "updatedAt": "2026-09-30T11:12:00Z",
              "extensions": {
                "opencart": {
                  "taxClass": "Taxable Goods",
                  "upc": "",
                  "ean": "4006381333931",
                  "jan": "",
                  "isbn": ""
                }
              }
            }
          ],
          "missing": [
            "999"
          ]
        }
      }
    },
    {
      "name": "product.get: a variable product with its variants (illustrative WooCommerce; the neutrality fixture)",
      "op": "product.get",
      "request": {
        "protocol": "1.0",
        "id": "0f8e2d6c-4b1a-4c3e-9d7f-1a2b3c4d5e6f",
        "op": "product.get",
        "params": {
          "ids": [
            "310"
          ],
          "include": [
            "variants"
          ]
        }
      },
      "response": {
        "protocol": "1.0",
        "id": "0f8e2d6c-4b1a-4c3e-9d7f-1a2b3c4d5e6f",
        "ok": true,
        "result": {
          "items": [
            {
              "id": "310",
              "code": null,
              "sku": "TEE",
              "gtin": null,
              "gtins": [],
              "mpn": null,
              "name": "Example T-shirt",
              "status": "enabled",
              "stock": {
                "quantity": null,
                "tracked": false
              },
              "price": null,
              "priceRules": [],
              "variantPricing": "variants",
              "storefrontIds": [
                "default"
              ],
              "categoryIds": [
                "18"
              ],
              "manufacturerId": null,
              "createdAt": "2026-02-14T10:00:00Z",
              "updatedAt": "2026-10-01T08:00:00Z",
              "variants": [
                {
                  "id": "312",
                  "parentId": "310",
                  "code": null,
                  "sku": "TEE-RED-L",
                  "gtin": "0012345678905",
                  "gtins": [
                    "0012345678905"
                  ],
                  "mpn": null,
                  "attributes": {
                    "Colour": "Red",
                    "Size": "L"
                  },
                  "price": {
                    "amount": "25.0000",
                    "currency": "EUR",
                    "includesTax": true
                  },
                  "priceRules": [],
                  "stock": {
                    "quantity": 4,
                    "tracked": true
                  },
                  "status": "enabled",
                  "createdAt": "2026-09-20T08:00:00Z",
                  "updatedAt": "2026-10-01T08:00:00Z"
                }
              ]
            }
          ],
          "missing": []
        }
      }
    },
    {
      "name": "product.get: variants asked of a shop without variant.read",
      "op": "product.get",
      "request": {
        "protocol": "1.0",
        "id": "0f8e2d6c-4b1a-4c3e-9d7f-1a2b3c4d5e6f",
        "op": "product.get",
        "params": {
          "ids": [
            "42"
          ],
          "include": [
            "variants"
          ]
        }
      },
      "response": {
        "protocol": "1.0",
        "id": "0f8e2d6c-4b1a-4c3e-9d7f-1a2b3c4d5e6f",
        "ok": false,
        "error": {
          "code": "capability_unavailable",
          "message": "This shop does not offer variants.",
          "retryable": false,
          "details": {
            "capability": "variant.read"
          }
        }
      }
    },
    {
      "name": "product.get: texts requested (illustrative; accepted 11 November 2026; the product has no Ukrainian row)",
      "op": "product.get",
      "request": {
        "protocol": "1.0",
        "id": "0f8e2d6c-4b1a-4c3e-9d7f-1a2b3c4d5e6f",
        "op": "product.get",
        "params": {
          "ids": [
            "42"
          ],
          "include": [
            "texts"
          ]
        }
      },
      "response": {
        "protocol": "1.0",
        "id": "0f8e2d6c-4b1a-4c3e-9d7f-1a2b3c4d5e6f",
        "ok": true,
        "result": {
          "items": [
            {
              "id": "42",
              "code": "AB-100",
              "sku": "AB-100",
              "gtin": "4006381333931",
              "gtins": [
                "4006381333931"
              ],
              "mpn": null,
              "name": "Example kettle",
              "status": "enabled",
              "stock": {
                "quantity": 12,
                "tracked": true
              },
              "price": {
                "amount": "19.9900",
                "currency": "EUR",
                "includesTax": false
              },
              "priceRules": [],
              "variantPricing": "none",
              "storefrontIds": [
                "0"
              ],
              "categoryIds": [
                "20",
                "24"
              ],
              "manufacturerId": "8",
              "createdAt": "2026-02-14T10:00:00Z",
              "updatedAt": "2026-09-30T11:12:00Z",
              "extensions": {
                "opencart": {
                  "taxClass": "Taxable Goods",
                  "upc": "",
                  "ean": "4006381333931",
                  "jan": "",
                  "isbn": ""
                }
              },
              "texts": {
                "en-GB": {
                  "name": "Example kettle",
                  "description": "<p>A 1.7 litre kettle with <strong>auto shut-off</strong>.</p>",
                  "metaTitle": "Example kettle | Example Store",
                  "metaDescription": "A 1.7 litre kettle with auto shut-off.",
                  "metaKeywords": "kettle, electric kettle"
                },
                "uk-UA": null
              }
            }
          ],
          "missing": []
        }
      }
    },
    {
      "name": "product.get: texts asked of a module whose manifest has no languages (accepted 11 November 2026)",
      "op": "product.get",
      "request": {
        "protocol": "1.0",
        "id": "0f8e2d6c-4b1a-4c3e-9d7f-1a2b3c4d5e6f",
        "op": "product.get",
        "params": {
          "ids": [
            "42"
          ],
          "include": [
            "texts"
          ]
        }
      },
      "response": {
        "protocol": "1.0",
        "id": "0f8e2d6c-4b1a-4c3e-9d7f-1a2b3c4d5e6f",
        "ok": false,
        "error": {
          "code": "capability_unavailable",
          "message": "This shop does not serve product texts.",
          "retryable": false,
          "details": {
            "include": "texts"
          }
        }
      }
    },
    {
      "name": "product.get: images requested (illustrative; promoted 20 November 2026): the main image and the additional ones in display order",
      "op": "product.get",
      "request": {
        "protocol": "1.0",
        "id": "0f8e2d6c-4b1a-4c3e-9d7f-1a2b3c4d5e6f",
        "op": "product.get",
        "params": {
          "ids": [
            "42"
          ],
          "include": [
            "images"
          ]
        }
      },
      "response": {
        "protocol": "1.0",
        "id": "0f8e2d6c-4b1a-4c3e-9d7f-1a2b3c4d5e6f",
        "ok": true,
        "result": {
          "items": [
            {
              "id": "42",
              "code": "AB-100",
              "sku": "AB-100",
              "gtin": "4006381333931",
              "gtins": [
                "4006381333931"
              ],
              "mpn": null,
              "name": "Example kettle",
              "status": "enabled",
              "stock": {
                "quantity": 12,
                "tracked": true
              },
              "price": {
                "amount": "19.9900",
                "currency": "EUR",
                "includesTax": false
              },
              "priceRules": [],
              "variantPricing": "none",
              "storefrontIds": [
                "0"
              ],
              "categoryIds": [
                "20",
                "24"
              ],
              "manufacturerId": "8",
              "createdAt": "2026-02-14T10:00:00Z",
              "updatedAt": "2026-09-30T11:12:00Z",
              "extensions": {
                "opencart": {
                  "taxClass": "Taxable Goods",
                  "upc": "",
                  "ean": "4006381333931",
                  "jan": "",
                  "isbn": ""
                }
              },
              "image": {
                "path": "catalog/demo/kettle.jpg",
                "url": "http://shop.example/image/catalog/demo/kettle.jpg"
              },
              "images": [
                {
                  "path": "catalog/demo/kettle-side.jpg",
                  "url": "http://shop.example/image/catalog/demo/kettle-side.jpg"
                },
                {
                  "path": "catalog/demo/kettle-back.jpg",
                  "url": "http://shop.example/image/catalog/demo/kettle-back.jpg"
                }
              ]
            }
          ],
          "missing": []
        }
      }
    },
    {
      "name": "product.get: images asked of a shop whose module offers none",
      "op": "product.get",
      "request": {
        "protocol": "1.0",
        "id": "0f8e2d6c-4b1a-4c3e-9d7f-1a2b3c4d5e6f",
        "op": "product.get",
        "params": {
          "ids": [
            "42"
          ],
          "include": [
            "images"
          ]
        }
      },
      "response": {
        "protocol": "1.0",
        "id": "0f8e2d6c-4b1a-4c3e-9d7f-1a2b3c4d5e6f",
        "ok": false,
        "error": {
          "code": "capability_unavailable",
          "message": "This shop cannot read pictures.",
          "retryable": false,
          "details": {
            "include": "images"
          }
        }
      }
    },
    {
      "name": "product.list: a page of one, more to come",
      "op": "product.list",
      "request": {
        "protocol": "1.0",
        "id": "0f8e2d6c-4b1a-4c3e-9d7f-1a2b3c4d5e6f",
        "op": "product.list",
        "params": {
          "limit": 1,
          "updatedSince": "2026-09-01T00:00:00Z"
        }
      },
      "response": {
        "protocol": "1.0",
        "id": "0f8e2d6c-4b1a-4c3e-9d7f-1a2b3c4d5e6f",
        "ok": true,
        "result": {
          "items": [
            {
              "id": "42",
              "code": "AB-100",
              "sku": "AB-100",
              "gtin": "4006381333931",
              "gtins": [
                "4006381333931"
              ],
              "mpn": null,
              "name": "Example kettle",
              "status": "enabled",
              "stock": {
                "quantity": 12,
                "tracked": true
              },
              "price": {
                "amount": "19.9900",
                "currency": "EUR",
                "includesTax": false
              },
              "priceRules": [],
              "variantPricing": "none",
              "storefrontIds": [
                "0"
              ],
              "categoryIds": [
                "20",
                "24"
              ],
              "manufacturerId": "8",
              "createdAt": "2026-02-14T10:00:00Z",
              "updatedAt": "2026-09-30T11:12:00Z"
            }
          ],
          "nextCursor": "42"
        }
      }
    },
    {
      "name": "product.list: the last page",
      "op": "product.list",
      "request": {
        "protocol": "1.0",
        "id": "0f8e2d6c-4b1a-4c3e-9d7f-1a2b3c4d5e6f",
        "op": "product.list",
        "params": {
          "cursor": "42",
          "limit": 100
        }
      },
      "response": {
        "protocol": "1.0",
        "id": "0f8e2d6c-4b1a-4c3e-9d7f-1a2b3c4d5e6f",
        "ok": true,
        "result": {
          "items": [],
          "nextCursor": null
        }
      }
    },
    {
      "name": "product.list: a module without it",
      "op": "product.list",
      "request": {
        "protocol": "1.0",
        "id": "0f8e2d6c-4b1a-4c3e-9d7f-1a2b3c4d5e6f",
        "op": "product.list",
        "params": {
          "limit": 100
        }
      },
      "response": {
        "protocol": "1.0",
        "id": "0f8e2d6c-4b1a-4c3e-9d7f-1a2b3c4d5e6f",
        "ok": false,
        "error": {
          "code": "unknown_op",
          "message": "Unknown operation product.list.",
          "retryable": false,
          "details": {}
        }
      }
    },
    {
      "name": "product.query: enabled products in category 20 with 1 to 20 in stock, cheapest first",
      "op": "product.query",
      "request": {
        "protocol": "1.0",
        "id": "0f8e2d6c-4b1a-4c3e-9d7f-1a2b3c4d5e6f",
        "op": "product.query",
        "params": {
          "filters": [
            {
              "type": "status",
              "value": "enabled"
            },
            {
              "type": "categoryId",
              "value": "20"
            },
            {
              "type": "quantity",
              "value": {
                "min": 1,
                "max": 20
              }
            }
          ],
          "sort": "price",
          "order": "asc",
          "limit": 50
        }
      },
      "response": {
        "protocol": "1.0",
        "id": "0f8e2d6c-4b1a-4c3e-9d7f-1a2b3c4d5e6f",
        "ok": true,
        "result": {
          "items": [
            {
              "id": "42",
              "code": "AB-100",
              "sku": "AB-100",
              "gtin": "4006381333931",
              "gtins": [
                "4006381333931"
              ],
              "mpn": null,
              "name": "Example kettle",
              "status": "enabled",
              "stock": {
                "quantity": 12,
                "tracked": true
              },
              "price": {
                "amount": "19.9900",
                "currency": "EUR",
                "includesTax": false
              },
              "priceRules": [],
              "variantPricing": "none",
              "storefrontIds": [
                "0"
              ],
              "categoryIds": [
                "20",
                "24"
              ],
              "manufacturerId": "8",
              "createdAt": "2026-02-14T10:00:00Z",
              "updatedAt": "2026-09-30T11:12:00Z",
              "extensions": {
                "opencart": {
                  "taxClass": "Taxable Goods",
                  "upc": "",
                  "ean": "4006381333931",
                  "jan": "",
                  "isbn": ""
                }
              }
            }
          ],
          "itemCount": 1,
          "page": 1,
          "pageCount": 1
        }
      }
    },
    {
      "name": "product.query: by SKU, any case",
      "op": "product.query",
      "request": {
        "protocol": "1.0",
        "id": "0f8e2d6c-4b1a-4c3e-9d7f-1a2b3c4d5e6f",
        "op": "product.query",
        "params": {
          "filters": [
            {
              "type": "sku",
              "value": "ab-100"
            }
          ]
        }
      },
      "response": {
        "protocol": "1.0",
        "id": "0f8e2d6c-4b1a-4c3e-9d7f-1a2b3c4d5e6f",
        "ok": true,
        "result": {
          "items": [
            {
              "id": "42",
              "code": "AB-100",
              "sku": "AB-100",
              "gtin": "4006381333931",
              "gtins": [
                "4006381333931"
              ],
              "mpn": null,
              "name": "Example kettle",
              "status": "enabled",
              "stock": {
                "quantity": 12,
                "tracked": true
              },
              "price": {
                "amount": "19.9900",
                "currency": "EUR",
                "includesTax": false
              },
              "priceRules": [],
              "variantPricing": "none",
              "storefrontIds": [
                "0"
              ],
              "categoryIds": [
                "20",
                "24"
              ],
              "manufacturerId": "8",
              "createdAt": "2026-02-14T10:00:00Z",
              "updatedAt": "2026-09-30T11:12:00Z",
              "extensions": {
                "opencart": {
                  "taxClass": "Taxable Goods",
                  "upc": "",
                  "ean": "4006381333931",
                  "jan": "",
                  "isbn": ""
                }
              }
            }
          ],
          "itemCount": 1,
          "page": 1,
          "pageCount": 1
        }
      }
    },
    {
      "name": "product.query: priced 10 to 50, created this year, newest first, third page of 20",
      "op": "product.query",
      "request": {
        "protocol": "1.0",
        "id": "0f8e2d6c-4b1a-4c3e-9d7f-1a2b3c4d5e6f",
        "op": "product.query",
        "params": {
          "filters": [
            {
              "type": "price",
              "value": {
                "min": "10",
                "max": "50"
              }
            },
            {
              "type": "createdAt",
              "value": {
                "from": "2026-01-01T00:00:00Z"
              }
            }
          ],
          "sort": "createdAt",
          "order": "desc",
          "page": 3,
          "limit": 20
        }
      },
      "response": {
        "protocol": "1.0",
        "id": "0f8e2d6c-4b1a-4c3e-9d7f-1a2b3c4d5e6f",
        "ok": true,
        "result": {
          "items": [],
          "itemCount": 37,
          "page": 3,
          "pageCount": 2
        }
      }
    },
    {
      "name": "product.apply: a price applied, a price conflict, a product disabled",
      "op": "product.apply",
      "request": {
        "protocol": "1.0",
        "id": "0f8e2d6c-4b1a-4c3e-9d7f-1a2b3c4d5e6f",
        "op": "product.apply",
        "params": {
          "items": [
            {
              "id": "42",
              "expected": {
                "price": "19.9900"
              },
              "set": {
                "price": "21.5000"
              }
            },
            {
              "id": "57",
              "expected": {
                "price": "18.0000"
              },
              "set": {
                "price": "19.0000"
              }
            },
            {
              "id": "61",
              "expected": {
                "status": "enabled"
              },
              "set": {
                "status": "disabled"
              }
            }
          ]
        }
      },
      "response": {
        "protocol": "1.0",
        "id": "0f8e2d6c-4b1a-4c3e-9d7f-1a2b3c4d5e6f",
        "ok": true,
        "result": {
          "items": [
            {
              "id": "42",
              "outcome": "applied",
              "before": {
                "price": "19.9900"
              },
              "after": {
                "price": "21.5000"
              },
              "event": "fired"
            },
            {
              "id": "57",
              "outcome": "conflict",
              "current": {
                "price": "18.5000"
              }
            },
            {
              "id": "61",
              "outcome": "applied",
              "before": {
                "status": "enabled"
              },
              "after": {
                "status": "disabled"
              },
              "event": "fired"
            }
          ]
        }
      }
    },
    {
      "name": "product.apply: a variable product needs a variant; a missing product",
      "op": "product.apply",
      "request": {
        "protocol": "1.0",
        "id": "0f8e2d6c-4b1a-4c3e-9d7f-1a2b3c4d5e6f",
        "op": "product.apply",
        "params": {
          "items": [
            {
              "id": "310",
              "expected": {
                "price": "25.0000"
              },
              "set": {
                "price": "24.0000"
              }
            },
            {
              "id": "999",
              "expected": {
                "status": "enabled"
              },
              "set": {
                "status": "disabled"
              }
            }
          ]
        }
      },
      "response": {
        "protocol": "1.0",
        "id": "0f8e2d6c-4b1a-4c3e-9d7f-1a2b3c4d5e6f",
        "ok": true,
        "result": {
          "items": [
            {
              "id": "310",
              "outcome": "rejected",
              "reason": "variant_required"
            },
            {
              "id": "999",
              "outcome": "not_found"
            }
          ]
        }
      }
    },
    {
      "name": "product.apply: a field the shop cannot write",
      "op": "product.apply",
      "request": {
        "protocol": "1.0",
        "id": "0f8e2d6c-4b1a-4c3e-9d7f-1a2b3c4d5e6f",
        "op": "product.apply",
        "params": {
          "items": [
            {
              "id": "42",
              "expected": {
                "storefrontIds": [
                  "0"
                ]
              },
              "set": {
                "storefrontIds": [
                  "0",
                  "1"
                ]
              }
            }
          ]
        }
      },
      "response": {
        "protocol": "1.0",
        "id": "0f8e2d6c-4b1a-4c3e-9d7f-1a2b3c4d5e6f",
        "ok": false,
        "error": {
          "code": "capability_unavailable",
          "message": "This shop does not offer storefront writes.",
          "retryable": false,
          "details": {
            "capability": "product.write.storefrontIds"
          }
        }
      }
    },
    {
      "name": "product.apply: texts: applied, a conflict (nothing written, the price too), an unknown language (illustrative; accepted 11 November 2026)",
      "op": "product.apply",
      "request": {
        "protocol": "1.0",
        "id": "0f8e2d6c-4b1a-4c3e-9d7f-1a2b3c4d5e6f",
        "op": "product.apply",
        "params": {
          "items": [
            {
              "id": "42",
              "expected": {
                "texts": {
                  "en-GB": {
                    "name": "Example kettle",
                    "description": "<p>A 1.7 litre kettle.</p>"
                  }
                }
              },
              "set": {
                "texts": {
                  "en-GB": {
                    "name": "Example kettle 1.7 l",
                    "description": "<p>A 1.7 litre kettle with <strong>auto shut-off</strong>.</p>"
                  }
                }
              }
            },
            {
              "id": "57",
              "expected": {
                "price": "18.0000",
                "texts": {
                  "en-GB": {
                    "metaTitle": "Old title"
                  }
                }
              },
              "set": {
                "price": "19.0000",
                "texts": {
                  "en-GB": {
                    "metaTitle": "New title"
                  }
                }
              }
            },
            {
              "id": "61",
              "expected": {
                "texts": {
                  "fr-FR": null
                }
              },
              "set": {
                "texts": {
                  "fr-FR": {
                    "name": "Bouilloire"
                  }
                }
              }
            }
          ]
        }
      },
      "response": {
        "protocol": "1.0",
        "id": "0f8e2d6c-4b1a-4c3e-9d7f-1a2b3c4d5e6f",
        "ok": true,
        "result": {
          "items": [
            {
              "id": "42",
              "outcome": "applied",
              "before": {
                "texts": {
                  "en-GB": {
                    "name": "Example kettle",
                    "description": "<p>A 1.7 litre kettle.</p>"
                  }
                }
              },
              "after": {
                "texts": {
                  "en-GB": {
                    "name": "Example kettle 1.7 l",
                    "description": "<p>A 1.7 litre kettle with <strong>auto shut-off</strong>.</p>"
                  }
                }
              },
              "event": "fired"
            },
            {
              "id": "57",
              "outcome": "conflict",
              "current": {
                "price": "18.0000",
                "texts": {
                  "en-GB": {
                    "metaTitle": "Kettles | Example Store"
                  }
                }
              }
            },
            {
              "id": "61",
              "outcome": "rejected",
              "reason": "unknown_language"
            }
          ]
        }
      }
    },
    {
      "name": "product.apply: texts: a missing language row is created; a new row without a name is refused (illustrative; accepted 11 November 2026)",
      "op": "product.apply",
      "request": {
        "protocol": "1.0",
        "id": "0f8e2d6c-4b1a-4c3e-9d7f-1a2b3c4d5e6f",
        "op": "product.apply",
        "params": {
          "items": [
            {
              "id": "42",
              "expected": {
                "texts": {
                  "uk-UA": null
                }
              },
              "set": {
                "texts": {
                  "uk-UA": {
                    "name": "Чайник Example",
                    "description": "<p>Електричний чайник на 1,7 л.</p>"
                  }
                }
              }
            },
            {
              "id": "57",
              "expected": {
                "texts": {
                  "uk-UA": null
                }
              },
              "set": {
                "texts": {
                  "uk-UA": {
                    "metaTitle": "Чайник"
                  }
                }
              }
            }
          ]
        }
      },
      "response": {
        "protocol": "1.0",
        "id": "0f8e2d6c-4b1a-4c3e-9d7f-1a2b3c4d5e6f",
        "ok": true,
        "result": {
          "items": [
            {
              "id": "42",
              "outcome": "applied",
              "before": {
                "texts": {
                  "uk-UA": null
                }
              },
              "after": {
                "texts": {
                  "uk-UA": {
                    "name": "Чайник Example",
                    "description": "<p>Електричний чайник на 1,7 л.</p>"
                  }
                }
              },
              "event": "fired"
            },
            {
              "id": "57",
              "outcome": "rejected",
              "reason": "invalid_item"
            }
          ]
        }
      }
    },
    {
      "name": "product.apply: a new main image from a link; the module names the file from the SHA-256 (illustrative; promoted 20 November 2026, decision 009)",
      "op": "product.apply",
      "request": {
        "protocol": "1.0",
        "id": "0f8e2d6c-4b1a-4c3e-9d7f-1a2b3c4d5e6f",
        "op": "product.apply",
        "params": {
          "items": [
            {
              "id": "42",
              "expected": {
                "image": {
                  "path": "catalog/demo/kettle-old.jpg"
                }
              },
              "set": {
                "image": {
                  "upload": {
                    "url": "https://api.storedeputy.example/module/images/Xq3v0D7mQ2m9h1t8Lw5cYk4RzJf6BnA2sPeUoGiVdHc",
                    "sha256": "9f2b7a64c1d83e5f0a4b6c7d8e9f0a1b2c3d4e5f60718293a4b5c6d7e8f90a1b",
                    "size": 183204,
                    "mediaType": "image/jpeg"
                  }
                }
              }
            }
          ]
        }
      },
      "response": {
        "protocol": "1.0",
        "id": "0f8e2d6c-4b1a-4c3e-9d7f-1a2b3c4d5e6f",
        "ok": true,
        "result": {
          "items": [
            {
              "id": "42",
              "outcome": "applied",
              "before": {
                "image": {
                  "path": "catalog/demo/kettle-old.jpg"
                }
              },
              "after": {
                "image": {
                  "path": "catalog/storedeputy/9f2b7a64c1d83e5f0a4b6c7d8e9f0a1b.jpg"
                }
              },
              "event": "skipped"
            }
          ]
        }
      }
    },
    {
      "name": "product.apply: additional images: add one, then reorder (the whole list in order; a { path } keeps an image, an { upload } adds one; illustrative; promoted 20 November 2026)",
      "op": "product.apply",
      "request": {
        "protocol": "1.0",
        "id": "0f8e2d6c-4b1a-4c3e-9d7f-1a2b3c4d5e6f",
        "op": "product.apply",
        "params": {
          "items": [
            {
              "id": "42",
              "expected": {
                "images": [
                  {
                    "path": "catalog/demo/a.jpg"
                  },
                  {
                    "path": "catalog/demo/b.jpg"
                  }
                ]
              },
              "set": {
                "images": [
                  {
                    "path": "catalog/demo/a.jpg"
                  },
                  {
                    "upload": {
                      "url": "https://api.storedeputy.example/module/images/Xq3v0D7mQ2m9h1t8Lw5cYk4RzJf6BnA2sPeUoGiVdHc",
                      "sha256": "9f2b7a64c1d83e5f0a4b6c7d8e9f0a1b2c3d4e5f60718293a4b5c6d7e8f90a1b",
                      "size": 183204,
                      "mediaType": "image/jpeg"
                    }
                  },
                  {
                    "path": "catalog/demo/b.jpg"
                  }
                ]
              }
            },
            {
              "id": "57",
              "expected": {
                "images": [
                  {
                    "path": "catalog/demo/c.jpg"
                  },
                  {
                    "path": "catalog/demo/d.jpg"
                  }
                ]
              },
              "set": {
                "images": [
                  {
                    "path": "catalog/demo/d.jpg"
                  },
                  {
                    "path": "catalog/demo/c.jpg"
                  }
                ]
              }
            }
          ]
        }
      },
      "response": {
        "protocol": "1.0",
        "id": "0f8e2d6c-4b1a-4c3e-9d7f-1a2b3c4d5e6f",
        "ok": true,
        "result": {
          "items": [
            {
              "id": "42",
              "outcome": "applied",
              "before": {
                "images": [
                  {
                    "path": "catalog/demo/a.jpg"
                  },
                  {
                    "path": "catalog/demo/b.jpg"
                  }
                ]
              },
              "after": {
                "images": [
                  {
                    "path": "catalog/demo/a.jpg"
                  },
                  {
                    "path": "catalog/storedeputy/9f2b7a64c1d83e5f0a4b6c7d8e9f0a1b.jpg"
                  },
                  {
                    "path": "catalog/demo/b.jpg"
                  }
                ]
              },
              "event": "skipped"
            },
            {
              "id": "57",
              "outcome": "applied",
              "before": {
                "images": [
                  {
                    "path": "catalog/demo/c.jpg"
                  },
                  {
                    "path": "catalog/demo/d.jpg"
                  }
                ]
              },
              "after": {
                "images": [
                  {
                    "path": "catalog/demo/d.jpg"
                  },
                  {
                    "path": "catalog/demo/c.jpg"
                  }
                ]
              },
              "event": "skipped"
            }
          ]
        }
      }
    },
    {
      "name": "product.apply: an additional image removed; its file stays in the shop (illustrative; promoted 20 November 2026)",
      "op": "product.apply",
      "request": {
        "protocol": "1.0",
        "id": "0f8e2d6c-4b1a-4c3e-9d7f-1a2b3c4d5e6f",
        "op": "product.apply",
        "params": {
          "items": [
            {
              "id": "42",
              "expected": {
                "images": [
                  {
                    "path": "catalog/demo/a.jpg"
                  },
                  {
                    "path": "catalog/demo/b.jpg"
                  }
                ]
              },
              "set": {
                "images": [
                  {
                    "path": "catalog/demo/a.jpg"
                  }
                ]
              }
            }
          ]
        }
      },
      "response": {
        "protocol": "1.0",
        "id": "0f8e2d6c-4b1a-4c3e-9d7f-1a2b3c4d5e6f",
        "ok": true,
        "result": {
          "items": [
            {
              "id": "42",
              "outcome": "applied",
              "before": {
                "images": [
                  {
                    "path": "catalog/demo/a.jpg"
                  },
                  {
                    "path": "catalog/demo/b.jpg"
                  }
                ]
              },
              "after": {
                "images": [
                  {
                    "path": "catalog/demo/a.jpg"
                  }
                ]
              },
              "event": "skipped"
            }
          ]
        }
      }
    },
    {
      "name": "product.apply: image refusals and a conflict: the compare comes first, before any download (illustrative; promoted 20 November 2026)",
      "op": "product.apply",
      "request": {
        "protocol": "1.0",
        "id": "0f8e2d6c-4b1a-4c3e-9d7f-1a2b3c4d5e6f",
        "op": "product.apply",
        "params": {
          "items": [
            {
              "id": "42",
              "expected": {
                "image": {
                  "path": "catalog/demo/kettle-old.jpg"
                }
              },
              "set": {
                "image": {
                  "upload": {
                    "url": "https://api.storedeputy.example/module/images/Xq3v0D7mQ2m9h1t8Lw5cYk4RzJf6BnA2sPeUoGiVdHc",
                    "sha256": "9f2b7a64c1d83e5f0a4b6c7d8e9f0a1b2c3d4e5f60718293a4b5c6d7e8f90a1b",
                    "size": 183204,
                    "mediaType": "image/jpeg"
                  }
                }
              }
            },
            {
              "id": "57",
              "expected": {
                "image": null
              },
              "set": {
                "image": {
                  "upload": {
                    "url": "https://api.storedeputy.example/module/images/Xq3v0D7mQ2m9h1t8Lw5cYk4RzJf6BnA2sPeUoGiVdHc",
                    "sha256": "9f2b7a64c1d83e5f0a4b6c7d8e9f0a1b2c3d4e5f60718293a4b5c6d7e8f90a1b",
                    "size": 183204,
                    "mediaType": "image/jpeg"
                  }
                }
              }
            },
            {
              "id": "61",
              "expected": {
                "image": null
              },
              "set": {
                "image": {
                  "path": "catalog/missing.jpg"
                }
              }
            },
            {
              "id": "64",
              "expected": {
                "image": null
              },
              "set": {
                "image": {
                  "upload": {
                    "url": "https://api.storedeputy.example/module/images/Xq3v0D7mQ2m9h1t8Lw5cYk4RzJf6BnA2sPeUoGiVdHc",
                    "sha256": "9f2b7a64c1d83e5f0a4b6c7d8e9f0a1b2c3d4e5f60718293a4b5c6d7e8f90a1b",
                    "size": 183204,
                    "mediaType": "image/jpeg"
                  }
                }
              }
            }
          ]
        }
      },
      "response": {
        "protocol": "1.0",
        "id": "0f8e2d6c-4b1a-4c3e-9d7f-1a2b3c4d5e6f",
        "ok": true,
        "result": {
          "items": [
            {
              "id": "42",
              "outcome": "conflict",
              "current": {
                "image": {
                  "path": "catalog/demo/kettle-new.jpg"
                }
              }
            },
            {
              "id": "57",
              "outcome": "rejected",
              "reason": "image_checksum_mismatch",
              "field": "image"
            },
            {
              "id": "61",
              "outcome": "rejected",
              "reason": "unknown_reference",
              "field": "image"
            },
            {
              "id": "64",
              "outcome": "failed",
              "reason": "image_download_failed",
              "field": "image"
            }
          ]
        }
      }
    },
    {
      "name": "product.apply: a link that is not on the module's own Store Deputy API (the API never sends one)",
      "op": "product.apply",
      "request": {
        "protocol": "1.0",
        "id": "0f8e2d6c-4b1a-4c3e-9d7f-1a2b3c4d5e6f",
        "op": "product.apply",
        "params": {
          "items": [
            {
              "id": "42",
              "expected": {
                "image": null
              },
              "set": {
                "image": {
                  "upload": {
                    "url": "https://elsewhere.example/module/images/Xq3v0D7mQ2m9h1t8Lw5cYk4RzJf6BnA2sPeUoGiVdHc",
                    "sha256": "9f2b7a64c1d83e5f0a4b6c7d8e9f0a1b2c3d4e5f60718293a4b5c6d7e8f90a1b",
                    "size": 183204,
                    "mediaType": "image/jpeg"
                  }
                }
              }
            }
          ]
        }
      },
      "response": {
        "protocol": "1.0",
        "id": "0f8e2d6c-4b1a-4c3e-9d7f-1a2b3c4d5e6f",
        "ok": false,
        "error": {
          "code": "invalid_params",
          "message": "An image link must be on the Store Deputy API this module is connected to.",
          "retryable": false,
          "details": {
            "field": "url"
          }
        }
      }
    },
    {
      "name": "variant.search: by SKU",
      "op": "variant.search",
      "request": {
        "protocol": "1.0",
        "id": "0f8e2d6c-4b1a-4c3e-9d7f-1a2b3c4d5e6f",
        "op": "variant.search",
        "params": {
          "identifiers": [
            {
              "type": "sku",
              "value": "TEE-RED-L"
            }
          ]
        }
      },
      "response": {
        "protocol": "1.0",
        "id": "0f8e2d6c-4b1a-4c3e-9d7f-1a2b3c4d5e6f",
        "ok": true,
        "result": {
          "results": [
            {
              "input": {
                "type": "sku",
                "value": "TEE-RED-L"
              },
              "matches": [
                {
                  "resource": "variant",
                  "id": "312",
                  "parentId": "310"
                }
              ]
            }
          ]
        }
      }
    },
    {
      "name": "variant.get: one variant",
      "op": "variant.get",
      "request": {
        "protocol": "1.0",
        "id": "0f8e2d6c-4b1a-4c3e-9d7f-1a2b3c4d5e6f",
        "op": "variant.get",
        "params": {
          "ids": [
            "312"
          ]
        }
      },
      "response": {
        "protocol": "1.0",
        "id": "0f8e2d6c-4b1a-4c3e-9d7f-1a2b3c4d5e6f",
        "ok": true,
        "result": {
          "items": [
            {
              "id": "312",
              "parentId": "310",
              "code": null,
              "sku": "TEE-RED-L",
              "gtin": "0012345678905",
              "gtins": [
                "0012345678905"
              ],
              "mpn": null,
              "attributes": {
                "Colour": "Red",
                "Size": "L"
              },
              "price": {
                "amount": "25.0000",
                "currency": "EUR",
                "includesTax": true
              },
              "priceRules": [],
              "stock": {
                "quantity": 4,
                "tracked": true
              },
              "status": "enabled",
              "createdAt": "2026-09-20T08:00:00Z",
              "updatedAt": "2026-10-01T08:00:00Z"
            }
          ],
          "missing": []
        }
      }
    },
    {
      "name": "variant.apply: a variant price, emulated condition read back",
      "op": "variant.apply",
      "request": {
        "protocol": "1.0",
        "id": "0f8e2d6c-4b1a-4c3e-9d7f-1a2b3c4d5e6f",
        "op": "variant.apply",
        "params": {
          "items": [
            {
              "id": "312",
              "expected": {
                "price": "25.0000"
              },
              "set": {
                "price": "24.0000"
              }
            }
          ]
        }
      },
      "response": {
        "protocol": "1.0",
        "id": "0f8e2d6c-4b1a-4c3e-9d7f-1a2b3c4d5e6f",
        "ok": true,
        "result": {
          "items": [
            {
              "id": "312",
              "outcome": "applied",
              "before": {
                "price": "25.0000"
              },
              "after": {
                "price": "24.0000"
              },
              "event": "skipped"
            }
          ]
        }
      }
    },
    {
      "name": "variant.apply: stock quantity moved underneath",
      "op": "variant.apply",
      "request": {
        "protocol": "1.0",
        "id": "0f8e2d6c-4b1a-4c3e-9d7f-1a2b3c4d5e6f",
        "op": "variant.apply",
        "params": {
          "items": [
            {
              "id": "312",
              "expected": {
                "stock": {
                  "quantity": 4
                }
              },
              "set": {
                "stock": {
                  "quantity": 10
                }
              }
            }
          ]
        }
      },
      "response": {
        "protocol": "1.0",
        "id": "0f8e2d6c-4b1a-4c3e-9d7f-1a2b3c4d5e6f",
        "ok": true,
        "result": {
          "items": [
            {
              "id": "312",
              "outcome": "conflict",
              "current": {
                "stock": {
                  "quantity": 3
                }
              }
            }
          ]
        }
      }
    },
    {
      "name": "optionValue.search: every option value of one product",
      "op": "optionValue.search",
      "request": {
        "protocol": "1.0",
        "id": "0f8e2d6c-4b1a-4c3e-9d7f-1a2b3c4d5e6f",
        "op": "optionValue.search",
        "params": {
          "identifiers": [
            {
              "type": "parentId",
              "value": "310"
            }
          ]
        }
      },
      "response": {
        "protocol": "1.0",
        "id": "0f8e2d6c-4b1a-4c3e-9d7f-1a2b3c4d5e6f",
        "ok": true,
        "result": {
          "results": [
            {
              "input": {
                "type": "parentId",
                "value": "310"
              },
              "matches": [
                {
                  "resource": "optionValue",
                  "id": "1041",
                  "parentId": "310"
                },
                {
                  "resource": "optionValue",
                  "id": "1042",
                  "parentId": "310"
                }
              ]
            }
          ]
        }
      }
    },
    {
      "name": "optionValue.get: one option value",
      "op": "optionValue.get",
      "request": {
        "protocol": "1.0",
        "id": "0f8e2d6c-4b1a-4c3e-9d7f-1a2b3c4d5e6f",
        "op": "optionValue.get",
        "params": {
          "ids": [
            "1042"
          ]
        }
      },
      "response": {
        "protocol": "1.0",
        "id": "0f8e2d6c-4b1a-4c3e-9d7f-1a2b3c4d5e6f",
        "ok": true,
        "result": {
          "items": [
            {
              "id": "1042",
              "parentId": "310",
              "label": "Size: L",
              "stock": {
                "quantity": 3,
                "tracked": true
              },
              "priceDelta": {
                "amount": "0.0000",
                "currency": "EUR",
                "includesTax": true
              }
            }
          ],
          "missing": []
        }
      }
    },
    {
      "name": "optionValue.apply: stock quantity applied, read back",
      "op": "optionValue.apply",
      "request": {
        "protocol": "1.0",
        "id": "0f8e2d6c-4b1a-4c3e-9d7f-1a2b3c4d5e6f",
        "op": "optionValue.apply",
        "params": {
          "items": [
            {
              "id": "1042",
              "expected": {
                "stock": {
                  "quantity": 3
                }
              },
              "set": {
                "stock": {
                  "quantity": 10
                }
              }
            }
          ]
        }
      },
      "response": {
        "protocol": "1.0",
        "id": "0f8e2d6c-4b1a-4c3e-9d7f-1a2b3c4d5e6f",
        "ok": true,
        "result": {
          "items": [
            {
              "id": "1042",
              "outcome": "applied",
              "before": {
                "stock": {
                  "quantity": 3
                }
              },
              "after": {
                "stock": {
                  "quantity": 10
                }
              },
              "event": "skipped"
            }
          ]
        }
      }
    },
    {
      "name": "optionValue.apply: quantity moved underneath",
      "op": "optionValue.apply",
      "request": {
        "protocol": "1.0",
        "id": "0f8e2d6c-4b1a-4c3e-9d7f-1a2b3c4d5e6f",
        "op": "optionValue.apply",
        "params": {
          "items": [
            {
              "id": "1042",
              "expected": {
                "stock": {
                  "quantity": 3
                }
              },
              "set": {
                "stock": {
                  "quantity": 10
                }
              }
            }
          ]
        }
      },
      "response": {
        "protocol": "1.0",
        "id": "0f8e2d6c-4b1a-4c3e-9d7f-1a2b3c4d5e6f",
        "ok": true,
        "result": {
          "items": [
            {
              "id": "1042",
              "outcome": "conflict",
              "current": {
                "stock": {
                  "quantity": 2
                }
              }
            }
          ]
        }
      }
    },
    {
      "name": "optionValue.apply: stop counting a value's stock",
      "op": "optionValue.apply",
      "request": {
        "protocol": "1.0",
        "id": "0f8e2d6c-4b1a-4c3e-9d7f-1a2b3c4d5e6f",
        "op": "optionValue.apply",
        "params": {
          "items": [
            {
              "id": "1042",
              "expected": {
                "tracked": true
              },
              "set": {
                "tracked": false
              }
            }
          ]
        }
      },
      "response": {
        "protocol": "1.0",
        "id": "0f8e2d6c-4b1a-4c3e-9d7f-1a2b3c4d5e6f",
        "ok": true,
        "result": {
          "items": [
            {
              "id": "1042",
              "outcome": "applied",
              "before": {
                "tracked": true
              },
              "after": {
                "tracked": false
              },
              "event": "skipped"
            }
          ]
        }
      }
    },
    {
      "name": "category.search: two categories named Mugs",
      "op": "category.search",
      "request": {
        "protocol": "1.0",
        "id": "0f8e2d6c-4b1a-4c3e-9d7f-1a2b3c4d5e6f",
        "op": "category.search",
        "params": {
          "identifiers": [
            {
              "type": "name",
              "value": "Mugs"
            }
          ]
        }
      },
      "response": {
        "protocol": "1.0",
        "id": "0f8e2d6c-4b1a-4c3e-9d7f-1a2b3c4d5e6f",
        "ok": true,
        "result": {
          "results": [
            {
              "input": {
                "type": "name",
                "value": "Mugs"
              },
              "matches": [
                {
                  "resource": "category",
                  "id": "20"
                },
                {
                  "resource": "category",
                  "id": "34"
                }
              ]
            }
          ]
        }
      }
    },
    {
      "name": "category.get: one category",
      "op": "category.get",
      "request": {
        "protocol": "1.0",
        "id": "0f8e2d6c-4b1a-4c3e-9d7f-1a2b3c4d5e6f",
        "op": "category.get",
        "params": {
          "ids": [
            "20"
          ]
        }
      },
      "response": {
        "protocol": "1.0",
        "id": "0f8e2d6c-4b1a-4c3e-9d7f-1a2b3c4d5e6f",
        "ok": true,
        "result": {
          "items": [
            {
              "id": "20",
              "name": "Mugs",
              "parentId": "18",
              "status": "enabled",
              "storefrontIds": [
                "0"
              ],
              "createdAt": "2026-03-02T08:20:00Z",
              "updatedAt": "2026-09-12T09:00:00Z"
            }
          ],
          "missing": []
        }
      }
    },
    {
      "name": "category.get: images requested (illustrative; promoted 20 November 2026)",
      "op": "category.get",
      "request": {
        "protocol": "1.0",
        "id": "0f8e2d6c-4b1a-4c3e-9d7f-1a2b3c4d5e6f",
        "op": "category.get",
        "params": {
          "ids": [
            "20"
          ],
          "include": [
            "images"
          ]
        }
      },
      "response": {
        "protocol": "1.0",
        "id": "0f8e2d6c-4b1a-4c3e-9d7f-1a2b3c4d5e6f",
        "ok": true,
        "result": {
          "items": [
            {
              "id": "20",
              "name": "Mugs",
              "parentId": "18",
              "status": "enabled",
              "storefrontIds": [
                "0"
              ],
              "createdAt": "2026-03-02T08:20:00Z",
              "updatedAt": "2026-09-12T09:00:00Z",
              "image": {
                "path": "catalog/demo/mugs.jpg",
                "url": "http://shop.example/image/catalog/demo/mugs.jpg"
              }
            }
          ],
          "missing": []
        }
      }
    },
    {
      "name": "category.list: the whole tree in one page",
      "op": "category.list",
      "request": {
        "protocol": "1.0",
        "id": "0f8e2d6c-4b1a-4c3e-9d7f-1a2b3c4d5e6f",
        "op": "category.list",
        "params": {
          "limit": 500
        }
      },
      "response": {
        "protocol": "1.0",
        "id": "0f8e2d6c-4b1a-4c3e-9d7f-1a2b3c4d5e6f",
        "ok": true,
        "result": {
          "items": [
            {
              "id": "18",
              "name": "Kitchen",
              "parentId": null,
              "status": "enabled",
              "storefrontIds": [
                "0"
              ],
              "createdAt": "2026-03-02T08:15:00Z",
              "updatedAt": "2026-09-12T09:00:00Z"
            },
            {
              "id": "20",
              "name": "Mugs",
              "parentId": "18",
              "status": "enabled",
              "storefrontIds": [
                "0"
              ],
              "createdAt": "2026-03-02T08:20:00Z",
              "updatedAt": "2026-09-12T09:00:00Z"
            }
          ],
          "nextCursor": null
        }
      }
    },
    {
      "name": "category.query: disabled categories under Kitchen, newest first",
      "op": "category.query",
      "request": {
        "protocol": "1.0",
        "id": "0f8e2d6c-4b1a-4c3e-9d7f-1a2b3c4d5e6f",
        "op": "category.query",
        "params": {
          "filters": [
            {
              "type": "status",
              "value": "disabled"
            },
            {
              "type": "parentId",
              "value": "18"
            }
          ],
          "sort": "createdAt",
          "order": "desc"
        }
      },
      "response": {
        "protocol": "1.0",
        "id": "0f8e2d6c-4b1a-4c3e-9d7f-1a2b3c4d5e6f",
        "ok": true,
        "result": {
          "items": [
            {
              "id": "34",
              "name": "Bottles",
              "parentId": "18",
              "status": "disabled",
              "storefrontIds": [
                "0",
                "1"
              ],
              "createdAt": "2026-08-20T11:00:00Z",
              "updatedAt": "2026-10-02T14:30:00Z"
            }
          ],
          "itemCount": 1,
          "page": 1,
          "pageCount": 1
        }
      }
    },
    {
      "name": "category.query: name contains mug, by name from Z to A",
      "op": "category.query",
      "request": {
        "protocol": "1.0",
        "id": "0f8e2d6c-4b1a-4c3e-9d7f-1a2b3c4d5e6f",
        "op": "category.query",
        "params": {
          "filters": [
            {
              "type": "name",
              "value": "mug"
            }
          ],
          "sort": "name",
          "order": "desc",
          "limit": 2
        }
      },
      "response": {
        "protocol": "1.0",
        "id": "0f8e2d6c-4b1a-4c3e-9d7f-1a2b3c4d5e6f",
        "ok": true,
        "result": {
          "items": [
            {
              "id": "41",
              "name": "Travel mugs",
              "parentId": "20",
              "status": "disabled",
              "storefrontIds": [
                "1"
              ],
              "createdAt": "2026-09-30T16:45:00Z",
              "updatedAt": "2026-10-01T10:00:00Z"
            },
            {
              "id": "20",
              "name": "Mugs",
              "parentId": "18",
              "status": "enabled",
              "storefrontIds": [
                "0"
              ],
              "createdAt": "2026-03-02T08:20:00Z",
              "updatedAt": "2026-09-12T09:00:00Z"
            }
          ],
          "itemCount": 2,
          "page": 1,
          "pageCount": 1
        }
      }
    },
    {
      "name": "category.query: created in March or in September",
      "op": "category.query",
      "request": {
        "protocol": "1.0",
        "id": "0f8e2d6c-4b1a-4c3e-9d7f-1a2b3c4d5e6f",
        "op": "category.query",
        "params": {
          "filters": [
            {
              "type": "createdAt",
              "value": {
                "from": "2026-03-01T00:00:00Z",
                "to": "2026-03-31T23:59:59Z"
              }
            },
            {
              "type": "createdAt",
              "value": {
                "from": "2026-09-01T00:00:00Z",
                "to": "2026-09-30T23:59:59Z"
              }
            }
          ],
          "sort": "createdAt"
        }
      },
      "response": {
        "protocol": "1.0",
        "id": "0f8e2d6c-4b1a-4c3e-9d7f-1a2b3c4d5e6f",
        "ok": true,
        "result": {
          "items": [
            {
              "id": "18",
              "name": "Kitchen",
              "parentId": null,
              "status": "enabled",
              "storefrontIds": [
                "0"
              ],
              "createdAt": "2026-03-02T08:15:00Z",
              "updatedAt": "2026-09-12T09:00:00Z"
            },
            {
              "id": "20",
              "name": "Mugs",
              "parentId": "18",
              "status": "enabled",
              "storefrontIds": [
                "0"
              ],
              "createdAt": "2026-03-02T08:20:00Z",
              "updatedAt": "2026-09-12T09:00:00Z"
            },
            {
              "id": "41",
              "name": "Travel mugs",
              "parentId": "20",
              "status": "disabled",
              "storefrontIds": [
                "1"
              ],
              "createdAt": "2026-09-30T16:45:00Z",
              "updatedAt": "2026-10-01T10:00:00Z"
            }
          ],
          "itemCount": 3,
          "page": 1,
          "pageCount": 1
        }
      }
    },
    {
      "name": "category.query: top-level categories changed in September on storefront 0",
      "op": "category.query",
      "request": {
        "protocol": "1.0",
        "id": "0f8e2d6c-4b1a-4c3e-9d7f-1a2b3c4d5e6f",
        "op": "category.query",
        "params": {
          "filters": [
            {
              "type": "parentId",
              "value": null
            },
            {
              "type": "storefrontId",
              "value": "0"
            },
            {
              "type": "updatedAt",
              "value": {
                "from": "2026-09-01T00:00:00Z",
                "to": "2026-09-30T23:59:59Z"
              }
            }
          ]
        }
      },
      "response": {
        "protocol": "1.0",
        "id": "0f8e2d6c-4b1a-4c3e-9d7f-1a2b3c4d5e6f",
        "ok": true,
        "result": {
          "items": [
            {
              "id": "18",
              "name": "Kitchen",
              "parentId": null,
              "status": "enabled",
              "storefrontIds": [
                "0"
              ],
              "createdAt": "2026-03-02T08:15:00Z",
              "updatedAt": "2026-09-12T09:00:00Z"
            }
          ],
          "itemCount": 1,
          "page": 1,
          "pageCount": 1
        }
      }
    },
    {
      "name": "category.query: a page past the end",
      "op": "category.query",
      "request": {
        "protocol": "1.0",
        "id": "0f8e2d6c-4b1a-4c3e-9d7f-1a2b3c4d5e6f",
        "op": "category.query",
        "params": {
          "page": 3,
          "limit": 2
        }
      },
      "response": {
        "protocol": "1.0",
        "id": "0f8e2d6c-4b1a-4c3e-9d7f-1a2b3c4d5e6f",
        "ok": true,
        "result": {
          "items": [],
          "itemCount": 4,
          "page": 3,
          "pageCount": 2
        }
      }
    },
    {
      "name": "category.apply: moved to the top level",
      "op": "category.apply",
      "request": {
        "protocol": "1.0",
        "id": "0f8e2d6c-4b1a-4c3e-9d7f-1a2b3c4d5e6f",
        "op": "category.apply",
        "params": {
          "items": [
            {
              "id": "20",
              "expected": {
                "parentId": "18"
              },
              "set": {
                "parentId": null
              }
            }
          ]
        }
      },
      "response": {
        "protocol": "1.0",
        "id": "0f8e2d6c-4b1a-4c3e-9d7f-1a2b3c4d5e6f",
        "ok": true,
        "result": {
          "items": [
            {
              "id": "20",
              "outcome": "applied",
              "before": {
                "parentId": "18"
              },
              "after": {
                "parentId": null
              },
              "event": "fired"
            }
          ]
        }
      }
    },
    {
      "name": "category.apply: a category image from a link, and one removed (illustrative; promoted 20 November 2026, decision 009)",
      "op": "category.apply",
      "request": {
        "protocol": "1.0",
        "id": "0f8e2d6c-4b1a-4c3e-9d7f-1a2b3c4d5e6f",
        "op": "category.apply",
        "params": {
          "items": [
            {
              "id": "20",
              "expected": {
                "image": {
                  "path": "catalog/demo/mugs.jpg"
                }
              },
              "set": {
                "image": {
                  "upload": {
                    "url": "https://api.storedeputy.example/module/images/Xq3v0D7mQ2m9h1t8Lw5cYk4RzJf6BnA2sPeUoGiVdHc",
                    "sha256": "9f2b7a64c1d83e5f0a4b6c7d8e9f0a1b2c3d4e5f60718293a4b5c6d7e8f90a1b",
                    "size": 183204,
                    "mediaType": "image/jpeg"
                  }
                }
              }
            },
            {
              "id": "24",
              "expected": {
                "image": {
                  "path": "catalog/demo/cups.jpg"
                }
              },
              "set": {
                "image": null
              }
            }
          ]
        }
      },
      "response": {
        "protocol": "1.0",
        "id": "0f8e2d6c-4b1a-4c3e-9d7f-1a2b3c4d5e6f",
        "ok": true,
        "result": {
          "items": [
            {
              "id": "20",
              "outcome": "applied",
              "before": {
                "image": {
                  "path": "catalog/demo/mugs.jpg"
                }
              },
              "after": {
                "image": {
                  "path": "catalog/storedeputy/9f2b7a64c1d83e5f0a4b6c7d8e9f0a1b.jpg"
                }
              },
              "event": "skipped"
            },
            {
              "id": "24",
              "outcome": "applied",
              "before": {
                "image": {
                  "path": "catalog/demo/cups.jpg"
                }
              },
              "after": {
                "image": null
              },
              "event": "skipped"
            }
          ]
        }
      }
    },
    {
      "name": "manufacturer.search: by name",
      "op": "manufacturer.search",
      "request": {
        "protocol": "1.0",
        "id": "0f8e2d6c-4b1a-4c3e-9d7f-1a2b3c4d5e6f",
        "op": "manufacturer.search",
        "params": {
          "identifiers": [
            {
              "type": "name",
              "value": "Acme"
            }
          ]
        }
      },
      "response": {
        "protocol": "1.0",
        "id": "0f8e2d6c-4b1a-4c3e-9d7f-1a2b3c4d5e6f",
        "ok": true,
        "result": {
          "results": [
            {
              "input": {
                "type": "name",
                "value": "Acme"
              },
              "matches": [
                {
                  "resource": "manufacturer",
                  "id": "8"
                }
              ]
            }
          ]
        }
      }
    },
    {
      "name": "manufacturer.get: one brand, no modification time on OpenCart",
      "op": "manufacturer.get",
      "request": {
        "protocol": "1.0",
        "id": "0f8e2d6c-4b1a-4c3e-9d7f-1a2b3c4d5e6f",
        "op": "manufacturer.get",
        "params": {
          "ids": [
            "8"
          ]
        }
      },
      "response": {
        "protocol": "1.0",
        "id": "0f8e2d6c-4b1a-4c3e-9d7f-1a2b3c4d5e6f",
        "ok": true,
        "result": {
          "items": [
            {
              "id": "8",
              "name": "Acme"
            }
          ],
          "missing": []
        }
      }
    },
    {
      "name": "manufacturer.list: one page",
      "op": "manufacturer.list",
      "request": {
        "protocol": "1.0",
        "id": "0f8e2d6c-4b1a-4c3e-9d7f-1a2b3c4d5e6f",
        "op": "manufacturer.list",
        "params": {
          "limit": 100
        }
      },
      "response": {
        "protocol": "1.0",
        "id": "0f8e2d6c-4b1a-4c3e-9d7f-1a2b3c4d5e6f",
        "ok": true,
        "result": {
          "items": [
            {
              "id": "8",
              "name": "Acme"
            }
          ],
          "nextCursor": null
        }
      }
    },
    {
      "name": "manufacturer.query: names containing acme, from Z to A",
      "op": "manufacturer.query",
      "request": {
        "protocol": "1.0",
        "id": "0f8e2d6c-4b1a-4c3e-9d7f-1a2b3c4d5e6f",
        "op": "manufacturer.query",
        "params": {
          "filters": [
            {
              "type": "name",
              "value": "acme"
            }
          ],
          "sort": "name",
          "order": "desc"
        }
      },
      "response": {
        "protocol": "1.0",
        "id": "0f8e2d6c-4b1a-4c3e-9d7f-1a2b3c4d5e6f",
        "ok": true,
        "result": {
          "items": [
            {
              "id": "12",
              "name": "Acme Tools"
            },
            {
              "id": "8",
              "name": "Acme"
            }
          ],
          "itemCount": 2,
          "page": 1,
          "pageCount": 1
        }
      }
    },
    {
      "name": "manufacturer.query: every manufacturer by name, second page of 50",
      "op": "manufacturer.query",
      "request": {
        "protocol": "1.0",
        "id": "0f8e2d6c-4b1a-4c3e-9d7f-1a2b3c4d5e6f",
        "op": "manufacturer.query",
        "params": {
          "sort": "name",
          "page": 2,
          "limit": 50
        }
      },
      "response": {
        "protocol": "1.0",
        "id": "0f8e2d6c-4b1a-4c3e-9d7f-1a2b3c4d5e6f",
        "ok": true,
        "result": {
          "items": [],
          "itemCount": 37,
          "page": 2,
          "pageCount": 1
        }
      }
    },
    {
      "name": "order.search: by number",
      "op": "order.search",
      "request": {
        "protocol": "1.0",
        "id": "0f8e2d6c-4b1a-4c3e-9d7f-1a2b3c4d5e6f",
        "op": "order.search",
        "params": {
          "identifiers": [
            {
              "type": "number",
              "value": "1001"
            }
          ]
        }
      },
      "response": {
        "protocol": "1.0",
        "id": "0f8e2d6c-4b1a-4c3e-9d7f-1a2b3c4d5e6f",
        "ok": true,
        "result": {
          "results": [
            {
              "input": {
                "type": "number",
                "value": "1001"
              },
              "matches": [
                {
                  "resource": "order",
                  "id": "1001"
                }
              ]
            }
          ]
        }
      }
    },
    {
      "name": "order.get: one order",
      "op": "order.get",
      "request": {
        "protocol": "1.0",
        "id": "0f8e2d6c-4b1a-4c3e-9d7f-1a2b3c4d5e6f",
        "op": "order.get",
        "params": {
          "ids": [
            "1001"
          ]
        }
      },
      "response": {
        "protocol": "1.0",
        "id": "0f8e2d6c-4b1a-4c3e-9d7f-1a2b3c4d5e6f",
        "ok": true,
        "result": {
          "items": [
            {
              "id": "1001",
              "number": "1001",
              "status": {
                "id": "2",
                "name": "Processing",
                "kind": "processing"
              },
              "currency": "EUR",
              "total": "41.5000",
              "currencyRate": "1.00000000",
              "lines": [
                {
                  "productId": "42",
                  "variantId": null,
                  "code": "KTL-100",
                  "sku": "AB-100",
                  "name": "Example kettle",
                  "quantity": 2,
                  "unitPrice": "19.9900",
                  "total": "39.9800"
                }
              ],
              "totalLines": [
                {
                  "kind": "subtotal",
                  "code": "sub_total",
                  "title": "Sub-Total",
                  "value": "39.9800"
                },
                {
                  "kind": "shipping",
                  "code": "shipping",
                  "title": "Flat Shipping Rate",
                  "value": "5.0000"
                },
                {
                  "kind": "discount",
                  "code": "coupon",
                  "title": "Coupon (SAVE10)",
                  "value": "-3.4800"
                },
                {
                  "kind": "total",
                  "code": "total",
                  "title": "Total",
                  "value": "41.5000"
                }
              ],
              "paymentMethod": {
                "code": "bank_transfer",
                "name": "Bank Transfer"
              },
              "shippingMethod": {
                "code": "flat.flat",
                "name": "Flat Shipping Rate"
              },
              "customerId": "7",
              "customerGroupId": "1",
              "customerFirstName": "Ada",
              "customerLastName": "Example",
              "customerEmail": "buyer@example.com",
              "customerTelephone": "+49 30 1234567",
              "customerComment": "Please leave the parcel with the neighbour at number 3.",
              "storefrontId": "0",
              "createdAt": "2026-10-07T14:03:00Z",
              "updatedAt": "2026-10-07T14:03:00Z"
            }
          ],
          "missing": []
        }
      }
    },
    {
      "name": "order.list: nothing changed since",
      "op": "order.list",
      "request": {
        "protocol": "1.0",
        "id": "0f8e2d6c-4b1a-4c3e-9d7f-1a2b3c4d5e6f",
        "op": "order.list",
        "params": {
          "limit": 100,
          "updatedSince": "2026-10-08T00:00:00Z"
        }
      },
      "response": {
        "protocol": "1.0",
        "id": "0f8e2d6c-4b1a-4c3e-9d7f-1a2b3c4d5e6f",
        "ok": true,
        "result": {
          "items": [],
          "nextCursor": null
        }
      }
    },
    {
      "name": "order.query: processing orders of Ada Example, newest first",
      "op": "order.query",
      "request": {
        "protocol": "1.0",
        "id": "0f8e2d6c-4b1a-4c3e-9d7f-1a2b3c4d5e6f",
        "op": "order.query",
        "params": {
          "filters": [
            {
              "type": "customerName",
              "value": "example ada"
            },
            {
              "type": "orderStatusId",
              "value": "2"
            }
          ],
          "sort": "createdAt",
          "order": "desc"
        }
      },
      "response": {
        "protocol": "1.0",
        "id": "0f8e2d6c-4b1a-4c3e-9d7f-1a2b3c4d5e6f",
        "ok": true,
        "result": {
          "items": [
            {
              "id": "1001",
              "number": "1001",
              "status": {
                "id": "2",
                "name": "Processing",
                "kind": "processing"
              },
              "currency": "EUR",
              "total": "41.5000",
              "currencyRate": "1.00000000",
              "lines": [
                {
                  "productId": "42",
                  "variantId": null,
                  "code": "KTL-100",
                  "sku": "AB-100",
                  "name": "Example kettle",
                  "quantity": 2,
                  "unitPrice": "19.9900",
                  "total": "39.9800"
                }
              ],
              "totalLines": [
                {
                  "kind": "subtotal",
                  "code": "sub_total",
                  "title": "Sub-Total",
                  "value": "39.9800"
                },
                {
                  "kind": "shipping",
                  "code": "shipping",
                  "title": "Flat Shipping Rate",
                  "value": "5.0000"
                },
                {
                  "kind": "discount",
                  "code": "coupon",
                  "title": "Coupon (SAVE10)",
                  "value": "-3.4800"
                },
                {
                  "kind": "total",
                  "code": "total",
                  "title": "Total",
                  "value": "41.5000"
                }
              ],
              "paymentMethod": {
                "code": "bank_transfer",
                "name": "Bank Transfer"
              },
              "shippingMethod": {
                "code": "flat.flat",
                "name": "Flat Shipping Rate"
              },
              "customerId": "7",
              "customerGroupId": "1",
              "customerFirstName": "Ada",
              "customerLastName": "Example",
              "customerEmail": "buyer@example.com",
              "customerTelephone": "+49 30 1234567",
              "storefrontId": "0",
              "createdAt": "2026-10-07T14:03:00Z",
              "updatedAt": "2026-10-07T14:03:00Z"
            }
          ],
          "itemCount": 1,
          "page": 1,
          "pageCount": 1
        }
      }
    },
    {
      "name": "order.query: orders of 20 to 50 placed in October, by status name",
      "op": "order.query",
      "request": {
        "protocol": "1.0",
        "id": "0f8e2d6c-4b1a-4c3e-9d7f-1a2b3c4d5e6f",
        "op": "order.query",
        "params": {
          "filters": [
            {
              "type": "total",
              "value": {
                "min": "20",
                "max": "50"
              }
            },
            {
              "type": "createdAt",
              "value": {
                "from": "2026-10-01T00:00:00Z",
                "to": "2026-10-31T23:59:59Z"
              }
            }
          ],
          "sort": "orderStatus"
        }
      },
      "response": {
        "protocol": "1.0",
        "id": "0f8e2d6c-4b1a-4c3e-9d7f-1a2b3c4d5e6f",
        "ok": true,
        "result": {
          "items": [
            {
              "id": "1001",
              "number": "1001",
              "status": {
                "id": "2",
                "name": "Processing",
                "kind": "processing"
              },
              "currency": "EUR",
              "total": "41.5000",
              "currencyRate": "1.00000000",
              "lines": [
                {
                  "productId": "42",
                  "variantId": null,
                  "code": "KTL-100",
                  "sku": "AB-100",
                  "name": "Example kettle",
                  "quantity": 2,
                  "unitPrice": "19.9900",
                  "total": "39.9800"
                }
              ],
              "totalLines": [
                {
                  "kind": "subtotal",
                  "code": "sub_total",
                  "title": "Sub-Total",
                  "value": "39.9800"
                },
                {
                  "kind": "shipping",
                  "code": "shipping",
                  "title": "Flat Shipping Rate",
                  "value": "5.0000"
                },
                {
                  "kind": "discount",
                  "code": "coupon",
                  "title": "Coupon (SAVE10)",
                  "value": "-3.4800"
                },
                {
                  "kind": "total",
                  "code": "total",
                  "title": "Total",
                  "value": "41.5000"
                }
              ],
              "paymentMethod": {
                "code": "bank_transfer",
                "name": "Bank Transfer"
              },
              "shippingMethod": {
                "code": "flat.flat",
                "name": "Flat Shipping Rate"
              },
              "customerId": "7",
              "customerGroupId": "1",
              "customerFirstName": "Ada",
              "customerLastName": "Example",
              "customerEmail": "buyer@example.com",
              "customerTelephone": "+49 30 1234567",
              "storefrontId": "0",
              "createdAt": "2026-10-07T14:03:00Z",
              "updatedAt": "2026-10-07T14:03:00Z"
            }
          ],
          "itemCount": 1,
          "page": 1,
          "pageCount": 1
        }
      }
    },
    {
      "name": "order.apply: processing to completed",
      "op": "order.apply",
      "request": {
        "protocol": "1.0",
        "id": "0f8e2d6c-4b1a-4c3e-9d7f-1a2b3c4d5e6f",
        "op": "order.apply",
        "params": {
          "items": [
            {
              "id": "1001",
              "expected": {
                "status": {
                  "id": "2"
                }
              },
              "set": {
                "status": {
                  "id": "5"
                }
              }
            }
          ]
        }
      },
      "response": {
        "protocol": "1.0",
        "id": "0f8e2d6c-4b1a-4c3e-9d7f-1a2b3c4d5e6f",
        "ok": true,
        "result": {
          "items": [
            {
              "id": "1001",
              "outcome": "applied",
              "before": {
                "status": {
                  "id": "2"
                }
              },
              "after": {
                "status": {
                  "id": "5"
                }
              },
              "event": "fired"
            }
          ]
        }
      }
    },
    {
      "name": "order.apply: a history entry appended; a newer entry exists",
      "op": "order.apply",
      "request": {
        "protocol": "1.0",
        "id": "0f8e2d6c-4b1a-4c3e-9d7f-1a2b3c4d5e6f",
        "op": "order.apply",
        "params": {
          "items": [
            {
              "id": "88",
              "expected": {
                "history": {
                  "lastEntryId": "310"
                }
              },
              "set": {
                "history": {
                  "comment": "Your parcel is on its way, tracking 1Z999.",
                  "notify": true
                }
              }
            },
            {
              "id": "89",
              "expected": {
                "history": {
                  "lastEntryId": "320"
                }
              },
              "set": {
                "history": {
                  "comment": "Thank you for your order.",
                  "notify": false
                }
              }
            }
          ]
        }
      },
      "response": {
        "protocol": "1.0",
        "id": "0f8e2d6c-4b1a-4c3e-9d7f-1a2b3c4d5e6f",
        "ok": true,
        "result": {
          "items": [
            {
              "id": "88",
              "outcome": "applied",
              "before": {
                "history": {
                  "lastEntryId": "310"
                }
              },
              "after": {
                "history": {
                  "lastEntryId": "333",
                  "comment": "Your parcel is on its way, tracking 1Z999.",
                  "notify": true
                }
              },
              "event": "skipped"
            },
            {
              "id": "89",
              "outcome": "conflict",
              "current": {
                "history": {
                  "lastEntryId": "325"
                }
              }
            }
          ]
        }
      }
    },
    {
      "name": "orderStatus.search: by name",
      "op": "orderStatus.search",
      "request": {
        "protocol": "1.0",
        "id": "0f8e2d6c-4b1a-4c3e-9d7f-1a2b3c4d5e6f",
        "op": "orderStatus.search",
        "params": {
          "identifiers": [
            {
              "type": "name",
              "value": "processing"
            }
          ]
        }
      },
      "response": {
        "protocol": "1.0",
        "id": "0f8e2d6c-4b1a-4c3e-9d7f-1a2b3c4d5e6f",
        "ok": true,
        "result": {
          "results": [
            {
              "input": {
                "type": "name",
                "value": "processing"
              },
              "matches": [
                {
                  "resource": "orderStatus",
                  "id": "2"
                }
              ]
            }
          ]
        }
      }
    },
    {
      "name": "orderStatus.get: one status",
      "op": "orderStatus.get",
      "request": {
        "protocol": "1.0",
        "id": "0f8e2d6c-4b1a-4c3e-9d7f-1a2b3c4d5e6f",
        "op": "orderStatus.get",
        "params": {
          "ids": [
            "2"
          ]
        }
      },
      "response": {
        "protocol": "1.0",
        "id": "0f8e2d6c-4b1a-4c3e-9d7f-1a2b3c4d5e6f",
        "ok": true,
        "result": {
          "items": [
            {
              "id": "2",
              "name": "Processing"
            }
          ],
          "missing": []
        }
      }
    },
    {
      "name": "orderStatus.list: every status in one page",
      "op": "orderStatus.list",
      "request": {
        "protocol": "1.0",
        "id": "0f8e2d6c-4b1a-4c3e-9d7f-1a2b3c4d5e6f",
        "op": "orderStatus.list",
        "params": {
          "limit": 100
        }
      },
      "response": {
        "protocol": "1.0",
        "id": "0f8e2d6c-4b1a-4c3e-9d7f-1a2b3c4d5e6f",
        "ok": true,
        "result": {
          "items": [
            {
              "id": "1",
              "name": "Pending"
            },
            {
              "id": "2",
              "name": "Processing"
            },
            {
              "id": "5",
              "name": "Complete"
            }
          ],
          "nextCursor": null
        }
      }
    },
    {
      "name": "orderStatus.query: names containing pend, by name",
      "op": "orderStatus.query",
      "request": {
        "protocol": "1.0",
        "id": "0f8e2d6c-4b1a-4c3e-9d7f-1a2b3c4d5e6f",
        "op": "orderStatus.query",
        "params": {
          "filters": [
            {
              "type": "name",
              "value": "pend"
            }
          ],
          "sort": "name"
        }
      },
      "response": {
        "protocol": "1.0",
        "id": "0f8e2d6c-4b1a-4c3e-9d7f-1a2b3c4d5e6f",
        "ok": true,
        "result": {
          "items": [
            {
              "id": "1",
              "name": "Pending"
            }
          ],
          "itemCount": 1,
          "page": 1,
          "pageCount": 1
        }
      }
    },
    {
      "name": "orderPaymentAddress.get: the payment address of order 1001",
      "op": "orderPaymentAddress.get",
      "request": {
        "protocol": "1.0",
        "id": "0f8e2d6c-4b1a-4c3e-9d7f-1a2b3c4d5e6f",
        "op": "orderPaymentAddress.get",
        "params": {
          "ids": [
            "1001"
          ]
        }
      },
      "response": {
        "protocol": "1.0",
        "id": "0f8e2d6c-4b1a-4c3e-9d7f-1a2b3c4d5e6f",
        "ok": true,
        "result": {
          "items": [
            {
              "id": "1001",
              "firstName": "Ada",
              "lastName": "Example",
              "company": null,
              "address1": "1 Example Street",
              "address2": null,
              "city": "Berlin",
              "postcode": "10115",
              "country": "Germany",
              "countryCode": "DE",
              "zone": "Berlin",
              "zoneCode": "BER"
            }
          ],
          "missing": []
        }
      }
    },
    {
      "name": "orderShippingAddress.get: order 1001 shipped to the office, order 1002 needed no shipping",
      "op": "orderShippingAddress.get",
      "request": {
        "protocol": "1.0",
        "id": "0f8e2d6c-4b1a-4c3e-9d7f-1a2b3c4d5e6f",
        "op": "orderShippingAddress.get",
        "params": {
          "ids": [
            "1001",
            "1002"
          ]
        }
      },
      "response": {
        "protocol": "1.0",
        "id": "0f8e2d6c-4b1a-4c3e-9d7f-1a2b3c4d5e6f",
        "ok": true,
        "result": {
          "items": [
            {
              "id": "1001",
              "firstName": "Ada",
              "lastName": "Example",
              "company": "Example GmbH",
              "address1": "1 Example Street",
              "address2": null,
              "city": "Berlin",
              "postcode": "10115",
              "country": "Germany",
              "countryCode": "DE",
              "zone": "Berlin",
              "zoneCode": "BER"
            }
          ],
          "missing": [
            "1002"
          ]
        }
      }
    },
    {
      "name": "customer.search: by email",
      "op": "customer.search",
      "request": {
        "protocol": "1.0",
        "id": "0f8e2d6c-4b1a-4c3e-9d7f-1a2b3c4d5e6f",
        "op": "customer.search",
        "params": {
          "identifiers": [
            {
              "type": "email",
              "value": "buyer@example.com"
            }
          ]
        }
      },
      "response": {
        "protocol": "1.0",
        "id": "0f8e2d6c-4b1a-4c3e-9d7f-1a2b3c4d5e6f",
        "ok": true,
        "result": {
          "results": [
            {
              "input": {
                "type": "email",
                "value": "buyer@example.com"
              },
              "matches": [
                {
                  "resource": "customer",
                  "id": "7"
                }
              ]
            }
          ]
        }
      }
    },
    {
      "name": "customer.search: by telephone, written differently",
      "op": "customer.search",
      "request": {
        "protocol": "1.0",
        "id": "0f8e2d6c-4b1a-4c3e-9d7f-1a2b3c4d5e6f",
        "op": "customer.search",
        "params": {
          "identifiers": [
            {
              "type": "telephone",
              "value": "+49 (30) 1234-567"
            }
          ]
        }
      },
      "response": {
        "protocol": "1.0",
        "id": "0f8e2d6c-4b1a-4c3e-9d7f-1a2b3c4d5e6f",
        "ok": true,
        "result": {
          "results": [
            {
              "input": {
                "type": "telephone",
                "value": "+49 (30) 1234-567"
              },
              "matches": [
                {
                  "resource": "customer",
                  "id": "7"
                }
              ]
            }
          ]
        }
      }
    },
    {
      "name": "customer.get: one customer",
      "op": "customer.get",
      "request": {
        "protocol": "1.0",
        "id": "0f8e2d6c-4b1a-4c3e-9d7f-1a2b3c4d5e6f",
        "op": "customer.get",
        "params": {
          "ids": [
            "7"
          ]
        }
      },
      "response": {
        "protocol": "1.0",
        "id": "0f8e2d6c-4b1a-4c3e-9d7f-1a2b3c4d5e6f",
        "ok": true,
        "result": {
          "items": [
            {
              "id": "7",
              "email": "buyer@example.com",
              "telephone": "+49 30 1234567",
              "firstName": "Ada",
              "lastName": "Example",
              "status": "enabled",
              "customerGroupId": "1",
              "addressIds": [
                "15",
                "16"
              ],
              "defaultAddressId": "15",
              "createdAt": "2026-03-01T10:00:00Z",
              "updatedAt": "2026-10-07T14:03:00Z"
            }
          ],
          "missing": []
        }
      }
    },
    {
      "name": "customer.list: one page",
      "op": "customer.list",
      "request": {
        "protocol": "1.0",
        "id": "0f8e2d6c-4b1a-4c3e-9d7f-1a2b3c4d5e6f",
        "op": "customer.list",
        "params": {
          "limit": 100
        }
      },
      "response": {
        "protocol": "1.0",
        "id": "0f8e2d6c-4b1a-4c3e-9d7f-1a2b3c4d5e6f",
        "ok": true,
        "result": {
          "items": [
            {
              "id": "7",
              "email": "buyer@example.com",
              "telephone": "+49 30 1234567",
              "firstName": "Ada",
              "lastName": "Example",
              "status": "enabled",
              "customerGroupId": "1",
              "addressIds": [
                "15",
                "16"
              ],
              "defaultAddressId": "15",
              "createdAt": "2026-03-01T10:00:00Z",
              "updatedAt": "2026-10-07T14:03:00Z"
            }
          ],
          "nextCursor": null
        }
      }
    },
    {
      "name": "customer.query: enabled wholesale customers named Ada, by name",
      "op": "customer.query",
      "request": {
        "protocol": "1.0",
        "id": "0f8e2d6c-4b1a-4c3e-9d7f-1a2b3c4d5e6f",
        "op": "customer.query",
        "params": {
          "filters": [
            {
              "type": "name",
              "value": "example ada"
            },
            {
              "type": "status",
              "value": "enabled"
            },
            {
              "type": "customerGroupId",
              "value": "1"
            }
          ],
          "sort": "name"
        }
      },
      "response": {
        "protocol": "1.0",
        "id": "0f8e2d6c-4b1a-4c3e-9d7f-1a2b3c4d5e6f",
        "ok": true,
        "result": {
          "items": [
            {
              "id": "7",
              "email": "buyer@example.com",
              "telephone": "+49 30 1234567",
              "firstName": "Ada",
              "lastName": "Example",
              "status": "enabled",
              "customerGroupId": "1",
              "addressIds": [
                "15",
                "16"
              ],
              "defaultAddressId": "15",
              "createdAt": "2026-03-01T10:00:00Z",
              "updatedAt": "2026-10-07T14:03:00Z"
            }
          ],
          "itemCount": 1,
          "page": 1,
          "pageCount": 1
        }
      }
    },
    {
      "name": "customer.query: everyone at example.com, by customer group name from Z to A",
      "op": "customer.query",
      "request": {
        "protocol": "1.0",
        "id": "0f8e2d6c-4b1a-4c3e-9d7f-1a2b3c4d5e6f",
        "op": "customer.query",
        "params": {
          "filters": [
            {
              "type": "email",
              "value": "@example.com"
            }
          ],
          "sort": "customerGroup",
          "order": "desc"
        }
      },
      "response": {
        "protocol": "1.0",
        "id": "0f8e2d6c-4b1a-4c3e-9d7f-1a2b3c4d5e6f",
        "ok": true,
        "result": {
          "items": [
            {
              "id": "7",
              "email": "buyer@example.com",
              "telephone": "+49 30 1234567",
              "firstName": "Ada",
              "lastName": "Example",
              "status": "enabled",
              "customerGroupId": "1",
              "addressIds": [
                "15",
                "16"
              ],
              "defaultAddressId": "15",
              "createdAt": "2026-03-01T10:00:00Z",
              "updatedAt": "2026-10-07T14:03:00Z"
            }
          ],
          "itemCount": 1,
          "page": 1,
          "pageCount": 1
        }
      }
    },
    {
      "name": "customer.query: by part of a telephone number, registered this year",
      "op": "customer.query",
      "request": {
        "protocol": "1.0",
        "id": "0f8e2d6c-4b1a-4c3e-9d7f-1a2b3c4d5e6f",
        "op": "customer.query",
        "params": {
          "filters": [
            {
              "type": "telephone",
              "value": "1234567"
            },
            {
              "type": "createdAt",
              "value": {
                "from": "2026-01-01T00:00:00Z"
              }
            }
          ]
        }
      },
      "response": {
        "protocol": "1.0",
        "id": "0f8e2d6c-4b1a-4c3e-9d7f-1a2b3c4d5e6f",
        "ok": true,
        "result": {
          "items": [
            {
              "id": "7",
              "email": "buyer@example.com",
              "telephone": "+49 30 1234567",
              "firstName": "Ada",
              "lastName": "Example",
              "status": "enabled",
              "customerGroupId": "1",
              "addressIds": [
                "15",
                "16"
              ],
              "defaultAddressId": "15",
              "createdAt": "2026-03-01T10:00:00Z",
              "updatedAt": "2026-10-07T14:03:00Z"
            }
          ],
          "itemCount": 1,
          "page": 1,
          "pageCount": 1
        }
      }
    },
    {
      "name": "customerAddress.get: the default address of customer 7",
      "op": "customerAddress.get",
      "request": {
        "protocol": "1.0",
        "id": "0f8e2d6c-4b1a-4c3e-9d7f-1a2b3c4d5e6f",
        "op": "customerAddress.get",
        "params": {
          "ids": [
            "15"
          ]
        }
      },
      "response": {
        "protocol": "1.0",
        "id": "0f8e2d6c-4b1a-4c3e-9d7f-1a2b3c4d5e6f",
        "ok": true,
        "result": {
          "items": [
            {
              "id": "15",
              "customerId": "7",
              "firstName": "Ada",
              "lastName": "Example",
              "company": null,
              "address1": "1 Example Street",
              "address2": null,
              "city": "Berlin",
              "postcode": "10115",
              "country": "Germany",
              "countryCode": "DE",
              "zone": "Berlin",
              "zoneCode": "BER"
            }
          ],
          "missing": []
        }
      }
    },
    {
      "name": "customerGroup.search: by name",
      "op": "customerGroup.search",
      "request": {
        "protocol": "1.0",
        "id": "0f8e2d6c-4b1a-4c3e-9d7f-1a2b3c4d5e6f",
        "op": "customerGroup.search",
        "params": {
          "identifiers": [
            {
              "type": "name",
              "value": "wholesale"
            }
          ]
        }
      },
      "response": {
        "protocol": "1.0",
        "id": "0f8e2d6c-4b1a-4c3e-9d7f-1a2b3c4d5e6f",
        "ok": true,
        "result": {
          "results": [
            {
              "input": {
                "type": "name",
                "value": "wholesale"
              },
              "matches": [
                {
                  "resource": "customerGroup",
                  "id": "2"
                }
              ]
            }
          ]
        }
      }
    },
    {
      "name": "customerGroup.get: one group",
      "op": "customerGroup.get",
      "request": {
        "protocol": "1.0",
        "id": "0f8e2d6c-4b1a-4c3e-9d7f-1a2b3c4d5e6f",
        "op": "customerGroup.get",
        "params": {
          "ids": [
            "2"
          ]
        }
      },
      "response": {
        "protocol": "1.0",
        "id": "0f8e2d6c-4b1a-4c3e-9d7f-1a2b3c4d5e6f",
        "ok": true,
        "result": {
          "items": [
            {
              "id": "2",
              "name": "Wholesale"
            }
          ],
          "missing": []
        }
      }
    },
    {
      "name": "customerGroup.list: every group in one page",
      "op": "customerGroup.list",
      "request": {
        "protocol": "1.0",
        "id": "0f8e2d6c-4b1a-4c3e-9d7f-1a2b3c4d5e6f",
        "op": "customerGroup.list",
        "params": {
          "limit": 100
        }
      },
      "response": {
        "protocol": "1.0",
        "id": "0f8e2d6c-4b1a-4c3e-9d7f-1a2b3c4d5e6f",
        "ok": true,
        "result": {
          "items": [
            {
              "id": "1",
              "name": "Retail"
            },
            {
              "id": "2",
              "name": "Wholesale"
            }
          ],
          "nextCursor": null
        }
      }
    },
    {
      "name": "customerGroup.query: names containing sale, by name",
      "op": "customerGroup.query",
      "request": {
        "protocol": "1.0",
        "id": "0f8e2d6c-4b1a-4c3e-9d7f-1a2b3c4d5e6f",
        "op": "customerGroup.query",
        "params": {
          "filters": [
            {
              "type": "name",
              "value": "sale"
            }
          ],
          "sort": "name"
        }
      },
      "response": {
        "protocol": "1.0",
        "id": "0f8e2d6c-4b1a-4c3e-9d7f-1a2b3c4d5e6f",
        "ok": true,
        "result": {
          "items": [
            {
              "id": "2",
              "name": "Wholesale"
            }
          ],
          "itemCount": 1,
          "page": 1,
          "pageCount": 1
        }
      }
    },
    {
      "name": "coupon.search: by code",
      "op": "coupon.search",
      "request": {
        "protocol": "1.0",
        "id": "0f8e2d6c-4b1a-4c3e-9d7f-1a2b3c4d5e6f",
        "op": "coupon.search",
        "params": {
          "identifiers": [
            {
              "type": "code",
              "value": "WELCOME10"
            }
          ]
        }
      },
      "response": {
        "protocol": "1.0",
        "id": "0f8e2d6c-4b1a-4c3e-9d7f-1a2b3c4d5e6f",
        "ok": true,
        "result": {
          "results": [
            {
              "input": {
                "type": "code",
                "value": "WELCOME10"
              },
              "matches": [
                {
                  "resource": "coupon",
                  "id": "3"
                }
              ]
            }
          ]
        }
      }
    },
    {
      "name": "coupon.get: one coupon",
      "op": "coupon.get",
      "request": {
        "protocol": "1.0",
        "id": "0f8e2d6c-4b1a-4c3e-9d7f-1a2b3c4d5e6f",
        "op": "coupon.get",
        "params": {
          "ids": [
            "3"
          ]
        }
      },
      "response": {
        "protocol": "1.0",
        "id": "0f8e2d6c-4b1a-4c3e-9d7f-1a2b3c4d5e6f",
        "ok": true,
        "result": {
          "items": [
            {
              "id": "3",
              "code": "WELCOME10",
              "name": "Welcome 10%",
              "status": "enabled",
              "discount": {
                "kind": "percent",
                "value": "10.0000",
                "minimumTotal": "50.0000",
                "freeShipping": false
              },
              "usage": {
                "limitTotal": null,
                "limitPerCustomer": 1,
                "used": 12
              },
              "startsAt": "2026-09-30T21:00:00Z",
              "endsAt": null,
              "createdAt": "2026-09-28T10:15:00Z",
              "updatedAt": null
            }
          ],
          "missing": []
        }
      }
    },
    {
      "name": "coupon.list: one page",
      "op": "coupon.list",
      "request": {
        "protocol": "1.0",
        "id": "0f8e2d6c-4b1a-4c3e-9d7f-1a2b3c4d5e6f",
        "op": "coupon.list",
        "params": {
          "limit": 100
        }
      },
      "response": {
        "protocol": "1.0",
        "id": "0f8e2d6c-4b1a-4c3e-9d7f-1a2b3c4d5e6f",
        "ok": true,
        "result": {
          "items": [
            {
              "id": "3",
              "code": "WELCOME10",
              "name": "Welcome 10%",
              "status": "enabled",
              "discount": {
                "kind": "percent",
                "value": "10.0000",
                "minimumTotal": "50.0000",
                "freeShipping": false
              },
              "usage": {
                "limitTotal": null,
                "limitPerCustomer": 1,
                "used": 12
              },
              "startsAt": "2026-09-30T21:00:00Z",
              "endsAt": null,
              "createdAt": "2026-09-28T10:15:00Z",
              "updatedAt": null
            }
          ],
          "nextCursor": null
        }
      }
    },
    {
      "name": "coupon.query: enabled coupons in force now, the soonest to end first",
      "op": "coupon.query",
      "request": {
        "protocol": "1.0",
        "id": "0f8e2d6c-4b1a-4c3e-9d7f-1a2b3c4d5e6f",
        "op": "coupon.query",
        "params": {
          "filters": [
            {
              "type": "status",
              "value": "enabled"
            },
            {
              "type": "activeAt",
              "value": "2026-10-23T09:00:00Z"
            }
          ],
          "sort": "endsAt",
          "order": "desc"
        }
      },
      "response": {
        "protocol": "1.0",
        "id": "0f8e2d6c-4b1a-4c3e-9d7f-1a2b3c4d5e6f",
        "ok": true,
        "result": {
          "items": [
            {
              "id": "7",
              "code": "SHIPFREE",
              "name": "Free shipping over 100",
              "status": "enabled",
              "discount": {
                "kind": "percent",
                "value": "0.0000",
                "minimumTotal": "100.0000",
                "freeShipping": true
              },
              "usage": {
                "limitTotal": 500,
                "limitPerCustomer": null,
                "used": 41
              },
              "startsAt": null,
              "endsAt": "2026-12-31T22:00:00Z",
              "createdAt": "2026-10-01T08:00:00Z",
              "updatedAt": null
            },
            {
              "id": "3",
              "code": "WELCOME10",
              "name": "Welcome 10%",
              "status": "enabled",
              "discount": {
                "kind": "percent",
                "value": "10.0000",
                "minimumTotal": "50.0000",
                "freeShipping": false
              },
              "usage": {
                "limitTotal": null,
                "limitPerCustomer": 1,
                "used": 12
              },
              "startsAt": "2026-09-30T21:00:00Z",
              "endsAt": null,
              "createdAt": "2026-09-28T10:15:00Z",
              "updatedAt": null
            }
          ],
          "itemCount": 2,
          "page": 1,
          "pageCount": 1
        }
      }
    },
    {
      "name": "coupon.query: free-shipping coupons, the most used first",
      "op": "coupon.query",
      "request": {
        "protocol": "1.0",
        "id": "0f8e2d6c-4b1a-4c3e-9d7f-1a2b3c4d5e6f",
        "op": "coupon.query",
        "params": {
          "filters": [
            {
              "type": "freeShipping",
              "value": true
            }
          ],
          "sort": "used",
          "order": "desc",
          "limit": 10
        }
      },
      "response": {
        "protocol": "1.0",
        "id": "0f8e2d6c-4b1a-4c3e-9d7f-1a2b3c4d5e6f",
        "ok": true,
        "result": {
          "items": [
            {
              "id": "7",
              "code": "SHIPFREE",
              "name": "Free shipping over 100",
              "status": "enabled",
              "discount": {
                "kind": "percent",
                "value": "0.0000",
                "minimumTotal": "100.0000",
                "freeShipping": true
              },
              "usage": {
                "limitTotal": 500,
                "limitPerCustomer": null,
                "used": 41
              },
              "startsAt": null,
              "endsAt": "2026-12-31T22:00:00Z",
              "createdAt": "2026-10-01T08:00:00Z",
              "updatedAt": null
            }
          ],
          "itemCount": 1,
          "page": 1,
          "pageCount": 1
        }
      }
    },
    {
      "name": "coupon.query: enabled coupons that end within the next week",
      "op": "coupon.query",
      "request": {
        "protocol": "1.0",
        "id": "0f8e2d6c-4b1a-4c3e-9d7f-1a2b3c4d5e6f",
        "op": "coupon.query",
        "params": {
          "filters": [
            {
              "type": "status",
              "value": "enabled"
            },
            {
              "type": "endsAt",
              "value": {
                "from": "2026-10-23T09:00:00Z",
                "to": "2026-10-30T09:00:00Z"
              }
            }
          ],
          "sort": "endsAt"
        }
      },
      "response": {
        "protocol": "1.0",
        "id": "0f8e2d6c-4b1a-4c3e-9d7f-1a2b3c4d5e6f",
        "ok": true,
        "result": {
          "items": [],
          "itemCount": 0,
          "page": 1,
          "pageCount": 0
        }
      }
    },
    {
      "name": "coupon.apply: disabled",
      "op": "coupon.apply",
      "request": {
        "protocol": "1.0",
        "id": "0f8e2d6c-4b1a-4c3e-9d7f-1a2b3c4d5e6f",
        "op": "coupon.apply",
        "params": {
          "items": [
            {
              "id": "3",
              "expected": {
                "status": "enabled"
              },
              "set": {
                "status": "disabled"
              }
            }
          ]
        }
      },
      "response": {
        "protocol": "1.0",
        "id": "0f8e2d6c-4b1a-4c3e-9d7f-1a2b3c4d5e6f",
        "ok": true,
        "result": {
          "items": [
            {
              "id": "3",
              "outcome": "applied",
              "before": {
                "status": "enabled"
              },
              "after": {
                "status": "disabled"
              },
              "event": "skipped"
            }
          ]
        }
      }
    },
    {
      "name": "product.create: a draft kettle; sending the same item again returns the same product with replayed true",
      "op": "product.create",
      "request": {
        "protocol": "1.0",
        "id": "0f8e2d6c-4b1a-4c3e-9d7f-1a2b3c4d5e6f",
        "op": "product.create",
        "params": {
          "items": [
            {
              "idempotencyKey": "chg_01HZX3K9Q2M7TPV4",
              "set": {
                "code": "KET-17",
                "sku": "KET-17-W",
                "price": "49.9000",
                "stock": {
                  "quantity": 12
                },
                "categoryIds": [
                  "20"
                ],
                "manufacturerId": "5",
                "texts": {
                  "en-GB": {
                    "name": "Example kettle 1.7 l",
                    "description": "<p>A 1.7 litre kettle.</p>"
                  }
                },
                "seoKeywords": {
                  "0": {
                    "en-GB": "example-kettle-1-7-l"
                  }
                }
              }
            }
          ]
        }
      },
      "response": {
        "protocol": "1.0",
        "id": "0f8e2d6c-4b1a-4c3e-9d7f-1a2b3c4d5e6f",
        "ok": true,
        "result": {
          "items": [
            {
              "idempotencyKey": "chg_01HZX3K9Q2M7TPV4",
              "outcome": "created",
              "id": "51",
              "replayed": false,
              "after": {
                "id": "51",
                "code": "KET-17",
                "status": "disabled",
                "name": "Example kettle 1.7 l"
              }
            }
          ]
        }
      }
    },
    {
      "name": "category.create: a disabled sub-category",
      "op": "category.create",
      "request": {
        "protocol": "1.0",
        "id": "0f8e2d6c-4b1a-4c3e-9d7f-1a2b3c4d5e6f",
        "op": "category.create",
        "params": {
          "items": [
            {
              "idempotencyKey": "chg_01HZX3K9Q2M7TPV5",
              "set": {
                "parentId": "18",
                "texts": {
                  "en-GB": {
                    "name": "Kettles"
                  }
                }
              }
            }
          ]
        }
      },
      "response": {
        "protocol": "1.0",
        "id": "0f8e2d6c-4b1a-4c3e-9d7f-1a2b3c4d5e6f",
        "ok": true,
        "result": {
          "items": [
            {
              "idempotencyKey": "chg_01HZX3K9Q2M7TPV5",
              "outcome": "created",
              "id": "61",
              "replayed": false,
              "after": {
                "id": "61",
                "name": "Kettles",
                "parentId": "18",
                "status": "disabled"
              }
            }
          ]
        }
      }
    },
    {
      "name": "manufacturer.create: a key used again with other content",
      "op": "manufacturer.create",
      "request": {
        "protocol": "1.0",
        "id": "0f8e2d6c-4b1a-4c3e-9d7f-1a2b3c4d5e6f",
        "op": "manufacturer.create",
        "params": {
          "items": [
            {
              "idempotencyKey": "chg_01HZX3K9Q2M7TPV6",
              "set": {
                "name": "Acme Appliances"
              }
            }
          ]
        }
      },
      "response": {
        "protocol": "1.0",
        "id": "0f8e2d6c-4b1a-4c3e-9d7f-1a2b3c4d5e6f",
        "ok": true,
        "result": {
          "items": [
            {
              "idempotencyKey": "chg_01HZX3K9Q2M7TPV6",
              "outcome": "rejected",
              "reason": "idempotency_key_reused"
            }
          ]
        }
      }
    },
    {
      "name": "coupon.create: the code is taken",
      "op": "coupon.create",
      "request": {
        "protocol": "1.0",
        "id": "0f8e2d6c-4b1a-4c3e-9d7f-1a2b3c4d5e6f",
        "op": "coupon.create",
        "params": {
          "items": [
            {
              "idempotencyKey": "chg_01HZX3K9Q2M7TPV7",
              "set": {
                "code": "SPRING10",
                "name": "Spring 10 %",
                "discount": {
                  "kind": "percent",
                  "value": "10.0000",
                  "freeShipping": false
                },
                "usage": {
                  "limitTotal": 100,
                  "limitPerCustomer": 1
                },
                "startsAt": "2027-03-01T00:00:00Z",
                "endsAt": "2027-04-01T00:00:00Z"
              }
            }
          ]
        }
      },
      "response": {
        "protocol": "1.0",
        "id": "0f8e2d6c-4b1a-4c3e-9d7f-1a2b3c4d5e6f",
        "ok": true,
        "result": {
          "items": [
            {
              "idempotencyKey": "chg_01HZX3K9Q2M7TPV7",
              "outcome": "rejected",
              "reason": "duplicate",
              "field": "code",
              "conflictingId": "7"
            }
          ]
        }
      }
    },
    {
      "name": "manufacturer.apply: a manufacturer renamed; a conflict",
      "op": "manufacturer.apply",
      "request": {
        "protocol": "1.0",
        "id": "0f8e2d6c-4b1a-4c3e-9d7f-1a2b3c4d5e6f",
        "op": "manufacturer.apply",
        "params": {
          "items": [
            {
              "id": "5",
              "expected": {
                "name": "Examplo"
              },
              "set": {
                "name": "Example"
              }
            },
            {
              "id": "6",
              "expected": {
                "sortOrder": 0
              },
              "set": {
                "sortOrder": 3
              }
            }
          ]
        }
      },
      "response": {
        "protocol": "1.0",
        "id": "0f8e2d6c-4b1a-4c3e-9d7f-1a2b3c4d5e6f",
        "ok": true,
        "result": {
          "items": [
            {
              "id": "5",
              "outcome": "applied",
              "before": {
                "name": "Examplo"
              },
              "after": {
                "name": "Example"
              },
              "event": "skipped"
            },
            {
              "id": "6",
              "outcome": "conflict",
              "current": {
                "sortOrder": 1
              }
            }
          ]
        }
      }
    },
    {
      "name": "customer.apply: a customer disabled; an email already taken",
      "op": "customer.apply",
      "request": {
        "protocol": "1.0",
        "id": "0f8e2d6c-4b1a-4c3e-9d7f-1a2b3c4d5e6f",
        "op": "customer.apply",
        "params": {
          "items": [
            {
              "id": "12",
              "expected": {
                "status": "enabled"
              },
              "set": {
                "status": "disabled"
              }
            },
            {
              "id": "13",
              "expected": {
                "email": "old@example.com"
              },
              "set": {
                "email": "taken@example.com"
              }
            }
          ]
        }
      },
      "response": {
        "protocol": "1.0",
        "id": "0f8e2d6c-4b1a-4c3e-9d7f-1a2b3c4d5e6f",
        "ok": true,
        "result": {
          "items": [
            {
              "id": "12",
              "outcome": "applied",
              "before": {
                "status": "enabled"
              },
              "after": {
                "status": "disabled"
              },
              "event": "skipped"
            },
            {
              "id": "13",
              "outcome": "rejected",
              "reason": "duplicate",
              "field": "email",
              "conflictingId": "7"
            }
          ]
        }
      }
    },
    {
      "name": "review.get: an unpublished review and a published guest review",
      "op": "review.get",
      "request": {
        "protocol": "1.0",
        "id": "0f8e2d6c-4b1a-4c3e-9d7f-1a2b3c4d5e6f",
        "op": "review.get",
        "params": {
          "ids": [
            "15",
            "16"
          ]
        }
      },
      "response": {
        "protocol": "1.0",
        "id": "0f8e2d6c-4b1a-4c3e-9d7f-1a2b3c4d5e6f",
        "ok": true,
        "result": {
          "items": [
            {
              "id": "15",
              "productId": "42",
              "authorName": "Ada E.",
              "customerId": "7",
              "rating": 2,
              "text": "The lid cracked after a week.\nI would like a replacement.",
              "status": "unpublished",
              "createdAt": "2026-11-16T09:12:00Z",
              "updatedAt": "2026-11-16T09:12:00Z"
            },
            {
              "id": "16",
              "productId": "42",
              "authorName": "Guest",
              "customerId": null,
              "rating": 5,
              "text": "Boils fast, quiet.",
              "status": "published",
              "createdAt": "2026-11-12T18:40:00Z",
              "updatedAt": "2026-11-13T08:00:00Z"
            }
          ],
          "missing": []
        }
      }
    },
    {
      "name": "review.list: changed since a moment",
      "op": "review.list",
      "request": {
        "protocol": "1.0",
        "id": "0f8e2d6c-4b1a-4c3e-9d7f-1a2b3c4d5e6f",
        "op": "review.list",
        "params": {
          "limit": 100,
          "updatedSince": "2026-11-13T00:00:00Z"
        }
      },
      "response": {
        "protocol": "1.0",
        "id": "0f8e2d6c-4b1a-4c3e-9d7f-1a2b3c4d5e6f",
        "ok": true,
        "result": {
          "items": [
            {
              "id": "16",
              "productId": "42",
              "authorName": "Guest",
              "customerId": null,
              "rating": 5,
              "text": "Boils fast, quiet.",
              "status": "published",
              "createdAt": "2026-11-12T18:40:00Z",
              "updatedAt": "2026-11-13T08:00:00Z"
            }
          ],
          "nextCursor": null
        }
      }
    },
    {
      "name": "review.query: unpublished reviews of 1 to 2 stars, newest first",
      "op": "review.query",
      "request": {
        "protocol": "1.0",
        "id": "0f8e2d6c-4b1a-4c3e-9d7f-1a2b3c4d5e6f",
        "op": "review.query",
        "params": {
          "filters": [
            {
              "type": "status",
              "value": "unpublished"
            },
            {
              "type": "rating",
              "value": {
                "min": 1,
                "max": 2
              }
            }
          ],
          "sort": "createdAt",
          "order": "desc"
        }
      },
      "response": {
        "protocol": "1.0",
        "id": "0f8e2d6c-4b1a-4c3e-9d7f-1a2b3c4d5e6f",
        "ok": true,
        "result": {
          "items": [
            {
              "id": "15",
              "productId": "42",
              "authorName": "Ada E.",
              "customerId": "7",
              "rating": 2,
              "text": "The lid cracked after a week.\nI would like a replacement.",
              "status": "unpublished",
              "createdAt": "2026-11-16T09:12:00Z",
              "updatedAt": "2026-11-16T09:12:00Z"
            }
          ],
          "itemCount": 1,
          "page": 1,
          "pageCount": 1
        }
      }
    },
    {
      "name": "review.query: reviews of one product left in November",
      "op": "review.query",
      "request": {
        "protocol": "1.0",
        "id": "0f8e2d6c-4b1a-4c3e-9d7f-1a2b3c4d5e6f",
        "op": "review.query",
        "params": {
          "filters": [
            {
              "type": "productId",
              "value": "42"
            },
            {
              "type": "createdAt",
              "value": {
                "from": "2026-11-01T00:00:00Z",
                "to": "2026-11-30T23:59:59Z"
              }
            }
          ],
          "sort": "rating"
        }
      },
      "response": {
        "protocol": "1.0",
        "id": "0f8e2d6c-4b1a-4c3e-9d7f-1a2b3c4d5e6f",
        "ok": true,
        "result": {
          "items": [
            {
              "id": "15",
              "productId": "42",
              "authorName": "Ada E.",
              "customerId": "7",
              "rating": 2,
              "text": "The lid cracked after a week.\nI would like a replacement.",
              "status": "unpublished",
              "createdAt": "2026-11-16T09:12:00Z",
              "updatedAt": "2026-11-16T09:12:00Z"
            },
            {
              "id": "16",
              "productId": "42",
              "authorName": "Guest",
              "customerId": null,
              "rating": 5,
              "text": "Boils fast, quiet.",
              "status": "published",
              "createdAt": "2026-11-12T18:40:00Z",
              "updatedAt": "2026-11-13T08:00:00Z"
            }
          ],
          "itemCount": 2,
          "page": 1,
          "pageCount": 1
        }
      }
    },
    {
      "name": "review.apply: a review published; another already changed by someone else",
      "op": "review.apply",
      "request": {
        "protocol": "1.0",
        "id": "0f8e2d6c-4b1a-4c3e-9d7f-1a2b3c4d5e6f",
        "op": "review.apply",
        "params": {
          "items": [
            {
              "id": "15",
              "expected": {
                "status": "unpublished"
              },
              "set": {
                "status": "published"
              }
            },
            {
              "id": "17",
              "expected": {
                "status": "unpublished"
              },
              "set": {
                "status": "published"
              }
            }
          ]
        }
      },
      "response": {
        "protocol": "1.0",
        "id": "0f8e2d6c-4b1a-4c3e-9d7f-1a2b3c4d5e6f",
        "ok": true,
        "result": {
          "items": [
            {
              "id": "15",
              "outcome": "applied",
              "before": {
                "status": "unpublished"
              },
              "after": {
                "status": "published"
              },
              "event": "fired"
            },
            {
              "id": "17",
              "outcome": "conflict",
              "current": {
                "status": "published"
              }
            }
          ]
        }
      }
    },
    {
      "name": "review.apply: a published review hidden",
      "op": "review.apply",
      "request": {
        "protocol": "1.0",
        "id": "0f8e2d6c-4b1a-4c3e-9d7f-1a2b3c4d5e6f",
        "op": "review.apply",
        "params": {
          "items": [
            {
              "id": "16",
              "expected": {
                "status": "published"
              },
              "set": {
                "status": "unpublished"
              }
            }
          ]
        }
      },
      "response": {
        "protocol": "1.0",
        "id": "0f8e2d6c-4b1a-4c3e-9d7f-1a2b3c4d5e6f",
        "ok": true,
        "result": {
          "items": [
            {
              "id": "16",
              "outcome": "applied",
              "before": {
                "status": "published"
              },
              "after": {
                "status": "unpublished"
              },
              "event": "fired"
            }
          ]
        }
      }
    },
    {
      "name": "returnRequest.get: one request with its history",
      "op": "returnRequest.get",
      "request": {
        "protocol": "1.0",
        "id": "0f8e2d6c-4b1a-4c3e-9d7f-1a2b3c4d5e6f",
        "op": "returnRequest.get",
        "params": {
          "ids": [
            "5"
          ],
          "include": [
            "history"
          ]
        }
      },
      "response": {
        "protocol": "1.0",
        "id": "0f8e2d6c-4b1a-4c3e-9d7f-1a2b3c4d5e6f",
        "ok": true,
        "result": {
          "items": [
            {
              "id": "5",
              "orderId": "1001",
              "productId": "42",
              "productName": "Example kettle",
              "productCode": "KTL-100",
              "quantity": 1,
              "opened": true,
              "reason": {
                "id": "1",
                "name": "Dead on arrival"
              },
              "action": {
                "id": "2",
                "name": "Refunded"
              },
              "status": {
                "id": "3",
                "name": "Complete"
              },
              "customerId": "7",
              "customerFirstName": "Ada",
              "customerLastName": "Example",
              "customerEmail": "buyer@example.com",
              "customerTelephone": "+49 30 1234567",
              "comment": "It does not heat. I would like a refund.",
              "orderedAt": "2026-10-06T22:00:00Z",
              "createdAt": "2026-11-16T10:05:00Z",
              "updatedAt": "2026-11-17T12:00:00Z",
              "history": [
                {
                  "id": "9",
                  "status": {
                    "id": "3",
                    "name": "Complete"
                  },
                  "notify": true,
                  "comment": "Refunded to your card.",
                  "createdAt": "2026-11-17T12:00:00Z"
                },
                {
                  "id": "8",
                  "status": {
                    "id": "1",
                    "name": "Pending"
                  },
                  "notify": false,
                  "comment": null,
                  "createdAt": "2026-11-16T10:05:00Z"
                }
              ]
            }
          ],
          "missing": []
        }
      }
    },
    {
      "name": "returnRequest.list: nothing changed since",
      "op": "returnRequest.list",
      "request": {
        "protocol": "1.0",
        "id": "0f8e2d6c-4b1a-4c3e-9d7f-1a2b3c4d5e6f",
        "op": "returnRequest.list",
        "params": {
          "limit": 100,
          "updatedSince": "2026-11-18T00:00:00Z"
        }
      },
      "response": {
        "protocol": "1.0",
        "id": "0f8e2d6c-4b1a-4c3e-9d7f-1a2b3c4d5e6f",
        "ok": true,
        "result": {
          "items": [],
          "nextCursor": null
        }
      }
    },
    {
      "name": "returnRequest.query: pending requests about one order, newest first",
      "op": "returnRequest.query",
      "request": {
        "protocol": "1.0",
        "id": "0f8e2d6c-4b1a-4c3e-9d7f-1a2b3c4d5e6f",
        "op": "returnRequest.query",
        "params": {
          "filters": [
            {
              "type": "statusId",
              "value": "1"
            },
            {
              "type": "orderId",
              "value": "1001"
            }
          ],
          "sort": "createdAt",
          "order": "desc"
        }
      },
      "response": {
        "protocol": "1.0",
        "id": "0f8e2d6c-4b1a-4c3e-9d7f-1a2b3c4d5e6f",
        "ok": true,
        "result": {
          "items": [
            {
              "id": "5",
              "orderId": "1001",
              "productId": "42",
              "productName": "Example kettle",
              "productCode": "KTL-100",
              "quantity": 1,
              "opened": true,
              "reason": {
                "id": "1",
                "name": "Dead on arrival"
              },
              "action": null,
              "status": {
                "id": "1",
                "name": "Pending"
              },
              "customerId": "7",
              "customerFirstName": "Ada",
              "customerLastName": "Example",
              "customerEmail": "buyer@example.com",
              "customerTelephone": "+49 30 1234567",
              "comment": "It does not heat. I would like a refund.",
              "orderedAt": "2026-10-06T22:00:00Z",
              "createdAt": "2026-11-16T10:05:00Z",
              "updatedAt": "2026-11-16T10:05:00Z"
            }
          ],
          "itemCount": 1,
          "page": 1,
          "pageCount": 1
        }
      }
    },
    {
      "name": "returnRequest.query: requests made in November about one product",
      "op": "returnRequest.query",
      "request": {
        "protocol": "1.0",
        "id": "0f8e2d6c-4b1a-4c3e-9d7f-1a2b3c4d5e6f",
        "op": "returnRequest.query",
        "params": {
          "filters": [
            {
              "type": "productId",
              "value": "42"
            },
            {
              "type": "createdAt",
              "value": {
                "from": "2026-11-01T00:00:00Z",
                "to": "2026-11-30T23:59:59Z"
              }
            }
          ]
        }
      },
      "response": {
        "protocol": "1.0",
        "id": "0f8e2d6c-4b1a-4c3e-9d7f-1a2b3c4d5e6f",
        "ok": true,
        "result": {
          "items": [
            {
              "id": "5",
              "orderId": "1001",
              "productId": "42",
              "productName": "Example kettle",
              "productCode": "KTL-100",
              "quantity": 1,
              "opened": true,
              "reason": {
                "id": "1",
                "name": "Dead on arrival"
              },
              "action": null,
              "status": {
                "id": "1",
                "name": "Pending"
              },
              "customerId": "7",
              "customerFirstName": "Ada",
              "customerLastName": "Example",
              "customerEmail": "buyer@example.com",
              "customerTelephone": "+49 30 1234567",
              "comment": "It does not heat. I would like a refund.",
              "orderedAt": "2026-10-06T22:00:00Z",
              "createdAt": "2026-11-16T10:05:00Z",
              "updatedAt": "2026-11-16T10:05:00Z"
            }
          ],
          "itemCount": 1,
          "page": 1,
          "pageCount": 1
        }
      }
    },
    {
      "name": "returnStatus.search: by name",
      "op": "returnStatus.search",
      "request": {
        "protocol": "1.0",
        "id": "0f8e2d6c-4b1a-4c3e-9d7f-1a2b3c4d5e6f",
        "op": "returnStatus.search",
        "params": {
          "identifiers": [
            {
              "type": "name",
              "value": "Pending"
            }
          ]
        }
      },
      "response": {
        "protocol": "1.0",
        "id": "0f8e2d6c-4b1a-4c3e-9d7f-1a2b3c4d5e6f",
        "ok": true,
        "result": {
          "results": [
            {
              "input": {
                "type": "name",
                "value": "Pending"
              },
              "matches": [
                {
                  "resource": "returnStatus",
                  "id": "1"
                }
              ]
            }
          ]
        }
      }
    },
    {
      "name": "returnStatus.get: one entry",
      "op": "returnStatus.get",
      "request": {
        "protocol": "1.0",
        "id": "0f8e2d6c-4b1a-4c3e-9d7f-1a2b3c4d5e6f",
        "op": "returnStatus.get",
        "params": {
          "ids": [
            "1"
          ]
        }
      },
      "response": {
        "protocol": "1.0",
        "id": "0f8e2d6c-4b1a-4c3e-9d7f-1a2b3c4d5e6f",
        "ok": true,
        "result": {
          "items": [
            {
              "id": "1",
              "name": "Pending"
            }
          ],
          "missing": []
        }
      }
    },
    {
      "name": "returnStatus.list: every entry in one page",
      "op": "returnStatus.list",
      "request": {
        "protocol": "1.0",
        "id": "0f8e2d6c-4b1a-4c3e-9d7f-1a2b3c4d5e6f",
        "op": "returnStatus.list",
        "params": {
          "limit": 100
        }
      },
      "response": {
        "protocol": "1.0",
        "id": "0f8e2d6c-4b1a-4c3e-9d7f-1a2b3c4d5e6f",
        "ok": true,
        "result": {
          "items": [
            {
              "id": "1",
              "name": "Pending"
            },
            {
              "id": "3",
              "name": "Complete"
            }
          ],
          "nextCursor": null
        }
      }
    },
    {
      "name": "returnStatus.query: names containing pend",
      "op": "returnStatus.query",
      "request": {
        "protocol": "1.0",
        "id": "0f8e2d6c-4b1a-4c3e-9d7f-1a2b3c4d5e6f",
        "op": "returnStatus.query",
        "params": {
          "filters": [
            {
              "type": "name",
              "value": "pend"
            }
          ],
          "sort": "name"
        }
      },
      "response": {
        "protocol": "1.0",
        "id": "0f8e2d6c-4b1a-4c3e-9d7f-1a2b3c4d5e6f",
        "ok": true,
        "result": {
          "items": [
            {
              "id": "1",
              "name": "Pending"
            }
          ],
          "itemCount": 1,
          "page": 1,
          "pageCount": 1
        }
      }
    },
    {
      "name": "returnReason.search: by name",
      "op": "returnReason.search",
      "request": {
        "protocol": "1.0",
        "id": "0f8e2d6c-4b1a-4c3e-9d7f-1a2b3c4d5e6f",
        "op": "returnReason.search",
        "params": {
          "identifiers": [
            {
              "type": "name",
              "value": "Dead on arrival"
            }
          ]
        }
      },
      "response": {
        "protocol": "1.0",
        "id": "0f8e2d6c-4b1a-4c3e-9d7f-1a2b3c4d5e6f",
        "ok": true,
        "result": {
          "results": [
            {
              "input": {
                "type": "name",
                "value": "Dead on arrival"
              },
              "matches": [
                {
                  "resource": "returnReason",
                  "id": "1"
                }
              ]
            }
          ]
        }
      }
    },
    {
      "name": "returnReason.get: one entry",
      "op": "returnReason.get",
      "request": {
        "protocol": "1.0",
        "id": "0f8e2d6c-4b1a-4c3e-9d7f-1a2b3c4d5e6f",
        "op": "returnReason.get",
        "params": {
          "ids": [
            "1"
          ]
        }
      },
      "response": {
        "protocol": "1.0",
        "id": "0f8e2d6c-4b1a-4c3e-9d7f-1a2b3c4d5e6f",
        "ok": true,
        "result": {
          "items": [
            {
              "id": "1",
              "name": "Dead on arrival"
            }
          ],
          "missing": []
        }
      }
    },
    {
      "name": "returnReason.list: every entry in one page",
      "op": "returnReason.list",
      "request": {
        "protocol": "1.0",
        "id": "0f8e2d6c-4b1a-4c3e-9d7f-1a2b3c4d5e6f",
        "op": "returnReason.list",
        "params": {
          "limit": 100
        }
      },
      "response": {
        "protocol": "1.0",
        "id": "0f8e2d6c-4b1a-4c3e-9d7f-1a2b3c4d5e6f",
        "ok": true,
        "result": {
          "items": [
            {
              "id": "1",
              "name": "Dead on arrival"
            },
            {
              "id": "2",
              "name": "Received wrong item"
            }
          ],
          "nextCursor": null
        }
      }
    },
    {
      "name": "returnReason.query: names containing wrong",
      "op": "returnReason.query",
      "request": {
        "protocol": "1.0",
        "id": "0f8e2d6c-4b1a-4c3e-9d7f-1a2b3c4d5e6f",
        "op": "returnReason.query",
        "params": {
          "filters": [
            {
              "type": "name",
              "value": "wrong"
            }
          ],
          "sort": "name"
        }
      },
      "response": {
        "protocol": "1.0",
        "id": "0f8e2d6c-4b1a-4c3e-9d7f-1a2b3c4d5e6f",
        "ok": true,
        "result": {
          "items": [
            {
              "id": "2",
              "name": "Received wrong item"
            }
          ],
          "itemCount": 1,
          "page": 1,
          "pageCount": 1
        }
      }
    }
  ]
}
