The getShippingGroups actor-chain displays all of the shipping groups that are available.

Parameter

Description

init

Clears the shipping group infos on the ShippingGroupDroplet and relitializes the properties.

Display Available Shipping Groups Example
curl -L -v -b agent_cookies.txt -H "Content-Type: application/json" -d "
{ \"init\" : \"true\"}" "http://localhost:8280/rest/model/atg/commerce/
custsvc/order/ShippingGroupActor/getShippingGroups"

The server response may be similar to the following:

{
  "ci10000002": {
    "shippingGroups": {},
    "allShippingGroupTypes": ["hardgoodShippingGroup"]
  },
  "shippingGroups": {},
  "shippingInfos": {"ci10000002": [{
    "handlingInstructionInfos": [],
    "commerceItemId": "ci10000002"
  }]},
  "allShippingGroupTypes": ["hardgoodShippingGroup"],
  "commonShippingGroupTypes": ["hardgoodShippingGroup"]
}

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