The addAdjustment
actor-chain is used to issue an adjustment to a customer’s order.
Parameter | Description |
---|---|
| The amount of the adjustment. |
| A note to provide a description for the adjustment. |
| The adjustment reason code used for this adjustment. |
| The type of adjustment. |
Adjust Order Example
curl -L -v -b agent_cookies.txt -H "Content-Type: application/json" -d "{ \"adjustmentAmount\" : \"10\", \"adjustmentReasonCode\" : \"Appeasement\", \"adjustmentNote\" : \"Customer ordered 10 of these last week\", \"adjustmentType\" : \"amountOff\" }" "http://localhost:8280/rest/model/ atg/commerce/custsvc/order/ManualAdjustmentsActor/addAdjustment"