Covers all questions related to inventory management, order fulfillment, and shipping.
Hi,
Does anyone knows how to create a fulfillment order via Shopify API? I check through the doc but not able to find how to do that. Can anyone help?
Thanks so much in advance!
https://shopify.dev/docs/api/admin-rest/2023-04/resources/fulfillment#post-fulfillments
This tells you how to create a fulfillment.
Cheers,
Gary
Nope, that shows how to create a fulfillment, not a fulfillment order.
Not sure if this is the prob that OP has, but for me, i try to get a ff order by the orderid and it says no fullfillment orders. So, how do you make a fullfillment order?
Fulfillment Orders can not be created via the API. Fulfillment orders are created automatically by Shopify when an order is created. The only way a fulfillment order can be created via the api, as far as I know, is through a MOVE operation on an existing fulfillment order, thats why I figured the OP misspoke and wanted to know about creating a fulfillment.
/orders/{orderid}/fulfillment_orders.json should give you an array of fulfillment orders, if it doesn't you may not have the appropriate scopes, or the order id does not exist. Those are the only two scenarios where you should get an empty array back (as far as I am aware) otherwise you should get a list of open, pending, complete or cancelled fulfillment orders.
What does it say "exactly"?
{"fulfillment_orders":[]}
Cheers
Gary
THank you, it turned out i didnt have the correct scopes.
Hi Justin,
Fulfillment Orders can not be created via the API. Fulfillment orders are created automatically by Shopify when an order is created. The only way a fulfillment order can be created via the api, as far as I know, is through a MOVE operation on an existing fulfillment order, thats why I figured the OP misspoke and wanted to know about creating a fulfillment.
Cheers,