Join us for an upcoming Shopify Partner webinar on February 27, 2024. Discover the latest Checkout Extensibility features, and deep dive on improvements to Shopify Functions and Web Pixels. Register now for either the 10am EST or 2pm EST sessions.

Help with fulfilling orders

jkatty
Visitor
2 0 0

Hi, 

I am having issues with fulfilling orders. I have various orders in my test shop that have requested fulfillment and are marked as "in progress" in the shop. The issue is in the API when I try to accept the order using the /fulfillment_request/accept.json route it returns a 422 error. When I try to complete or modify the fulfillment that is on the order it returns a 'not found' error. When I try using the orders/order_id/fulfillments.json route to fulfill the order it returns a "line items are already fulfilled" order. I've tried a bunch of things obviously I am doing something wrong and I don't know what. Any help would be greatly appreciated.

I can find assigned fulfillment orders using the /assigned_fulfillment_orders.json but I just cant do anything with them for some reason. I don't really care how I do it but I need to be able to mark orders complete and update tracking info.


Thanks.

Reply 1 (1)

Luke_K
Shopify Staff
402 66 97

Hey @jkatty 

Sounds frustrating! The initial 422 when calling the fulfillment_request/accept.json endpoint suggests some facet of the call is incorrect - wondering if you had an x-request-id from any of the failing calls and I'll be able to try take a check in the logs of what's happening. There's a documentation resource on Fulfillment's here for GraphQL and REST API here too. Please let me know - thanks!

 

| Shopify |
- Was my reply helpful? Click Like to let me know!
- Was your question answered? Mark it as an Accepted Solution!