A space to discuss GraphQL queries, mutations, troubleshooting, throttling, and best practices.
I create a fulfillment order via /admin/api/2022-04/fulfillments.json with error. The message is "errors": "Not Found". below is my post data. please help it.
I have put order_id at fulfillment_order_id. Is it correct? If no, how can I get this id which is related into order_id.
Solved! Go to the solution
This is an accepted solution.
Hi @Dennis_Law ,
The Order_id and FulfillmentOrder_id reference two separate objects.
If you've got the order's id already you could query the FulfillmentOrder id with this endpoint:
/api/2022-07/orders/{{order_id}}/fulfillment_orders.json
Alternatively, your FulfillmentService could look up any assigned fulfillment orders by using the AssignedFulfillmentOrder resource.
Cheers,
JamesG | API Support @ 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
This is an accepted solution.
Hi @Dennis_Law ,
The Order_id and FulfillmentOrder_id reference two separate objects.
If you've got the order's id already you could query the FulfillmentOrder id with this endpoint:
/api/2022-07/orders/{{order_id}}/fulfillment_orders.json
Alternatively, your FulfillmentService could look up any assigned fulfillment orders by using the AssignedFulfillmentOrder resource.
Cheers,
JamesG | API Support @ 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
Dear James
Thanks for your explanation. I have tried to find information on /api/2022-07/orders/4470735372453/fulfillment_orders.json, the message shows
We use "/admin/api/2022-04/orders/450789469/fulfillments.json" to create fulfillment currently, but "/admin/api/{{version}}/orders/{{order_id}}/fulfillments.json" does not exist in 2022-07 version.
I have tried to used "/admin/api/2022-07/fulfillments.json" to create fulfillment, but it is fail. Please advise which API to replace "/admin/api/2022-04/orders/450789469/fulfillments.json".
Many thanks
Hi @Dennis_Law how you have fixed this issue? I'm getting "fulfillment_orders": [] when I call /admin/api/2022-07/orders/4612221796528/fulfillments.json
Hello @Dennis_Law @Drasty1 I am looking for the same thing, did you find it? Thx !
Can't anyone help me? 😞
Dear James
I can create fulfillment order successfully. Thanks for your help.
Dear Cheers
It is workable now. thanks for your help
Regards
Dennis