shopify gql api

shopify gql api

Moria
Shopify Partner
1 0 1

Hi, i am using totalOutstandingSet field from Order object to validate my order balance. (sales + transactions). most of the times the value was correct except for cases were the order was edited (for example remove item). then the totalOutstandingSet remain the same. any idea why?

another case that i saw was receiving transaction with kind equal AUTHORIZATION which changed the totalOutstandingSet but then receiving another transaction with capture Failed didnt reversed the balance to the previous state. any idea how to deal with this cases?

Replies 0 (0)