The AddStoreCreditActor allows an agent to add store credit to a profile. The profile must be active before the agent can issue a credit. Refer to Selecting a Customer to Work On. This actor is located at /atg/commerce/custsvc/profile/AddStoreCreditActor and uses the addStoreCredit actor-chain with the following parameters:

Parameter

Description

amount

The amount of the credit.

comments

Any comments regarding the credit.

Store Credit Example
curl -L -v -b agent_cookies.txt -H "Content-Type: application/json" -d
"{ \"amount\" : \"10\", \"comments\" : \"Loyalty Customer – Added $10 credit\" }"
"http://localhost:8180/rest/model/atg/commerce/custsvc/profile/
AddStoreCreditActor/addStoreCredit"

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