Newer Version Available

This content describes an older version of this product. View Latest

Order Summaries, Preview Cancel

Retrieve the expected change order values for canceling one or more OrderItemSummaries from an OrderSummary, without actually executing the cancel.
Resource
1/commerce/order-management/order-summaries/orderSummaryId/actions/preview-cancel
Available version
48.0
Requires Chatter
No
HTTP methods
POST
Request body for POST
Change Input
Root XML tag
<changeInput>
JSON example
1{
2  "changeItems": [
3    {
4      "orderItemSummaryId": "10uxx0000004FYDAA2",
5      "quantity": 1.0,
6      "reason": "Wrong Item",
7      "shippingReductionFlag": true
8    }
9  ]
10}
Properties
Name Type Description Required or Optional Available Version
changeItems Change Item Input[] List of changes to OrderItemSummaries. Required 48.0
Response body for POST