Covers all questions related to inventory management, order fulfillment, and shipping.
I have an app that was fulfilling orders directly using the the old fulfillment REST routes and I'm trying to migrate to the new fulfillment system to be able to keep up with the new API versions.
However I'm running into issues, it seems that the test orders I generate don't have the required FulfillmentOrder id or object that the documentation say should exist. In addition when I query the API for fulfillmentOrders for an existing order, its always empty. My guess is that it's because they're orders created manually or because the system isn't retroactive to older orders.
So my questions are:
1. Is there a way to POST a new FulfillmentOrder object to an already existing order or to an order that doesn't have an existing FulfillmentOrder attached to it.
2. Is there a simple way to just attach a tracking number and url to an order (effectively the equivalent of the old ways of fulfillment).
Solved! Go to the solution
This is an accepted solution.
It seems to have been a permissions issue on my app, I assumed we needed the read/write_third_party_fulfillment_orders in order to view fulfillment on orders. The reality is that I needed the read/write_merchant_managed_fulfillment_orders to view them.
The Fulfillment Order objects are automatically created and have been for a long time. Can you please open a support ticket with the details of what you are doing? We will need the REST API calls and example orders.
To learn more visit the Shopify Help Center or the Community Blog.
Thanks for the reply. It seems it was a permissions issue on my end.
I will say as an aside, it seems a bit strange that when I was receiving empty responses without the permissions and not a 403 response with a permissions error. It might be because I tried a bunch of permissions on my end so it may have messed things up.
Anyways I have my answer now.
This is an accepted solution.
It seems to have been a permissions issue on my app, I assumed we needed the read/write_third_party_fulfillment_orders in order to view fulfillment on orders. The reality is that I needed the read/write_merchant_managed_fulfillment_orders to view them.