Skip to content

The module contract is Module Protocol 1 with the operation shape of decision 004 (accepted 11 October 2026); the request examples below use its operations. The Module JSON 1.0 proposal this matrix was written against is archived. P0 below denotes the proposed scenario scope, not shipped features.

Agent scenario matrix by store entity ​

125 scenarios across 28 groups · updated 8 October 2026. A requirements catalog, not a list of shipped features. Based on OpenCart 3 entities and merchant work. Extend and refine it as needed; platform extensions make a literal list of every possible case impossible.

Choose a group, then a scenario. Use its stable ID in tasks, capability specifications and tests. Resource names in the data column express domain dependencies, not newly published JSON methods or remotely accessible SQL tables.

Operation shape · Building a module · Module JSON 1.0 (archived) · Download matrix JSON.

Request and response examples

Reading the matrix ​

  • P0 — agreed pilot: connection, catalog reads, one approved base-price change and its outcome. P0 still describes a requirement, not implemented readiness.
  • P1 — next-stage candidates: additional reads, analytics and composite workflows. P2 — advanced administration. P3 — shopper agent. These are planning stages, not deadlines or an expanded pilot commitment.
  • R — read/analyze. W — mutation or external effect: exact plan and approval, or an explicitly bounded standing policy. H — prepare and hand off to a human; no autonomous execution in this contract.
  • CORE — source entities exist in the base OpenCart model; this does not mean our JSON module already supports them. EXT — requires an additional source, extension or provider. SD — a Store Deputy workflow over module capabilities; the module does not run an LLM or schedules.

Source labels do not remove dependencies: an SD workflow requires every underlying method. Permission-hidden, absent and zero values are distinct states.

Requests from MCP through the API to the module ​

The new column shows HTTP JSON bodies sent by Store Deputy API, not MCP tools/call envelopes. Agentfy calls an MCP tool; Store Deputy validates identity/authority and constructs these module requests. One scenario may require several requests and server-side work between them.

The column defines the target request format to implement: one protocol / id / op / params envelope for every operation. These are MCP-to-module requirements, not a description of legacy code or an implementation status report. The API checks each operation against the connected module’s capabilities. Store Deputy handles calculations, owner approvals and composite workflows.

Each numbered block is a separate request, not a batch. IDs, values, revisions and SERVER_BOUND_PASS are synthetic: take real values from prior responses and trusted server context. Stop on an error or ambiguity. Conditional writes require API approval, ledger and retry rules; the request body alone does not authorize them. The examples illustrate the central step, not every alternative in a scenario. Manual scenarios show only reads, if any, not forbidden writes.

Common transport (header values are placeholders, not valid signatures):

http
POST /storedeputy.php HTTP/1.1
Host: shop.example
Content-Type: application/json; charset=utf-8
X-SD-Connection: <paired-connection-id>
X-SD-Timestamp: <unix-seconds>
X-SD-Nonce: <fresh-random-nonce>
X-SD-Signature: v1=<computed-hmac>

Use the registered endpoint and current signing rules; never place keys in tool arguments or query strings. All examples are also in the downloadable matrix JSON under moduleRequests.

Groups ​

Products ​

ID / stage / type / sourceScenarioRequired data and relationshipsOutcome and acceptance criterionModule request example
PRODUCTS-01
P0 · R · CORE
Find a product by SKU, model or nameproducts: id, sku, model, name, languageShow candidates and IDs; never silently choose an ambiguous SKU
product.search
{
  "protocol": "1.0",
  "id": "products-01-1",
  "op": "product.search",
  "params": {
    "identifiers": [
      {
        "type": "sku",
        "value": "MUG-42"
      }
    ]
  }
}

product.get
{
  "protocol": "1.0",
  "id": "products-01-2",
  "op": "product.get",
  "params": {
    "ids": [
      "42"
    ]
  }
}

This searches SKU only; name matching needs a new operation. Use returned IDs in product.get.
PRODUCTS-02
P0 · R · CORE
Filter disabled, low-price or low-stock productsproducts: enabled, categoryId, quantity, basePriceCombine filters and paginate; low stock needs an explicit threshold
catalog.query
{
  "protocol": "1.0",
  "id": "products-02-1",
  "op": "catalog.query",
  "params": {
    "filter": {
      "all": [
        {
          "field": "enabled",
          "op": "eq",
          "value": false
        },
        {
          "field": "quantity",
          "op": "lt",
          "value": 5
        }
      ]
    },
    "limit": 50
  }
}
PRODUCTS-03
P0 · R · CORE
Explain the current state of a selected productproducts: basePrice, currency, revision, affectedStoreIdsDo not present base price as the final shopper price
product.get
{
  "protocol": "1.0",
  "id": "products-03-1",
  "op": "product.get",
  "params": {
    "ids": [
      "42"
    ]
  }
}
PRODUCTS-04
P1 · R · CORE
Audit missing images, descriptions, brand and SKUproducts, translations, media associationsReturn issues by ID and language; requires fields beyond P0
catalog.audit
{
  "protocol": "1.0",
  "id": "products-04-1",
  "op": "catalog.audit",
  "params": {
    "checks": [
      "missingImage",
      "missingDescription",
      "missingManufacturer",
      "missingSku"
    ],
    "language": "en-gb",
    "limit": 50
  }
}
PRODUCTS-05
P1 · R · CORE
Find possible duplicate productsproducts: identifiers, name, manufacturer, optionsExplain matching evidence; differing options may represent distinct products
catalog.duplicates.search
{
  "protocol": "1.0",
  "id": "products-05-1",
  "op": "catalog.duplicates.search",
  "params": {
    "matchBy": [
      "sku",
      "name",
      "manufacturer"
    ],
    "limit": 50
  }
}
PRODUCTS-06
P2 · W · CORE
Create a product from owner instructions or a fileproducts, categories, tax classes, languagesDraft, required fields and approval; do not invent specifications
catalog.product.create
{
  "protocol": "1.0",
  "id": "products-06-1",
  "op": "catalog.product.create",
  "params": {
    "product": {
      "name": "Ceramic mug",
      "code": "MUG-42",
      "basePrice": {
        "amount": "19.0000",
        "currency": "USD"
      },
      "enabled": false
    }
  }
}
PRODUCTS-07
P2 · W · CORE
Enable or disable selected productsproducts: enabled, store assignments, revisionShow affected storefronts and freeze IDs before writing
catalog.product.status.set
{
  "protocol": "1.0",
  "id": "products-07-1",
  "op": "catalog.product.status.set",
  "params": {
    "items": [
      {
        "id": "42",
        "expected": {
          "enabled": true
        },
        "set": {
          "enabled": false
        }
      }
    ]
  }
}
PRODUCTS-08
P2 · W · CORE
Assign related productsproducts, related products, revisionsNo self-links; show added and removed associations
catalog.product.related.set
{
  "protocol": "1.0",
  "id": "products-08-1",
  "op": "catalog.product.related.set",
  "params": {
    "id": "42",
    "expected": {
      "ids": [
        "57"
      ]
    },
    "set": {
      "ids": [
        "57",
        "61"
      ]
    }
  }
}
PRODUCTS-09
P2 · H · CORE
Prepare deletion or merging of duplicate productsproducts, order references, media, downloadsDependency plan only; deletion and history migration are outside the current contract
catalog.product.dependencies.get
{
  "protocol": "1.0",
  "id": "products-09-1",
  "op": "catalog.product.dependencies.get",
  "params": {
    "ids": [
      "42",
      "57"
    ]
  }
}

Read-only preparation; no mutation request.

Categories ​

ID / stage / type / sourceScenarioRequired data and relationshipsOutcome and acceptance criterionModule request example
CATEGORIES-01
P1 · R · CORE
Show the category tree and empty sectionscategories: parentId, path, translations, product countsCount by storefront and visibility; do not delete empty sections
categories.search
{
  "protocol": "1.0",
  "id": "categories-01-1",
  "op": "categories.search",
  "params": {
    "limit": 50,
    "include": [
      "children",
      "productCount"
    ]
  }
}
CATEGORIES-02
P2 · W · CORE
Create a category and its localized contentcategories: parent, translations, storeIdsValidate parent, language and storefronts; publish after approval
categories.create
{
  "protocol": "1.0",
  "id": "categories-02-1",
  "op": "categories.create",
  "params": {
    "category": {
      "parentId": "7",
      "name": "Mugs",
      "language": "en-gb",
      "storefrontIds": [
        "0"
      ]
    }
  }
}
CATEGORIES-03
P2 · W · CORE
Move a category under another parentcategories: tree, parentId, revisionsReject cycles; show the new path and descendant impact
categories.move
{
  "protocol": "1.0",
  "id": "categories-03-1",
  "op": "categories.move",
  "params": {
    "categoryId": "9",
    "expected": {
      "parentId": "7"
    },
    "set": {
      "parentId": "8"
    }
  }
}
CATEGORIES-04
P2 · W · CORE
Assign products to categoriesproducts ↔ categories, revisionsDistinguish adding from replacing; preserve unrelated associations
catalog.product.categories.add
{
  "protocol": "1.0",
  "id": "categories-04-1",
  "op": "catalog.product.categories.add",
  "params": {
    "ids": [
      "42"
    ],
    "categoryIds": [
      "9"
    ]
  }
}
CATEGORIES-05
P2 · H · CORE
Plan merging or removal of old categoriescategories, children, product bindings, seo urlsPlan product and URL migration; deletion needs a separate capability
categories.dependencies.get
{
  "protocol": "1.0",
  "id": "categories-05-1",
  "op": "categories.dependencies.get",
  "params": {
    "categoryIds": [
      "7",
      "9"
    ]
  }
}

Read-only preparation; no mutation request.

Manufacturers ​

ID / stage / type / sourceScenarioRequired data and relationshipsOutcome and acceptance criterionModule request example
MANUFACTURERS-01
P1 · R · CORE
Find brands and products without a manufacturermanufacturers, products, storeIdsDistinguish absent associations from fields hidden by permissions
manufacturers.search
{
  "protocol": "1.0",
  "id": "manufacturers-01-1",
  "op": "manufacturers.search",
  "params": {
    "limit": 50
  }
}

catalog.query
{
  "protocol": "1.0",
  "id": "manufacturers-01-2",
  "op": "catalog.query",
  "params": {
    "filter": {
      "field": "manufacturerId",
      "op": "isNull"
    },
    "limit": 50
  }
}
MANUFACTURERS-02
P2 · W · CORE
Create or correct a manufacturermanufacturers: name, image, sortOrder, storeIdsCheck similar names; retries must not create duplicates
manufacturers.create
{
  "protocol": "1.0",
  "id": "manufacturers-02-1",
  "op": "manufacturers.create",
  "params": {
    "manufacturer": {
      "name": "Crafts",
      "storefrontIds": [
        "0"
      ]
    }
  }
}
MANUFACTURERS-03
P2 · W · CORE
Assign a brand to selected productsproducts ↔ manufacturers, revisionsShow old and new manufacturer for each product ID
catalog.product.manufacturer.set
{
  "protocol": "1.0",
  "id": "manufacturers-03-1",
  "op": "catalog.product.manufacturer.set",
  "params": {
    "id": "42",
    "expected": {
      "manufacturerId": "5"
    },
    "set": {
      "manufacturerId": "6"
    }
  }
}
MANUFACTURERS-04
P2 · H · CORE
Plan merging duplicate brandsmanufacturers, products, seo urlsPlan association and URL migration; equal names do not prove identity
manufacturers.dependencies.get
{
  "protocol": "1.0",
  "id": "manufacturers-04-1",
  "op": "manufacturers.dependencies.get",
  "params": {
    "manufacturerIds": [
      "5",
      "6"
    ]
  }
}

Read-only preparation; no mutation request.

Attributes and attribute groups ​

ID / stage / type / sourceScenarioRequired data and relationshipsOutcome and acceptance criterionModule request example
ATTRIBUTES-01
P1 · R · CORE
Find missing product specificationsattributes, attribute groups, product translationsRequired fields come from owner category templates, not model assumptions
catalog.attributes.audit
{
  "protocol": "1.0",
  "id": "attributes-01-1",
  "op": "catalog.attributes.audit",
  "params": {
    "categoryId": "7",
    "requiredAttributeIds": [
      "11",
      "12"
    ],
    "language": "en-gb"
  }
}
ATTRIBUTES-02
P2 · W · CORE
Create category specification dictionariesattribute groups, attributes, translationsCheck semantically similar existing attributes
attributes.create
{
  "protocol": "1.0",
  "id": "attributes-02-1",
  "op": "attributes.create",
  "params": {
    "attribute": {
      "groupId": "3",
      "name": "Material",
      "language": "en-gb"
    }
  }
}
ATTRIBUTES-03
P2 · W · CORE
Populate specifications from supplier dataproduct attributes, supplier evidence, languageKeep evidence per value; do not invent missing facts
catalog.product.attributes.set
{
  "protocol": "1.0",
  "id": "attributes-03-1",
  "op": "catalog.product.attributes.set",
  "params": {
    "id": "42",
    "language": "en-gb",
    "expectedRevision": "rev-demo",
    "values": [
      {
        "attributeId": "11",
        "value": "Ceramic"
      }
    ]
  }
}
ATTRIBUTES-04
P2 · W · CORE
Normalize specification formattingattribute text values, units, revisionsShow unit conversions and before/after; text values are not always numeric
catalog.product.attributes.set
{
  "protocol": "1.0",
  "id": "attributes-04-1",
  "op": "catalog.product.attributes.set",
  "params": {
    "id": "42",
    "language": "en-gb",
    "expectedRevision": "rev-demo",
    "values": [
      {
        "attributeId": "12",
        "value": "300 ml"
      }
    ]
  }
}

Options and values ​

ID / stage / type / sourceScenarioRequired data and relationshipsOutcome and acceptance criterionModule request example
OPTIONS-01
P1 · R · CORE
Explain available sizes, colors and surchargesproduct options: required, type, values, quantity, adjustmentsDo not assume option combinations are first-class OpenCart variant SKUs
catalog.options.get
{
  "protocol": "1.0",
  "id": "options-01-1",
  "op": "catalog.options.get",
  "params": {
    "id": "42"
  }
}
OPTIONS-02
P2 · W · CORE
Create an option and its valuesoptions, option values, localized namesOption type determines valid structure; check existing values
options.create
{
  "protocol": "1.0",
  "id": "options-02-1",
  "op": "options.create",
  "params": {
    "option": {
      "name": "Color",
      "language": "en-gb",
      "type": "select",
      "values": [
        "White",
        "Black"
      ]
    }
  }
}
OPTIONS-03
P2 · W · CORE
Attach selectable options to a productproducts ↔ options, required, revisionsPreserve existing options; show required-selection changes
catalog.product.options.attach
{
  "protocol": "1.0",
  "id": "options-03-1",
  "op": "catalog.product.options.attach",
  "params": {
    "id": "42",
    "expectedRevision": "rev-demo",
    "optionId": "3",
    "required": true,
    "valueIds": [
      "11",
      "12"
    ]
  }
}
OPTIONS-04
P2 · W · CORE
Change a specific option value surcharge or stockoption values: price prefix, amount, weight, quantityBase-price writes do not update options; verify platform calculation
catalog.option_value.update
{
  "protocol": "1.0",
  "id": "options-04-1",
  "op": "catalog.option_value.update",
  "params": {
    "id": "42",
    "optionValueId": "11",
    "expectedRevision": "rev-demo",
    "set": {
      "quantity": 8,
      "priceAdjustment": {
        "amount": "2.0000",
        "currency": "USD",
        "direction": "add"
      }
    }
  }
}

Catalog filters ​

ID / stage / type / sourceScenarioRequired data and relationshipsOutcome and acceptance criterionModule request example
FILTERS-01
P1 · R · CORE
Find products missing category filter assignmentsfilter groups, filters, category/product bindingsShow missing associations; storefront facets are not JSON query predicates
catalog.filters.audit
{
  "protocol": "1.0",
  "id": "filters-01-1",
  "op": "catalog.filters.audit",
  "params": {
    "categoryId": "7",
    "limit": 50
  }
}
FILTERS-02
P2 · W · CORE
Create a filter group and valuesfilter groups, values, translationsCheck duplicates and languages; do not invent product properties
filters.group.create
{
  "protocol": "1.0",
  "id": "filters-02-1",
  "op": "filters.group.create",
  "params": {
    "name": "Material",
    "language": "en-gb",
    "values": [
      "Ceramic",
      "Glass"
    ]
  }
}
FILTERS-03
P2 · W · CORE
Assign filters from verified specificationscategories ↔ filters, products ↔ filtersShow mapping rules and exact association changes
catalog.product.filters.add
{
  "protocol": "1.0",
  "id": "filters-03-1",
  "op": "catalog.product.filters.add",
  "params": {
    "id": "42",
    "filterIds": [
      "11"
    ],
    "expectedRevision": "rev-demo"
  }
}

Prices, discounts and specials ​

ID / stage / type / sourceScenarioRequired data and relationshipsOutcome and acceptance criterionModule request example
PRICES-01
P0 · W · CORE
Set an approved product base pricebasePrice, currency, revision, affectedStoreIdsExact values/all storefronts, current revision, receipt and read-back
product.get
{
  "protocol": "1.0",
  "id": "prices-01-1",
  "op": "product.get",
  "params": {
    "ids": [
      "42"
    ]
  }
}

product.apply
{
  "protocol": "1.0",
  "id": "prices-01-2",
  "op": "product.apply",
  "params": {
    "items": [
      {
        "id": "42",
        "expected": {
          "price": "20.0000"
        },
        "set": {
          "price": "19.0000"
        }
      }
    ]
  }
}

product.get
{
  "protocol": "1.0",
  "id": "prices-01-3",
  "op": "product.get",
  "params": {
    "ids": [
      "42"
    ]
  }
}

Read → owner approval in API → compare-and-set → read-back.
PRICES-02
P1 · W · SD
Update prices from a supplier filesupplier rows, products.search/get, products.price.setServer matches rows; resolve ambiguity; report each product outcome
product.search
{
  "protocol": "1.0",
  "id": "prices-02-1",
  "op": "product.search",
  "params": {
    "identifiers": [
      {
        "type": "sku",
        "value": "MUG-42"
      }
    ]
  }
}

product.get
{
  "protocol": "1.0",
  "id": "prices-02-2",
  "op": "product.get",
  "params": {
    "ids": [
      "42"
    ]
  }
}

product.apply
{
  "protocol": "1.0",
  "id": "prices-02-3",
  "op": "product.apply",
  "params": {
    "items": [
      {
        "id": "42",
        "expected": {
          "price": "20.0000"
        },
        "set": {
          "price": "19.0000"
        }
      }
    ]
  }
}

product.get
{
  "protocol": "1.0",
  "id": "prices-02-4",
  "op": "product.get",
  "params": {
    "ids": [
      "42"
    ]
  }
}

File parsing and matching are in API; repeat steps per approved item, not blindly.
PRICES-03
P1 · W · SD
Raise category prices by a specified percentagematerialized product IDs, price revisions, formulaServer formula, explicit rounding, frozen plan; no global transaction
catalog.query
{
  "protocol": "1.0",
  "id": "prices-03-1",
  "op": "catalog.query",
  "params": {
    "filter": {
      "field": "categoryId",
      "op": "eq",
      "value": "7"
    },
    "limit": 50
  }
}

product.get
{
  "protocol": "1.0",
  "id": "prices-03-2",
  "op": "product.get",
  "params": {
    "ids": [
      "42"
    ]
  }
}

product.apply
{
  "protocol": "1.0",
  "id": "prices-03-3",
  "op": "product.apply",
  "params": {
    "items": [
      {
        "id": "42",
        "expected": {
          "price": "20.0000"
        },
        "set": {
          "price": "19.0000"
        }
      }
    ]
  }
}

Selection/formula/rounding/approval are API work; the write is one example item.
PRICES-04
P2 · R · CORE
Explain why a shopper sees a different pricebasePrice, specials, discounts, customer group, quantityUse group, quantity, date and tax context; platform computes total
pricing.quote
{
  "protocol": "1.0",
  "id": "prices-04-1",
  "op": "pricing.quote",
  "params": {
    "id": "42",
    "quantity": 2,
    "segmentId": "1",
    "currency": "USD"
  }
}
PRICES-05
P2 · W · CORE
Schedule a special pricespecials: price, priority, customerGroupId, datesShow overlaps, timezone and priority; preserve base price
pricing.special.create
{
  "protocol": "1.0",
  "id": "prices-05-1",
  "op": "pricing.special.create",
  "params": {
    "id": "42",
    "expectedRevision": "rev-demo",
    "price": {
      "amount": "17.0000",
      "currency": "USD"
    },
    "period": {
      "from": "2026-09-01T00:00:00Z",
      "to": "2026-10-01T00:00:00Z"
    },
    "audience": {
      "segmentId": "1"
    },
    "priority": 1
  }
}
PRICES-06
P2 · W · CORE
Configure quantity discountsdiscounts: quantity threshold, group, priority, datesValidate quantity thresholds, groups and overlapping rules
pricing.tier.create
{
  "protocol": "1.0",
  "id": "prices-06-1",
  "op": "pricing.tier.create",
  "params": {
    "id": "42",
    "expectedRevision": "rev-demo",
    "minQuantity": 10,
    "price": {
      "amount": "15.0000",
      "currency": "USD"
    },
    "audience": {
      "segmentId": "1"
    }
  }
}
PRICES-07
P2 · R · EXT
Find below-cost sales or unusual pricessupplier costs, tax basis, price historyCosts/history require a source; absent data cannot prove margin
analytics.query
{
  "protocol": "1.0",
  "id": "prices-07-1",
  "op": "analytics.query",
  "params": {
    "dataset": "sales",
    "metrics": [
      "grossMargin"
    ],
    "period": {
      "from": "2026-09-01T00:00:00Z",
      "to": "2026-10-01T00:00:00Z"
    },
    "policyId": "completedOrders",
    "groupBy": [
      "id"
    ],
    "limit": 50
  }
}

Inventory and physical properties ​

ID / stage / type / sourceScenarioRequired data and relationshipsOutcome and acceptance criterionModule request example
INVENTORY-01
P1 · R · CORE
Audit stock and availability inconsistenciesproduct/option stock, subtract, minimum, stock statusDistinguish stock labels, quantity and purchase permission
inventory.audit
{
  "protocol": "1.0",
  "id": "inventory-01-1",
  "op": "inventory.audit",
  "params": {
    "ids": [
      "42"
    ]
  }
}
INVENTORY-02
P2 · W · CORE
Apply a stocktake countinventory revisions, count sheet, product/option IDsSpecify set versus delta; protect concurrent sales
inventory.set
{
  "protocol": "1.0",
  "id": "inventory-02-1",
  "op": "inventory.set",
  "params": {
    "items": [
      {
        "id": "42",
        "expected": {
          "quantity": 8
        },
        "set": {
          "quantity": 12
        }
      }
    ]
  }
}
INVENTORY-03
P2 · W · CORE
Change minimum quantity or stock subtraction rulesminimum, subtract, out-of-stock behaviorShow effects on checkout eligibility and future orders
inventory.policy.set
{
  "protocol": "1.0",
  "id": "inventory-03-1",
  "op": "inventory.policy.set",
  "params": {
    "id": "42",
    "expectedRevision": "rev-demo",
    "minimumQuantity": 2,
    "subtract": true
  }
}
INVENTORY-04
P2 · W · CORE
Set weight, dimensions and storage locationweight, dimensions, units, shipping flag, locationValidate units and evidence; do not infer weight from an image
catalog.shipping.set
{
  "protocol": "1.0",
  "id": "inventory-04-1",
  "op": "catalog.shipping.set",
  "params": {
    "id": "42",
    "expectedRevision": "rev-demo",
    "weight": {
      "value": "0.3000",
      "unit": "kg"
    },
    "dimensions": {
      "length": "10.0000",
      "width": "10.0000",
      "height": "12.0000",
      "unit": "cm"
    }
  }
}
INVENTORY-05
P2 · R · EXT
Prepare replenishment recommendationsstock, sales velocity, supplier lead time, safety stockLead time needs an explicit source; recommendations do not place purchase orders
analytics.query
{
  "protocol": "1.0",
  "id": "inventory-05-1",
  "op": "analytics.query",
  "params": {
    "dataset": "productPerformance",
    "metrics": [
      "unitsSold",
      "stockQuantity"
    ],
    "period": {
      "from": "2026-09-01T00:00:00Z",
      "to": "2026-10-01T00:00:00Z"
    },
    "groupBy": [
      "id"
    ],
    "limit": 50
  }
}

Images and media ​

ID / stage / type / sourceScenarioRequired data and relationshipsOutcome and acceptance criterionModule request example
MEDIA-01
P1 · R · CORE
Find missing or duplicate imagesimage associations, file metadata, product IDsDistinguish missing files from unreachable URLs; metadata needs a capability
media.audit
{
  "protocol": "1.0",
  "id": "media-01-1",
  "op": "media.audit",
  "params": {
    "checks": [
      "missingFile",
      "duplicateContent"
    ],
    "limit": 50
  }
}
MEDIA-02
P2 · W · CORE
Upload an image and set it as primarymedia upload, MIME, size, dimensions, product imagesAllowed types, sizes and paths; protect remote fetches against SSRF
media.upload.prepare
{
  "protocol": "1.0",
  "id": "media-02-1",
  "op": "media.upload.prepare",
  "params": {
    "fileName": "mug.jpg",
    "mimeType": "image/jpeg",
    "bytes": 120000
  }
}

catalog.product.images.set
{
  "protocol": "1.0",
  "id": "media-02-2",
  "op": "catalog.product.images.set",
  "params": {
    "id": "42",
    "expectedRevision": "rev-demo",
    "primaryMediaId": "media-upload-result"
  }
}
MEDIA-03
P2 · W · CORE
Reorder a product galleryproduct image associations, order, revisionChange associations without deleting shared files
catalog.product.images.set
{
  "protocol": "1.0",
  "id": "media-03-1",
  "op": "catalog.product.images.set",
  "params": {
    "id": "42",
    "expectedRevision": "rev-demo",
    "mediaIds": [
      "m2",
      "m1"
    ]
  }
}
MEDIA-04
P2 · H · CORE
Prepare unused-media cleanupmedia references across products/categories/bannersRequire complete reference analysis; automatic deletion is outside the contract
media.references.get
{
  "protocol": "1.0",
  "id": "media-04-1",
  "op": "media.references.get",
  "params": {
    "mediaIds": [
      "m1",
      "m2"
    ]
  }
}

Read-only preparation; no mutation request.

Digital products and downloads ​

ID / stage / type / sourceScenarioRequired data and relationshipsOutcome and acceptance criterionModule request example
DOWNLOADS-01
P1 · R · CORE
Audit digital product filesdownloads, product associations, file availabilityDo not expose server paths or private download URLs to shoppers
downloads.audit
{
  "protocol": "1.0",
  "id": "downloads-01-1",
  "op": "downloads.audit",
  "params": {
    "ids": [
      "42"
    ]
  }
}
DOWNLOADS-02
P2 · W · CORE
Attach a download to a digital productdownloads, translations, product bindingsVerify ownership and binding; do not make the file public
catalog.product.downloads.attach
{
  "protocol": "1.0",
  "id": "downloads-02-1",
  "op": "catalog.product.downloads.attach",
  "params": {
    "id": "42",
    "downloadId": "d1",
    "expectedRevision": "rev-demo"
  }
}
DOWNLOADS-03
P3 · R · CORE
Help a shopper access a purchased downloadverified customer, order status, download entitlementEntitlement follows platform order/session, not a chat assertion
downloads.own.list
{
  "protocol": "1.0",
  "id": "downloads-03-1",
  "op": "downloads.own.list",
  "params": {
    "shopperPass": "SERVER_BOUND_PASS",
    "orderId": "123"
  }
}

Customers ​

ID / stage / type / sourceScenarioRequired data and relationshipsOutcome and acceptance criterionModule request example
CUSTOMERS-01
P1 · R · CORE
Find a customer and summarize their historycustomers: ID, email, telephone, store, groupMinimize personal fields; exclude other teams’ data
customers.search
{
  "protocol": "1.0",
  "id": "customers-01-1",
  "op": "customers.search",
  "params": {
    "limit": 50,
    "filter": {
      "email": "[email protected]"
    },
    "fields": [
      "id",
      "name"
    ]
  }
}

customers.history.get
{
  "protocol": "1.0",
  "id": "customers-01-2",
  "op": "customers.history.get",
  "params": {
    "customerId": "c42"
  }
}
CUSTOMERS-02
P1 · R · CORE
Identify new, repeat or inactive customerscustomers, orders, dates, statuses, currencyDefine period and qualifying orders; a segment is not marketing consent
customers.segment.query
{
  "protocol": "1.0",
  "id": "customers-02-1",
  "op": "customers.segment.query",
  "params": {
    "segment": "repeat",
    "period": {
      "from": "2026-09-01T00:00:00Z",
      "to": "2026-10-01T00:00:00Z"
    },
    "minOrders": 2,
    "limit": 50
  }
}
CUSTOMERS-03
P2 · W · CORE
Correct profile contact details or an addresscustomer profile, addresses, revisionsVerify identity; profile edits do not alter historical order addresses
customers.address.update
{
  "protocol": "1.0",
  "id": "customers-03-1",
  "op": "customers.address.update",
  "params": {
    "customerId": "c42",
    "addressId": "a1",
    "expectedRevision": "rev-demo",
    "set": {
      "city": "Kyiv",
      "postalCode": "01001"
    }
  }
}
CUSTOMERS-04
P2 · W · CORE
Create a customer or approve registrationcustomers, groups, approval rulesCheck duplicates and registration rules; never expose passwords to the agent
customers.approval.accept
{
  "protocol": "1.0",
  "id": "customers-04-1",
  "op": "customers.approval.accept",
  "params": {
    "customerId": "c42",
    "expectedRevision": "rev-demo"
  }
}
CUSTOMERS-05
P2 · W · CORE
Add an internal customer notecustomer history, owner noteDo not send internal notes to the customer; record author and source
customers.note.add
{
  "protocol": "1.0",
  "id": "customers-05-1",
  "op": "customers.note.add",
  "params": {
    "customerId": "c42",
    "text": "Owner requested a delivery call.",
    "visibility": "internal"
  }
}
CUSTOMERS-06
P2 · H · CORE
Prepare profile export, deletion or mergingcustomer records, orders, consent, retention policyVerify identity and retention policy; no arbitrary financial-history deletion
customers.dependencies.get
{
  "protocol": "1.0",
  "id": "customers-06-1",
  "op": "customers.dependencies.get",
  "params": {
    "customerIds": [
      "c42",
      "c43"
    ]
  }
}

Read-only preparation; no mutation request.

Customer groups and custom fields ​

ID / stage / type / sourceScenarioRequired data and relationshipsOutcome and acceptance criterionModule request example
CUSTOMER-GROUPS-01
P1 · R · CORE
Explain a customer group’s pricing and rulescustomer groups, discount/special/tax associationsShow tax/special associations; customer groups are not admin roles
customer.groups.get
{
  "protocol": "1.0",
  "id": "customer-groups-01-1",
  "op": "customer.groups.get",
  "params": {
    "groupId": "g1",
    "include": [
      "pricingRules",
      "taxRules"
    ]
  }
}
CUSTOMER-GROUPS-02
P2 · W · CORE
Move selected customers to another groupcustomers, customerGroupId, revisionsShow future pricing impact; do not recalculate old orders
customers.group.set
{
  "protocol": "1.0",
  "id": "customer-groups-02-1",
  "op": "customers.group.set",
  "params": {
    "customerId": "c42",
    "expected": {
      "groupId": "g1"
    },
    "set": {
      "groupId": "g2"
    }
  }
}
CUSTOMER-GROUPS-03
P2 · W · CORE
Configure a registration custom fieldcustom fields: type, location, group rules, validationRequired fields can block registration; validate existing value compatibility
customer.fields.create
{
  "protocol": "1.0",
  "id": "customer-groups-03-1",
  "op": "customer.fields.create",
  "params": {
    "field": {
      "name": "Company",
      "type": "text",
      "location": "account",
      "required": false,
      "groupIds": [
        "g2"
      ]
    }
  }
}

Customer credit and reward points ​

ID / stage / type / sourceScenarioRequired data and relationshipsOutcome and acceptance criterionModule request example
LOYALTY-01
P1 · R · CORE
Explain credit balance and reward movementscustomer transactions, reward ledger, order referencesReconcile ledger; do not mix money and points
customers.ledger.get
{
  "protocol": "1.0",
  "id": "loyalty-01-1",
  "op": "customers.ledger.get",
  "params": {
    "customerId": "c42",
    "include": [
      "credit",
      "rewards"
    ]
  }
}
LOYALTY-02
P2 · W · CORE
Apply an approved reward-point adjustmentrewards: customer, points delta, reason, operation IDSeparate permission and reason; retries must not duplicate points
customers.rewards.adjust
{
  "protocol": "1.0",
  "id": "loyalty-02-1",
  "op": "customers.rewards.adjust",
  "params": {
    "customerId": "c42",
    "expectedBalance": 100,
    "delta": 20,
    "reason": "Owner-approved correction"
  }
}
LOYALTY-03
P2 · H · CORE
Prepare a customer credit adjustmentcustomer credit transactions, currency, reasonFinancial operation requiring manual review and a separate contract
customers.ledger.get
{
  "protocol": "1.0",
  "id": "loyalty-03-1",
  "op": "customers.ledger.get",
  "params": {
    "customerId": "c42",
    "include": [
      "credit"
    ]
  }
}

Read-only preparation; no mutation request.

Orders ​

ID / stage / type / sourceScenarioRequired data and relationshipsOutcome and acceptance criterionModule request example
ORDERS-01
P1 · R · CORE
Find an order and explain its statusorders, items, totals, history, status IDsDistinguish order status from verified payment and delivery
orders.get
{
  "protocol": "1.0",
  "id": "orders-01-1",
  "op": "orders.get",
  "params": {
    "orderId": "123",
    "include": [
      "items",
      "history"
    ]
  }
}
ORDERS-02
P1 · R · CORE
Find stalled orders or possible duplicatesorders: dates, status history, customer, amountOwner defines waiting threshold; do not auto-cancel similar orders
orders.search
{
  "protocol": "1.0",
  "id": "orders-02-1",
  "op": "orders.search",
  "params": {
    "limit": 50,
    "filter": {
      "statusIds": [
        "pending"
      ],
      "createdBefore": "2026-10-01T00:00:00Z"
    }
  }
}
ORDERS-03
P1 · R · CORE
Explain an order totalorder items, options, totals, taxes, shipping, currencyUse the historical order snapshot, not current catalog prices
orders.get
{
  "protocol": "1.0",
  "id": "orders-03-1",
  "op": "orders.get",
  "params": {
    "orderId": "123",
    "include": [
      "items",
      "totals",
      "taxes",
      "shipping"
    ]
  }
}
ORDERS-04
P2 · W · CORE
Add an order comment or change statusorder history: status, comment, notify flagValidate transition; explicitly approve notification; account for stock and points
orders.status.set
{
  "protocol": "1.0",
  "id": "orders-04-1",
  "op": "orders.status.set",
  "params": {
    "orderId": "123",
    "expected": {
      "statusId": "pending"
    },
    "set": {
      "statusId": "processing"
    },
    "comment": "Confirmed by owner.",
    "notifyCustomer": false
  }
}
ORDERS-05
P2 · W · CORE
Allocate an invoice number and prepare a documentinvoice number, prefix, order revisionRetry must not allocate a new number; PDF/fiscal documents are separate capabilities
orders.invoice.allocate
{
  "protocol": "1.0",
  "id": "orders-05-1",
  "op": "orders.invoice.allocate",
  "params": {
    "orderId": "123",
    "expected": {
      "invoiceNumber": null
    }
  }
}
ORDERS-06
P2 · H · CORE
Amend addresses/items or create an order manuallyorder snapshot, customer, addresses, items, totalsRequires native recalculation contract; no direct database total edits
orders.get
{
  "protocol": "1.0",
  "id": "orders-06-1",
  "op": "orders.get",
  "params": {
    "orderId": "123",
    "include": [
      "items",
      "addresses",
      "totals"
    ]
  }
}

Read-only preparation; no mutation request.

Shipping, payments and fulfillment ​

ID / stage / type / sourceScenarioRequired data and relationshipsOutcome and acceptance criterionModule request example
FULFILLMENT-01
P1 · R · CORE
Show selected payment and shipping methodsorder shipping/payment method codes and titlesA selected method does not prove payment or shipment
orders.get
{
  "protocol": "1.0",
  "id": "fulfillment-01-1",
  "op": "orders.get",
  "params": {
    "orderId": "123",
    "include": [
      "paymentMethod",
      "shippingMethod"
    ]
  }
}
FULFILLMENT-02
P2 · R · EXT
Check shipment tracking and delayscarrier tracking, order association, last eventRequires carrier adapter/API; show last-event timestamp
shipments.track
{
  "protocol": "1.0",
  "id": "fulfillment-02-1",
  "op": "shipments.track",
  "params": {
    "orderId": "123"
  }
}
FULFILLMENT-03
P2 · W · EXT
Create a shipment and retrieve its labelcarrier shipment request, items, address, label receiptApprove cost/address; idempotency must cover the carrier
shipments.create
{
  "protocol": "1.0",
  "id": "fulfillment-03-1",
  "op": "shipments.create",
  "params": {
    "orderId": "123",
    "carrierServiceId": "carrier-demo",
    "expectedOrderRevision": "rev-demo"
  }
}
FULFILLMENT-04
P2 · H · EXT
Verify payment or prepare a monetary refundpayment gateway transaction, refund/capture statusGateway is authoritative; capture/refund execution is outside pilot permissions
payments.status.get
{
  "protocol": "1.0",
  "id": "fulfillment-04-1",
  "op": "payments.status.get",
  "params": {
    "orderId": "123"
  }
}

Read-only preparation; no mutation request.

Product returns ​

ID / stage / type / sourceScenarioRequired data and relationshipsOutcome and acceptance criterionModule request example
RETURNS-01
P1 · R · CORE
Find open returns and their reasonsreturns, reasons, actions, history, order itemsShow product, quantity, state and next required action
returns.search
{
  "protocol": "1.0",
  "id": "returns-01-1",
  "op": "returns.search",
  "params": {
    "limit": 50,
    "filter": {
      "statusIds": [
        "open"
      ]
    }
  }
}
RETURNS-02
P2 · W · CORE
Create a return requestreturn request, order/product reference, quantity, reasonVerify order association and quantity; no automatic monetary refund
returns.create
{
  "protocol": "1.0",
  "id": "returns-02-1",
  "op": "returns.create",
  "params": {
    "orderId": "123",
    "id": "42",
    "quantity": 1,
    "reasonId": "damaged"
  }
}
RETURNS-03
P2 · W · CORE
Update return status and add a notereturn history, status, action, commentStatus does not prove restocking or payout
returns.status.set
{
  "protocol": "1.0",
  "id": "returns-03-1",
  "op": "returns.status.set",
  "params": {
    "returnId": "r1",
    "expected": {
      "statusId": "open"
    },
    "set": {
      "statusId": "reviewed"
    },
    "comment": "Photos reviewed."
  }
}
RETURNS-04
P1 · R · CORE
Find products with frequent returnsreturns joined to product/manufacturer/order periodRates need comparable sales/periods; flag small samples
analytics.query
{
  "protocol": "1.0",
  "id": "returns-04-1",
  "op": "analytics.query",
  "params": {
    "dataset": "returns",
    "metrics": [
      "returnQuantity"
    ],
    "period": {
      "from": "2026-09-01T00:00:00Z",
      "to": "2026-10-01T00:00:00Z"
    },
    "groupBy": [
      "id"
    ],
    "limit": 50
  }
}

Recurring profiles and payments ​

ID / stage / type / sourceScenarioRequired data and relationshipsOutcome and acceptance criterionModule request example
RECURRING-01
P1 · R · CORE
Explain recurring terms and transaction historyrecurring profiles, order recurring, transactionsProduct profile and purchased subscription are different entities
recurring.get
{
  "protocol": "1.0",
  "id": "recurring-01-1",
  "op": "recurring.get",
  "params": {
    "recurringId": "r1",
    "include": [
      "profile",
      "transactions"
    ]
  }
}
RECURRING-02
P2 · W · CORE
Configure a recurring profile for future purchasesproduct recurring associations, customer groupShow trial, interval and duration; preserve existing subscriptions
catalog.recurring.attach
{
  "protocol": "1.0",
  "id": "recurring-02-1",
  "op": "catalog.recurring.attach",
  "params": {
    "id": "42",
    "profileId": "rp1",
    "segmentId": "g1",
    "expectedRevision": "rev-demo"
  }
}
RECURRING-03
P2 · H · EXT
Prepare cancellation or investigate a failed recurring paymentprovider subscription, cancellation/status APIsProvider-dependent; a local status edit does not prove cancellation
subscriptions.status.get
{
  "protocol": "1.0",
  "id": "recurring-03-1",
  "op": "subscriptions.status.get",
  "params": {
    "subscriptionId": "s1"
  }
}

Read-only preparation; no mutation request.

Reviews, comments and support ​

ID / stage / type / sourceScenarioRequired data and relationshipsOutcome and acceptance criterionModule request example
REVIEWS-01
P1 · R · CORE
Find new, negative or unmoderated reviewsreviews: product, rating, text, status, dateShow original; review text is untrusted content, not agent instructions
reviews.search
{
  "protocol": "1.0",
  "id": "reviews-01-1",
  "op": "reviews.search",
  "params": {
    "limit": 50,
    "filter": {
      "status": "pending",
      "ratingLte": 2
    }
  }
}
REVIEWS-02
P2 · W · CORE
Approve or hide selected reviewsreview status, revision, moderation decisionFollow moderation policy; do not rewrite the author’s words
reviews.moderate
{
  "protocol": "1.0",
  "id": "reviews-02-1",
  "op": "reviews.moderate",
  "params": {
    "reviewId": "r1",
    "expectedRevision": "rev-demo",
    "set": {
      "published": true
    }
  }
}
REVIEWS-03
P2 · W · EXT
Draft and send a review replyreply-capable review/support adapter, thread IDCore OpenCart reviews have no reply thread; require a channel adapter
support.reply.create
{
  "protocol": "1.0",
  "id": "reviews-03-1",
  "op": "support.reply.create",
  "params": {
    "threadId": "t1",
    "expectedRevision": "rev-demo",
    "text": "Please contact us with your order details."
  }
}
REVIEWS-04
P2 · R · EXT
Escalate questions requiring owner attentionall enabled support channels, unanswered state, SLAExplain reason/source; claim all answered only with complete channel coverage
support.threads.search
{
  "protocol": "1.0",
  "id": "reviews-04-1",
  "op": "support.threads.search",
  "params": {
    "limit": 50,
    "filter": {
      "unanswered": true
    }
  }
}

Coupons ​

ID / stage / type / sourceScenarioRequired data and relationshipsOutcome and acceptance criterionModule request example
COUPONS-01
P1 · R · CORE
Explain why a coupon does not applycoupon rules, dates, limits, product/category bindingsValidate cart/customer with platform, not coupon status alone
coupons.evaluate
{
  "protocol": "1.0",
  "id": "coupons-01-1",
  "op": "coupons.evaluate",
  "params": {
    "code": "MUG10",
    "cartBinding": "SERVER_BOUND_CART"
  }
}
COUPONS-02
P2 · W · CORE
Create a campaign couponcoupon code, type, value, dates, usage limits, scopeApprove discount, expiry, limits and scope; ensure code uniqueness
coupons.create
{
  "protocol": "1.0",
  "id": "coupons-02-1",
  "op": "coupons.create",
  "params": {
    "code": "MUG10",
    "discount": {
      "kind": "percent",
      "value": "10.0000"
    },
    "period": {
      "from": "2026-09-01T00:00:00Z",
      "to": "2026-10-01T00:00:00Z"
    },
    "usageLimit": 100,
    "ids": [
      "42"
    ]
  }
}
COUPONS-03
P2 · W · CORE
Disable or extend a couponcoupon revision, enabled, datesPreserve redemption history and existing orders
coupons.status.set
{
  "protocol": "1.0",
  "id": "coupons-03-1",
  "op": "coupons.status.set",
  "params": {
    "couponId": "cp1",
    "expectedRevision": "rev-demo",
    "enabled": false
  }
}
COUPONS-04
P1 · R · CORE
Analyze coupon usagecoupon history, orders, totals, periodShow orders and discount totals; do not claim causal sales uplift
analytics.query
{
  "protocol": "1.0",
  "id": "coupons-04-1",
  "op": "analytics.query",
  "params": {
    "dataset": "coupons",
    "metrics": [
      "uses",
      "discountTotal"
    ],
    "period": {
      "from": "2026-09-01T00:00:00Z",
      "to": "2026-10-01T00:00:00Z"
    },
    "groupBy": [
      "couponId"
    ],
    "limit": 50
  }
}

Gift vouchers ​

ID / stage / type / sourceScenarioRequired data and relationshipsOutcome and acceptance criterionModule request example
VOUCHERS-01
P1 · R · CORE
Check a voucher and remaining valuevoucher, redemption history, currency, statusTreat redeemable codes as sensitive; restrict and mask them
vouchers.get
{
  "protocol": "1.0",
  "id": "vouchers-01-1",
  "op": "vouchers.get",
  "params": {
    "voucherId": "v1",
    "include": [
      "balance",
      "history"
    ]
  }
}
VOUCHERS-02
P2 · W · CORE
Issue an approved gift vouchervoucher issue, amount, recipient, theme, notifySeparate financial permission; email delivery is a separate effect
vouchers.issue
{
  "protocol": "1.0",
  "id": "vouchers-02-1",
  "op": "vouchers.issue",
  "params": {
    "amount": {
      "amount": "25.0000",
      "currency": "USD"
    },
    "recipientEmail": "[email protected]",
    "notify": false
  }
}
VOUCHERS-03
P2 · H · CORE
Prepare voucher blocking or correctionvoucher status, redemptions, outstanding valuePreserve redeemed value; show outstanding customer liability
vouchers.get
{
  "protocol": "1.0",
  "id": "vouchers-03-1",
  "op": "vouchers.get",
  "params": {
    "voucherId": "v1",
    "include": [
      "balance",
      "history"
    ]
  }
}

Read-only preparation; no mutation request.

Campaigns, affiliates and messaging ​

ID / stage / type / sourceScenarioRequired data and relationshipsOutcome and acceptance criterionModule request example
MARKETING-01
P2 · W · CORE
Create a tracked campaign and linkmarketing campaigns, tracking code, target URLValidate URL/code uniqueness; no external ad-account changes
campaigns.create
{
  "protocol": "1.0",
  "id": "marketing-01-1",
  "op": "campaigns.create",
  "params": {
    "name": "Autumn mugs",
    "trackingCode": "autumn-mugs",
    "targetUrl": "https://shop.example/mugs"&#10;  }
}
MARKETING-02
P1 · R · CORE
Compare campaigns and affiliatescampaign clicks, attributed orders, affiliate trackingExplain attribution; reliable ROAS requires advertising spend
analytics.query
{
  "protocol": "1.0",
  "id": "marketing-02-1",
  "op": "analytics.query",
  "params": {
    "dataset": "campaigns",
    "metrics": [
      "clicks",
      "attributedOrders"
    ],
    "period": {
      "from": "2026-09-01T00:00:00Z",
      "to": "2026-10-01T00:00:00Z"
    },
    "groupBy": [
      "campaignId"
    ],
    "limit": 50
  }
}
MARKETING-03
P2 · W · EXT
Prepare a message campaign for a segmentsegments, consent, unsubscribe, delivery providerSeparate send approval; require consent evidence and delivery deduplication
customers.segment.query
{
  "protocol": "1.0",
  "id": "marketing-03-1",
  "op": "customers.segment.query",
  "params": {
    "segment": "repeat",
    "marketingConsent": true,
    "fields": [
      "id"
    ],
    "limit": 50
  }
}

Only recipient selection is illustrated; approved delivery uses the messaging provider.
MARKETING-04
P2 · H · CORE
Prepare commission changes or affiliate payoutaffiliate profiles, commission, transaction historyAccrual is not payout; no payment-detail changes through chat
affiliates.get
{
  "protocol": "1.0",
  "id": "marketing-04-1",
  "op": "affiliates.get",
  "params": {
    "affiliateId": "a1",
    "include": [
      "commission",
      "accruals"
    ]
  }
}

Read-only preparation; no mutation request.

Content, translations and SEO ​

ID / stage / type / sourceScenarioRequired data and relationshipsOutcome and acceptance criterionModule request example
CONTENT-01
P1 · R · CORE
Audit missing content and duplicate SEO URLsproduct/category/page translations, meta fields, seo urlsScope by language/storefront; apply platform URL uniqueness rules
content.audit
{
  "protocol": "1.0",
  "id": "content-01-1",
  "op": "content.audit",
  "params": {
    "resources": [
      "products",
      "categories",
      "pages"
    ],
    "checks": [
      "missingTranslation",
      "duplicateSeoUrl"
    ],
    "language": "en-gb",
    "limit": 50
  }
}
CONTENT-02
P2 · W · CORE
Draft and publish improved contenttranslations: name, description, meta title/descriptionShow per-language diff; do not invent specifications or guarantees
content.translation.set
{
  "protocol": "1.0",
  "id": "content-02-1",
  "op": "content.translation.set",
  "params": {
    "resource": {
      "type": "product",
      "id": "42"
    },
    "language": "en-gb",
    "expectedRevision": "rev-demo",
    "set": {
      "name": "Ceramic mug",
      "metaTitle": "Ceramic mug | Crafts"
    }
  }
}
CONTENT-03
P2 · W · CORE
Create a shipping, payment or FAQ pageinformation pages, storeIds, status, sort orderOwner supplies terms; legal assertions need review
pages.create
{
  "protocol": "1.0",
  "id": "content-03-1",
  "op": "pages.create",
  "params": {
    "language": "en-gb",
    "page": {
      "title": "Delivery",
      "body": "Owner-approved delivery terms.",
      "enabled": false
    }
  }
}
CONTENT-04
P2 · W · CORE
Change a product/category SEO URLseo urls: resource, storeId, language, keywordCheck collisions; old-URL redirects require a separate capability
seo.urls.set
{
  "protocol": "1.0",
  "id": "content-04-1",
  "op": "seo.urls.set",
  "params": {
    "resource": {
      "type": "product",
      "id": "42"
    },
    "language": "en-gb",
    "expectedRevision": "rev-demo",
    "keyword": "ceramic-mug"
  }
}
CONTENT-05
P2 · R · EXT
Check broken links and indexabilitycrawler results, redirects, indexability, analyticsExternal bounded crawler; search rankings cannot be inferred from shop DBNo module request: a bounded crawler checks public pages.

Banners, layouts and presentation ​

ID / stage / type / sourceScenarioRequired data and relationshipsOutcome and acceptance criterionModule request example
DESIGN-01
P1 · R · CORE
Show banner/module placementsbanners, layout routes, placements, enabled modulesConfiguration alone does not prove visible rendering
design.placements.get
{
  "protocol": "1.0",
  "id": "design-01-1",
  "op": "design.placements.get",
  "params": {
    "bannerId": "b1"
  }
}
DESIGN-02
P2 · W · CORE
Replace a promotion bannerbanner items: language, image, title, link, sortPreview, locale, valid URL and approval; no theme-file changes
banners.update
{
  "protocol": "1.0",
  "id": "design-02-1",
  "op": "banners.update",
  "params": {
    "bannerId": "b1",
    "expectedRevision": "rev-demo",
    "items": [
      {
        "language": "en-gb",
        "mediaId": "m1",
        "title": "Autumn mugs",
        "url": "https://shop.example/mugs"&#10;      }
    ]
  }
}
DESIGN-03
P2 · H · CORE
Prepare layout changeslayout routes, module positions, theme compatibilityTest-environment validation; no arbitrary template editing
layouts.get
{
  "protocol": "1.0",
  "id": "design-03-1",
  "op": "layouts.get",
  "params": {
    "layoutId": "l1"
  }
}

Read-only preparation; no mutation request.

Storefronts, settings and reference data ​

ID / stage / type / sourceScenarioRequired data and relationshipsOutcome and acceptance criterionModule request example
SETTINGS-01
P1 · R · CORE
Explain shop configuration and reference datastores, languages, currencies, tax/weight/length classesSafe projection only: no passwords, API keys or SMTP secrets
store.describe
{
  "protocol": "1.0",
  "id": "settings-01-1",
  "op": "store.describe",
  "params": {}
}

store.reference_data.get
{
  "protocol": "1.0",
  "id": "settings-01-2",
  "op": "store.reference_data.get",
  "params": {
    "resources": [
      "languages",
      "currencies",
      "taxClasses"
    ]
  }
}
SETTINGS-02
P2 · W · CORE
Assign catalog entities to another storefrontstore assignments, product/category/manufacturer revisionsAuthorize both storefronts; shared price/stock remains shared
catalog.storefronts.set
{
  "protocol": "1.0",
  "id": "settings-02-1",
  "op": "catalog.storefronts.set",
  "params": {
    "resource": {
      "type": "product",
      "id": "42"
    },
    "expected": {
      "storefrontIds": [
        "0"
      ]
    },
    "set": {
      "storefrontIds": [
        "0",
        "1"
      ]
    }
  }
}
SETTINGS-03
P2 · R · CORE
Explain shipping availability or tax configurationcountries, zones, geo zones, tax classes, method availabilityUse address/platform calculation; not a tax compliance determination
shipping.quote
{
  "protocol": "1.0",
  "id": "settings-03-1",
  "op": "shipping.quote",
  "params": {
    "countryCode": "UA",
    "regionCode": "UA-30",
    "postalCode": "01001",
    "items": [
      {
        "id": "42",
        "quantity": 1
      }
    ]
  }
}
SETTINGS-04
P2 · H · CORE
Prepare base-currency or system-rule changesbase currency, rates, tax rules, statuses, language settingsImpact plan and manual execution; preserve historical orders
store.reference_data.get
{
  "protocol": "1.0",
  "id": "settings-04-1",
  "op": "store.reference_data.get",
  "params": {
    "resources": [
      "currencies",
      "taxRules",
      "orderStatuses"
    ]
  }
}

Read-only preparation; no mutation request.

Analytics and interpretation ​

ID / stage / type / sourceScenarioRequired data and relationshipsOutcome and acceptance criterionModule request example
ANALYTICS-01
P1 · R · CORE
Explain daily sales and compare periodssales dataset, statuses, period, timezone, currencySpecify metrics, statuses, currency and incomplete current-day data
analytics.query
{
  "protocol": "1.0",
  "id": "analytics-01-1",
  "op": "analytics.query",
  "params": {
    "dataset": "sales",
    "metrics": [
      "orderTotal"
    ],
    "period": {
      "from": "2026-09-01T00:00:00Z",
      "to": "2026-10-01T00:00:00Z"
    },
    "policyId": "completedOrders",
    "groupBy": [
      "day"
    ],
    "currency": "USD"
  }
}
ANALYTICS-02
P1 · R · CORE
Rank products, categories and brands by salessales grouped by product/category/manufacturerMulti-category products need an explicit attribution rule to avoid double counting
analytics.query
{
  "protocol": "1.0",
  "id": "analytics-02-1",
  "op": "analytics.query",
  "params": {
    "dataset": "sales",
    "metrics": [
      "unitsSold"
    ],
    "period": {
      "from": "2026-09-01T00:00:00Z",
      "to": "2026-10-01T00:00:00Z"
    },
    "policyId": "completedOrders",
    "groupBy": [
      "id"
    ],
    "sort": [
      {
        "field": "unitsSold",
        "direction": "desc"
      }
    ],
    "limit": 10
  }
}
ANALYTICS-03
P1 · R · CORE
Find slow-moving inventoryproductPerformance: stock, zero-sale products, last saleInclude zero-sale products; distinguish newly created products
analytics.query
{
  "protocol": "1.0",
  "id": "analytics-03-1",
  "op": "analytics.query",
  "params": {
    "dataset": "productPerformance",
    "metrics": [
      "unitsSold",
      "stockQuantity"
    ],
    "period": {
      "from": "2026-09-01T00:00:00Z",
      "to": "2026-10-01T00:00:00Z"
    },
    "includeZeroSales": true,
    "filter": {
      "unitsSold": 0,
      "stockQuantityGt": 0
    },
    "limit": 50
  }
}
ANALYTICS-04
P1 · R · CORE
Calculate average order value and repeat purchasesorders, customer ID, period, status policyDefine denominator, guest orders and customer identity policy
analytics.query
{
  "protocol": "1.0",
  "id": "analytics-04-1",
  "op": "analytics.query",
  "params": {
    "dataset": "sales",
    "metrics": [
      "averageOrderValue"
    ],
    "period": {
      "from": "2026-09-01T00:00:00Z",
      "to": "2026-10-01T00:00:00Z"
    },
    "policyId": "completedOrders",
    "currency": "USD"
  }
}
ANALYTICS-05
P2 · R · EXT
Estimate conversion, profit and advertising returnsorders, visits/events, ad spend, costs, attributionRequires visits, spend and costs; product views are not sessionsNo single shop request: combine authorized analytics, ad-spend and cost sources in API.
ANALYTICS-06
P2 · R · SD
Detect an unusual sales declinemetric time series, seasonality, data coverageShow deviation and hypotheses; do not assert unsupported causation
analytics.query
{
  "protocol": "1.0",
  "id": "analytics-06-1",
  "op": "analytics.query",
  "params": {
    "dataset": "sales",
    "metrics": [
      "orderTotal"
    ],
    "period": {
      "from": "2026-09-01T00:00:00Z",
      "to": "2026-10-01T00:00:00Z"
    },
    "policyId": "completedOrders",
    "groupBy": [
      "day"
    ],
    "currency": "USD"
  }
}

Shopper agent: cart and account ​

ID / stage / type / sourceScenarioRequired data and relationshipsOutcome and acceptance criterionModule request example
SHOPPER-01
P3 · R · CORE
Recommend and compare products for a shopperpublic catalog projection, options, availabilityPublic catalog only; no costs, internal notes or others’ data
storefront.product.get
{
  "protocol": "1.0",
  "id": "shopper-01-1",
  "op": "storefront.product.get",
  "params": {
    "shopperPass": "SERVER_BOUND_PASS",
    "id": "42"
  }
}
SHOPPER-02
P3 · W · CORE
Add/remove cart items or change quantityshopper binding, cart revision, product/options, quantityOwn session, valid options and revision; shop calculates totals
cart.items.add
{
  "protocol": "1.0",
  "id": "shopper-02-1",
  "op": "cart.items.add",
  "params": {
    "shopperPass": "SERVER_BOUND_PASS",
    "id": "42",
    "quantity": 1
  }
}
SHOPPER-03
P3 · R · CORE
Explain cart total and shipping optionsbound cart, address context, shipping/tax/coupon calculationQuote remains provisional until required context exists
cart.get
{
  "protocol": "1.0",
  "id": "shopper-03-1",
  "op": "cart.get",
  "params": {
    "shopperPass": "SERVER_BOUND_PASS"
  }
}
SHOPPER-04
P3 · R · CORE
Show a shopper their order statusauthenticated shopper, order ownership, historyOrder number/email in chat does not prove ownership
orders.own.list
{
  "protocol": "1.0",
  "id": "shopper-04-1",
  "op": "orders.own.list",
  "params": {
    "shopperPass": "SERVER_BOUND_PASS",
    "limit": 10
  }
}
SHOPPER-05
P3 · W · CORE
Add a product to a wishlistverified shopper, wishlist associationsVerify own account; anonymous wishlist support depends on adapter
wishlist.items.add
{
  "protocol": "1.0",
  "id": "shopper-05-1",
  "op": "wishlist.items.add",
  "params": {
    "shopperPass": "SERVER_BOUND_PASS",
    "id": "42"
  }
}
SHOPPER-06
P3 · H · CORE
Hand the shopper off to native checkoutbound cart, native checkout handoffNo payment credentials in chat; pilot does not place orders or charge cardsNo module write: hand off to native checkout in the browser.

Schedules and composite workflows ​

ID / stage / type / sourceScenarioRequired data and relationshipsOutcome and acceptance criterionModule request example
AUTOMATION-01
P2 · R · SD
At noon review support queues and escalate two issuessupported reviews/support channels, run cursor, owner policyChat report with channel coverage; sending replies needs separate permission
reviews.search
{
  "protocol": "1.0",
  "id": "automation-01-1",
  "op": "reviews.search",
  "params": {
    "limit": 50,
    "filter": {
      "status": "pending"
    }
  }
}

support.threads.search
{
  "protocol": "1.0",
  "id": "automation-01-2",
  "op": "support.threads.search",
  "params": {
    "limit": 50,
    "filter": {
      "unanswered": true
    }
  }
}
AUTOMATION-02
P1 · R · SD
Prepare a morning shop summarycatalog quality, stock, orders, sales, capability registryMark unavailable sources; report in chat without requiring a new admin page
product.list
{
  "protocol": "1.0",
  "id": "automation-02-1",
  "op": "product.list",
  "params": {
    "limit": 100
  }
}

orders.search
{
  "protocol": "1.0",
  "id": "automation-02-2",
  "op": "orders.search",
  "params": {
    "limit": 50,
    "filter": {
      "statusIds": [
        "pending"
      ]
    }
  }
}

analytics.query
{
  "protocol": "1.0",
  "id": "automation-02-3",
  "op": "analytics.query",
  "params": {
    "dataset": "sales",
    "metrics": [
      "orderTotal"
    ],
    "period": {
      "from": "2026-09-01T00:00:00Z",
      "to": "2026-10-01T00:00:00Z"
    },
    "policyId": "completedOrders",
    "groupBy": [
      "day"
    ],
    "currency": "USD"
  }
}
AUTOMATION-03
P2 · W · SD
Run pre-authorized scheduled actionsapproved policy, price/stock thresholds, operation journalPolicy bounds products, amounts and expiry; Pause/revocation stops new steps
product.get
{
  "protocol": "1.0",
  "id": "automation-03-1",
  "op": "product.get",
  "params": {
    "ids": [
      "42"
    ]
  }
}

product.apply
{
  "protocol": "1.0",
  "id": "automation-03-2",
  "op": "product.apply",
  "params": {
    "items": [
      {
        "id": "42",
        "expected": {
          "price": "20.0000"
        },
        "set": {
          "price": "19.0000"
        }
      }
    ]
  }
}

product.get
{
  "protocol": "1.0",
  "id": "automation-03-3",
  "op": "product.get",
  "params": {
    "ids": [
      "42"
    ]
  }
}

Schedule and standing authority live in API; no module cron request.
AUTOMATION-04
P1 · W · SD
Prepare a slow-stock sale planproductPerformance, catalog reads, approved price operationsAnalyze then approve plan; base-price edits and specials are different
analytics.query
{
  "protocol": "1.0",
  "id": "automation-04-1",
  "op": "analytics.query",
  "params": {
    "dataset": "productPerformance",
    "metrics": [
      "unitsSold",
      "stockQuantity"
    ],
    "period": {
      "from": "2026-09-01T00:00:00Z",
      "to": "2026-10-01T00:00:00Z"
    },
    "includeZeroSales": true,
    "limit": 50
  }
}

product.get
{
  "protocol": "1.0",
  "id": "automation-04-2",
  "op": "product.get",
  "params": {
    "ids": [
      "42"
    ]
  }
}

product.apply
{
  "protocol": "1.0",
  "id": "automation-04-3",
  "op": "product.apply",
  "params": {
    "items": [
      {
        "id": "42",
        "expected": {
          "price": "20.0000"
        },
        "set": {
          "price": "19.0000"
        }
      }
    ]
  }
}
AUTOMATION-05
P1 · R · SD
Explain bulk-operation results and unresolved stepsworkflow steps, receipts, revisions, unknown outcomesSeparate success, refusal and unknown; cancellation does not undo commits
product.get
{
  "protocol": "1.0",
  "id": "automation-05-1",
  "op": "product.get",
  "params": {
    "ids": [
      "42"
    ]
  }
}

Read receipts/workflow status from the API ledger; product.get only reconciles current data.

Connection, audit and maintenance ​

ID / stage / type / sourceScenarioRequired data and relationshipsOutcome and acceptance criterionModule request example
OPERATIONS-01
P0 · R · SD
Inspect capabilities and a change receiptcapabilities.get, operations.get, connection bindingCurrent connection/store only; no legacy-protocol fallback
store.describe
{
  "protocol": "1.0",
  "id": "operations-01-1",
  "op": "store.describe",
  "params": {}
}

store.describe discovers capabilities; receipts are in API, not operations.get on this module.
OPERATIONS-02
P1 · R · SD
Explain why the agent cannot complete a taskmodule version, compatibility warnings, latency, failuresDistinguish missing method, permission, data and shop outage
store.describe
{
  "protocol": "1.0",
  "id": "operations-02-1",
  "op": "store.describe",
  "params": {}
}
OPERATIONS-03
P2 · H · SD
Connect, pause or disconnect the integrationmodule admin, key lifecycle, local permissionsOwner action in trusted UI; agent cannot grant itself privilegesTrusted owner UI performs connection/Pause/disconnect; not an MCP tool.
OPERATIONS-04
P2 · H · EXT
Prepare diagnosis, update or restore instructionsextensions, backups, logs, hosting configurationAdvise/escalate; no shell, SQL console, code installation or database restore toolsNo execution request: diagnostics and a human handoff only.

Turning a scenario into a developer task ​

Before implementation, create a card for each ID:

  1. Context: requester, store, language, currency, agent role and a sample owner request.
  2. Inputs: fields, sources, filters, ordering, pagination, period and aggregation policy. Name missing data explicitly.
  3. Store Deputy work: primitives called, server calculations, clarification and approval UI. Keep the workflow out of the module.
  4. Adapter work: data/effects provided, native invariants and storefront isolation. Platform business logic stays in the shop.
  5. Authority: separate read/write/personal-data permissions, affected objects and storefronts, approval source. Shopper requests need a verified session binding.
  6. Contract: capability and exact request/response/error schemas, or reference to existing ones. Listing an entity here does not authorize an arbitrary new method payload.
  7. Outcome: understandable chat response with IDs, evidence and observation time; writes need before/after, receipt and read-back. Long results require pagination or an approved export, not silently omitted rows.
  8. Refusals/tests: empty results, ambiguous matches, denied permission, unsupported source, stale revision, changed membership, timeout, duplicate and partial completion. Verify no unintended effect for each refusal.

Example PRICES-01: the owner asks for 19.00 USD on product 42. The service reads the product and all affected storefronts, presents before/after, records revision and obtains approval. The module executes products.price.set with a stable operationId, local authorization and concurrency checks. The server verifies the receipt and data. A manual change after approval requires a conflict/new plan; a lost response requires operations.get, not a new operation. This describes a scenario, not an observed shop result.

Boundaries and priorities ​

New groups do not automatically extend the pilot contract. The contract (contracts/module/operations.json) has four verbs over seven resources and no more (since proposed: the fifth verb query on 16 October 2026 and the resources customerAddress, customerGroup, orderStatus, orderPaymentAddress and orderShippingAddress on 17 October 2026); the five methods of the archived Module JSON 1.0 proposal are gone. P1/P2/P3 need their own schemas, fixtures and compatibility evidence. Manufacturer IDs, images, descriptions and analytics metrics do not become available through the P0 projection merely because they appear here.

Every mutation needs frozen targets, bounded scope, revisions, idempotency, receipts and current authority checks. Bulk workflows do not promise global transactions. Cancellation does not undo committed effects. Deletion, payouts, shell access, extension installation, secret changes and arbitrary SQL gain no authority from this matrix.

WooCommerce/PrestaShop adapters preserve user intent while verifying differences in variants, taxes, inventory, multi-store and events. Unsupported actions remain explicitly unavailable. OpenCart 4 and third-party extensions require separate verification from OpenCart 3.

Research basis ​

Grouping follows the OpenCart 3.0.3.5 admin menu and existing entity inventory. Review-reply limits were checked against the OpenCart review model. Scenarios, priorities and acceptance criteria are Store Deputy design proposals, not platform guarantees or implemented tools.