Solved

REST Fulfillment API Deprecation Has No Documentation On Fulfillment Creation

Ralph-HA
Shopify Partner
106 7 46

Hey Everyone,

   I was hoping someone @Shopify might be able to give some guidance on the recent depreciation of the Fulfillment API.  I've been reading through the migration documentation on how to migrate your app to use the FulfillmentOrders API and noticed there is no documentation on how to create fulfillments or manage tracking numbers using the REST API.

 

The documentation here links to a order management app document that explains how the fulfillment workflow should now work, however it only references the GraphQL library.  Since the Fulfillment API is being depreciated there is no documentation on what to use in place of the deprecated API.

 

For example, the order management app document recommends using the GraphQL Fulfillment API based on FulfillmentOrder actions to create fulfillments.  If a FulfillmentOrders API has a supported action of CREATE_FULFILLMENT, you can use the FulfillmentCreateV2 API to create the fulfillment.  Now that the REST Fulfillment API is being deprecated in 2022-04, is there a way to do this same action on the REST API?  Looking at the docs, there is no documentation for this workflow in the REST API.

 

Is there someone that could help point me in the right place so I could migrate my workflow to use the new FulfillmentOrders API to create fulfillments?

 

Thanks for your help and guidance!

Ralph

Co-Founder / Developer at Highview Apps
Our Shopify Apps: EZ Exporter | EZ Inventory | EZ Importer | EZ Notify | EZ Fulfill
Accepted Solution (1)

Ralph-HA
Shopify Partner
106 7 46

This is an accepted solution.

Hey Everyone,

   The Shopify developer support team asked me to post this same question in a forum they created specifically for the Fulfillment API migration.  It looks like they are not deprecating all of the Fulfillment API's so we can still create fulfillments and manage tracking numbers.

 

You can see the accepted answer here.  I hope this clarifies everything for everyone!  It looks like it's exactly what we need.  🙂

Co-Founder / Developer at Highview Apps
Our Shopify Apps: EZ Exporter | EZ Inventory | EZ Importer | EZ Notify | EZ Fulfill

View solution in original post

Replies 4 (4)

Klondev
Shopify Partner
689 82 271

Hi and hello, 

 

you can try the Fulfillment API with your API-Version. Below is an example to fulfill a specific LineItem of an Order. If your Version isn't supporting this Call, try to create a new private App with an older API-Version.

{
  "fulfillment": {
   "location_id": locationId,
    "tracking_urls": [trackingUrlArray],
    "line_items": [
      {
        "id": lineItemId
      }
     ],
    "notify_customer": Boolean
  }
}

https://{{api_key}}:{{api_password}}@{{store_name}}.myshopify.com/admin/api/{{api_version}}/orders/{orderId}/fulfillments.json 

 

If you need direct Guidance give us a shoot and send me a DM.

Stephan | Co-Founder @ Klondev Automation GmbH
- War meine Antwort hilfreich? Dann freu' ich mich über ein Like
- Wurde deine Frage beantwortet? Dann markiere gerne meine Antwort als Akzeptierte Lösung
- Hier findest du unser Profil und unseren Kontakt

Ralph-HA
Shopify Partner
106 7 46

@KlondevThanks for the response.  I think you may have miss understood my question here.  I understand how the fulfillment API works, however Shopify has announced it's depreciation with the 2022-04 release.  They are recommending we migrate to the FulfillmentOrders API, which makes sense.

 

However, there seems to be some missing functionality with the deprecation of the Fulfillment API.  Since it is being deprecated we can not rely on it moving forward so I'm looking for Shopify's recommendation on how to fulfill orders and manage tracking numbers using the REST API since the FulfillmentOrders API does not support this functionality. 

 

As mentioned in my original post, the documentation talks through the process using the GraphQL library, so I'm looking for the Rest equivalent.

Co-Founder / Developer at Highview Apps
Our Shopify Apps: EZ Exporter | EZ Inventory | EZ Importer | EZ Notify | EZ Fulfill

Ralph-HA
Shopify Partner
106 7 46

This is an accepted solution.

Hey Everyone,

   The Shopify developer support team asked me to post this same question in a forum they created specifically for the Fulfillment API migration.  It looks like they are not deprecating all of the Fulfillment API's so we can still create fulfillments and manage tracking numbers.

 

You can see the accepted answer here.  I hope this clarifies everything for everyone!  It looks like it's exactly what we need.  🙂

Co-Founder / Developer at Highview Apps
Our Shopify Apps: EZ Exporter | EZ Inventory | EZ Importer | EZ Notify | EZ Fulfill
colleenc
Shopify Partner
91 9 20

I'm curious how you managed to make it work. I have been trying everything to push through tracking and I can't get it to work. What json do you need if you do not have a fulfillment id yet?

 

Currently, I am trying admin/api/2021-10/fulfillments.json with POST and it just is not working.