Our Partner & Developer boards on the community are moving to a brand new home: the .dev community forums! While you can still access past discussions here, for all your future app and storefront building questions, head over to the new forums.

"current" fields in Order API excluding order adjustments

"current" fields in Order API excluding order adjustments

jmcneill
Visitor
1 0 0

Hello!

 

The order object (https://shopify.dev/api/admin-rest/2022-01/resources/order#resource_object) includes several fields with the 'current_' prefix - for example: 'current_total_price'. This field's definition is:

 

"The current total price of the order in the shop currency. The value of this field reflects order edits, returns, and refunds."

 

However, I've deduced that this field does not exclude either:

1. Order adjustments

2. Failed refunds

 

While I can understand (2), (1) is very strange to me. I'm wondering if someone familiar with the definitions of fincancial fields in the orde object could tell me what the reason behind this is?

Replies 0 (0)