The AvailablePricedShippingMethodsActor
is used to display the available shipping methods. The path to this actor is: /atg/commerce/custsvc/pricing/AvailablePricedShippingMethodsActor
.
This actor contains the getAvailablePricedShippingMethods
actor-chain:
Parameters: None
Display All Available Shipping Methods Example
curl -L -v -b agent_cookies.txt -H "Content-Type: application/json" "http://localhost:8280/rest/model/atg/commerce/custsvc/pricing/ AvailablePricedShippingMethodsActor/getAvailablePricedShippingMethods"
The server response might be:
{"sg70004": { "Next Day": { "amount": 18.95, "currencyCode": "USD", "rawShipping": 18.95 }, "Two Day": { "amount": 9.5, "currencyCode": "USD", "rawShipping": 9.5 }, "Ground": { "amount": 4.75, "currencyCode": "USD", "rawShipping": 4.75 } }}