Error encountered when certain items are cancelled from an order.
Error message: Failed to add Amazon Order# X-Y-Z. Failed to save record because Please enter a value for amount.
I tried the solution shown here, as well as the string below, neither worked:
{{#if $.OrderItem[*].ItemPrice.Amount}}
$.OrderItem[*].ItemPrice.Amount
{{else}}
0
{{/if}}