The getProduct actor-chain allows the agent to browse the customer’s current catalog and to look up products by their ID.

Parameter

Description

productId

The ID of the product.

filterBySite

Identifies if the product is contained in the current site, and if so filters by site.

filterByCatalog

Identifies if the product is contained in the current site, and if so filters by catalog.

siteIds

The site associated with the catalog.

catalogs

Identifies the catalogs to browse.

Get Product by Product ID Example
curl -v -b agent_cookies.txt -H "Content-Type: application/json" -d "{
\"productId\" : \"xprod1047\"}" "http://localhost:8280/rest/model/atg/commerce/
custsvc/catalog/ProductCatalogActor/getProduct"

Copyright © 1997, 2013 Oracle and/or its affiliates. All rights reserved. Legal Notices