The splitShippingInfos
actor-chain splits the shipping between shipping groups.
Parameter | Description |
---|---|
| The original quantity value that needs to be split. |
| The quantity that should be moved to the other shipping group. |
| This is the name of the shipping group in which the item will be available. |
| This is the name of the split shipping group. |
Split Commerce Items into Different Shipping Groups Example
curl -L -v -b customer_cookies.txt -H "Content-Type: application/json" -d "{ \"cisicount\" : \"1\", \"cisiList\" :{ \"atg-rest-class-type\": \"java.util.ArrayList\", \"atg-rest-values\": [{ \"atg-rest-class-type\": \"atg.commerce.order.purchase.CommerceItemShippingInfo\", \"quantity\" : \"5\", \"splitQuantity\" : \"2\", \"shippingGroupName\" : \"Address\", \"splitShippingGroupName\" : \"Address##0\"}]}}" "http://localhost:8280/rest/model/atg/commerce/order/purchase/ShippingGroupActor/ splitShippingInfos"