FROM CACHE - en_header

Refund Rest API Example non-sensical

7 1 0

Can anyone tell me what physically has occurred with the rest API example for refund objects

It looks like someone is returning 2 x ~$199 ipod Nanos, and getting refunded $209 ??

The reason I'm asking is that I'm trying to parse refund created webhooks for change in the line_items purchases and have come across at least 5 different data structures for refunds depending on how they're done in the shop backend (a couple of full order refunds don't even include full line_item refunds). I can't tell if in the above example 2 ipod nanos have been returned, or if there is a partial refund and somehow only 1 of them is returned? There doesn't seem to be any extra flags for that...


Thanks in advance for anyones time.

Replies 0 (0)