The ApplyShippingGroups
actor-chain applies single or multiple shipping groups and shipping methods and then continues onto the billing process. This chain is also used to apply multiple shipping groups or methods.
Parameter | Description |
---|---|
| Identifies the array size, or number of Commerce Item Shipping Info (CISI) items included in the request. |
| Identifies the name of the shipping group. |
| Identifies the shipping method used for the shipping group. |
Apply Shipping Group and Method Example
curl -L -v -b customer_cookies.txt -H "Content-Type: application/json" -d "{ \"cisicount\" : \"2\", \"cisiList\" :{ \"atg-rest-class-type\" : \"java.util.ArrayList\", \"atg-rest-values\": [{\"atg-rest-class-type\" : \"atg.commerce.order.purchase.CommerceItemShippingInfo\", \"shippingGroupName\" : \"Home\", \"shippingMethod\" : \"Ground\"}, {\"atg-rest-class-type\" : \"atg.commerce.order.purchase.CommerceItemShippingInfo\", \"shippingGroupName\" : \"Work\", \"shippingMethod\" : \"Ground\"}]}}" "http://localhost:8280/rest/model/ atg/commerce/order/purchase/ShippingGroupActor/applyShippingGroups"