What's your biggest current challenge? Have your say in Community Polls along the right column.
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.

Diffrence between payment status and financial_status in REST Admin API

Diffrence between payment status and financial_status in REST Admin API

LouisLin28
Shopify Partner
1 0 0

I'm trying to build a data platform for my client, syncing the order list of his shop in the platform.

 

The API I tried to access is Retrieve a list of orders.

There are two similar statuses:

  1. Payment Status : a status can been seen directly in one's shop.
  2. financial_status : a parameter in REST Admin API.

I have several questions as below:

  1. What's the deference between these two statuses?
    These two statuses seem alike, however, there few statuses only display in Payment Status such as Overdue / Expiring / Expiring.

  2. How can I get the actual status via API? 
    Since there are several differnces bewtween these two, I'm not sure how can I align the actual status of an specfic order.
    For example, there's an order which indicates "Pending" in Payment Status. And the financial_status I retrieved via REST Admin API shows "Pending". On the other hand, there's another order shows "Expired" in Payment Status, but the financial_status still display "pending".

     Payment Statusfinancial_status
    Order APendingpending
    Order BExpiredpending

    Therefore, according to the responses of API's, I can't know the actual payment status. I'll always get "pending" statuses in the platform I try to build for these two orders.
    My interpretation is that the statuses I retrieved from APIs are not the actual payment statuses.
    If so, how can I get the actual status via API?

 

Any ideas about the connections between these two statuses?

Reply 1 (1)

Liam
Community Manager
3108 344 895

Hi LouisLin28,

 

On the GraphQL API there's a paymentTerms field on the product object that you can query - would this be closer to what you're looking for?

Liam | Developer Advocate @ Shopify 
 - Was my reply helpful? Click Like to let me know! 
 - Was your question answered? Mark it as an Accepted Solution
 - To learn more visit Shopify.dev or the Shopify Web Design and Development Blog