Solved

REST API Migration question

FLSDBH
New Member
4 0 0

I have a custom app that uses the Fulfilment REST API to get a list of open orders that are marked paid. I use this URL to get that information: https://{SHOP}.myshopify.com/admin/api/2023-01/orders.json?status=open&financial_status=paid

 

I'm trying to test this URL using the new FulfilmentOrder REST API:
https://{SHOP}.myshopify.com/admin/api/2023-01/fulfillment_orders.json?status=open&financial_status=paid
but i get this error: "errors": "Not Found" - real indication as to what is not found.

 

Can someone guide to me as to the correct URL needed to use the new FulfilmentOrder REST API to get a list of open orders that are marked as paid?

Accepted Solution (1)

Jason
Shopify Expert
11196 226 2287

This is an accepted solution.

Start simple when trying to troubleshoot. What is the response you get back when doing a GET to the endpoint without the additional parameters (so not querystring).

★ I jump on these forums in my free time to help and share some insights. Not looking to be hired, and not looking for work. http://freakdesign.com.au ★

View solution in original post

Replies 2 (2)

Jason
Shopify Expert
11196 226 2287

This is an accepted solution.

Start simple when trying to troubleshoot. What is the response you get back when doing a GET to the endpoint without the additional parameters (so not querystring).

★ I jump on these forums in my free time to help and share some insights. Not looking to be hired, and not looking for work. http://freakdesign.com.au ★
ShopifyDevSup
Shopify Staff
1408 231 484

@Jason is on point - if you're troubleshooting, this is always a good way to start! To clarify completely though, if we look at the fulfillment order endpoint here in our REST docs, there is not a financial_status field attached to the resource. This is likely what's causing the error here specifically. 

 

Hope this helps a little bit - feel free to reach out again if we can assist with unblocking, etc. 

 

Al | Shopify Developer Support

Developer Support @ Shopify
- Was this reply helpful? Click Like to let us 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