The getProduct
actor-chain allows the agent to browse the customer’s current catalog and to look up products by their ID.
Parameter | Description |
---|---|
| The ID of the product. |
| Identifies if the product is contained in the current site, and if so filters by site. |
| Identifies if the product is contained in the current site, and if so filters by catalog. |
| The site associated with the catalog. |
| 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"