The REST MVC service calls that agents use to assist customer with in-store pickup are similar to the external-based REST calls. Refer to the Working with In-Store Pickup section for actor-chains and parameters.

When agents initiate these REST calls, their session will use the agent_cookies.txt file.

Agent Search for Store Example
curl -L -v -b agent_cookies.txt -H "Content-Type: application/json" -d "{
\"distance\" : \"10\", \"skuId\" : \"sku30029\"}" "http://localhost:8280/rest/
model/atg/commerce/locations/StoreLocatorActor/locateItems"
Agent Display In-Store Search Example
curl -L -v -b agent_cookies.txt -H "Content-Type: application/json" -d "{
\"pageNum\" : \"2\"}" "http://localhost:8280/rest/model/atg/commerce/locations/
StoreLocatorActor/currentResultPageNum"

For information on adding an item to an in-store pickup, refer to Adding Items to a Customer’s Shopping Cart.


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