Skip to content
  1. Extras
  2. MiniShop3
  3. Development
  4. Web API
  5. Catalog

Catalog ​

Public endpoints, no customer token needed. The data set is the same as on the SSR storefront.

Product ​

MethodPathPurpose
GET/product/get/{id}Product by ID
GET/product/getResolve: alias or uri parameter, optional context
GET/product/listList / PLP
GET/product/filtersFacets (same filters as list)
GET/product/{id}/imagesGallery

Query parameters for get and resolve: context, include_images (0|1, default 0), include_seo (default 1).

Main query parameters for list:

ParameterMeaning
parent / categoryCategory ID (kept for backward compatibility; ignored if parents is set)
parentsCSV / array of category IDs (OR + members)
nested0|1 — expand the tree when using parents
price_min, price_maxPrice range
in_stock, stock_minStock
vendor_id, new, popular, favoriteFlags / vendor
optionsOptions JSON
limit, offset / pagePagination
sort, dir, query, contextSort and search
include_options, include_content, include_imagesEmbeds (include_images default 0, at most 10 files per product)
include_seoSEO block; the default is 0 on list and 1 on get

list response: { items, total, limit, offset } inside data.

filters: the same filters as list, plus keys, include_price (default 1), include_vendors (default 0).

Product fields are returned according to an allowlist in ProductCatalogService.

Category ​

MethodPathPurpose
GET/category/get/{id}Category by ID
GET/category/getResolve by alias / uri
GET/category/listList
GET/category/treeTree

Resource group ACL ​

Setting ms3_web_catalog_respect_resource_groups: when enabled, the public catalog hides products and categories that sit in MODX resource groups closed by ACL for the request context.

The check covers both anonymous visitors and authenticated customers: a guest is matched against grants issued without a principal, while a customer also gets the groups resolved from msCustomerGroup through MODX user-group ACL. Membership is evaluated as "any of them": a document stays visible when any of its groups grants access, even if another one is restricted.

Disable the setting to let the catalog serve products regardless of resource groups.

Example ​

bash
curl -sS 'https://shop.example/assets/components/minishop3/api.php?route=/api/v1/product/list&parents=10&limit=20'

See also Examples, Frontend: catalog.