Newer Version Available
Order Summaries, Preview Adjust
Retrieve the expected results of adjusting the price of one or more
OrderItemSummaries from an OrderSummary, without actually executing the adjustment. The
response data contains the financial changes that would result from submitting the proposed
adjustment.
- Resource
-
1/commerce/order-management/order-summaries/orderSummaryId/actions/adjust-item-preview - Available version
- 49.0
- Requires Chatter
- No
- HTTP methods
- POST
- Request body for POST
-
Adjust Order Item Summary Input
- Root XML tag
- <adjustOrderItemSummaryInput>
- JSON example
-
1{ 2 "adjustItems": [{ 3 "reason": "Unknown", 4 "amount": 45, 5 "appeasementType": "AmountWithoutTax", 6 "orderItemSummaryId": "10uxx0000004EXLAA2", 7 "description": "foobar" 8 }] 9} - Properties
-
Name Type Description Required or Optional Available Version adjustItems Adjust Item Input[] List of price adjustments to OrderItemSummaries. Required 49.0
- Response body for POST
-
- When the HTTP status code indicates success, the response body is an Adjust Order Summary Output. The response body can still indicate processing errors.
- When the HTTP status code is in the 400 (client error) or 500 (server error) range, the response body is an Error with Output. The output property is an Adjust Order Summary Output, and the value of the enhancedErrorType property can be ignored.