Can we use "NonReturnItemCostAdjustment" Attribute to Calculate the Item Level Refund Amount?
(Doc ID 2755490.1)
Last updated on FEBRUARY 24, 2021
Applies to:Oracle Commerce Cloud Service - Version N/A and later
Information in this document applies to any platform.
During the Return process, can we use nonReturnItemCostAdjustment attribute to calculate individual item level Refund value?
From Agent API to get return request details https://ccadmin-xxxx-xxxx.oracleoutsourcing.com/ccagent/v1/returnRequests/700057 we see the below information
The total refund due for this order is 91.63.
In the above return request, in each item level (returnItems attribute), we see the below information
for cixxxxxxx "actualRefundAmount": 42.73, "suggestedTaxRefund": 4.27,
for cixxxxxxx "actualRefundAmount": 37.98, "suggestedTaxRefund": 3.8,
adding the above, we are getting 88.78 which does not match the suggestedTotalRefund of 91.63
In promotionAdjustments->nonReturnItemCostAdjustment, we see the below
"orderDiscountShareAdjustment": -2.59, "taxShareAdjustment": -0.26,
By adjusting the individual item amounts with the above nonReturnItemCostAdjustment attributes, we are getting the correct total matching the suggestedTotalRefund as below,
88.78- (-2.59)-(-.26) = 91.63
Hence we are able calculate the individual refund amount by adjusting the actualRefundAmount and suggestedTaxRefund at returnItems level with nonReturnItemCostAdjustment attributes.
To view full details, sign in with your My Oracle Support account.
Don't have a My Oracle Support account? Click to get started!
In this Document