Development discussions around Shopify APIs
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.
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!
Thanks to all who participated in our AMA with 2H Media on planning your 2023 marketing bu...By Jacqui Mar 30, 2023
Thanks to all Community members that participated in our inaugural 2 week AMA on the new E...By Jacqui Mar 10, 2023
Upskill and stand out with the new Shopify Foundations Certification programBy SarahF_Shopify Mar 6, 2023