Re: How to automate "Request Fulfillment" by user

Solved

How to automate "Request Fulfillment" by user

Puri007
Tourist
5 0 0

I'm trying to connect my Fulfillment service to shopify to act as a fulfillment service provider for a user's shopify store. I am able to fetch the fulfillments assigned to my fulfillment store using AssignedFullfilmentOrder. However, the problem is that everytime a shopify order arrives in shopify store, the user has to manually click on the button "Request fullfilment" in the shopify store. Can this process be somehow automated so that everytime an order comes, it gets automatically assigned to my Fulfillment Service without the user having to request manually?

 

Should I access Orders instead of AssignedFulfillmentOrder and then filter according to my location instead?

 

Shopify_version: 2022-10

 

Accepted Solution (1)

simon-skrod
Shopify Partner
150 12 31

This is an accepted solution.

Hi @Puri007,
It's possible to fulfill orders automatically, so in case you fulfill your orders using 3-th party fulfillment services, fulfillment requests will be created. Keep in mind that this will affect all of your orders.
This can be configured under Settings -> Checkout and accounts > Order Processing > Automatically fulfill the order's line items.

Simonas Skrodenis
Developer of Feeds Bridge - Catalog Management System
Email: simonas@feedsbridge.com

View solution in original post

Replies 7 (7)

simon-skrod
Shopify Partner
150 12 31

This is an accepted solution.

Hi @Puri007,
It's possible to fulfill orders automatically, so in case you fulfill your orders using 3-th party fulfillment services, fulfillment requests will be created. Keep in mind that this will affect all of your orders.
This can be configured under Settings -> Checkout and accounts > Order Processing > Automatically fulfill the order's line items.

Simonas Skrodenis
Developer of Feeds Bridge - Catalog Management System
Email: simonas@feedsbridge.com
Puri007
Tourist
5 0 0

Hi @simon-skrod ,

 

Thanks for your reply. Is it possible to do it only for some orders? For e.g. if the user is using two different fulfillment services, then could it be possible to just do it for my fulfillment service related orders?

 

Additionally, I tried activating automatic fulfillment and now the orders in the shopify store are being shown as "fulfilled" automatically but when I'm trying to fetch the AssignedFulfillmentOrders, I could not find that fulfillment order there! How can I fetch this order now?

simon-skrod
Shopify Partner
150 12 31

@Puri007  unfortunatelly no, that's why I highlighted that this configuration will affect all of your orders.
I know that some softwares synchronize all orders and allow actions of all the orders which can be managed on it. For example Dsers synchronize all the orders even those which can't be fulfilled on their platform (managed by other fulfillment services).

Simonas Skrodenis
Developer of Feeds Bridge - Catalog Management System
Email: simonas@feedsbridge.com
Puri007
Tourist
5 0 0

@simon-skrod Okay, thanks. Then in this case, how should I fetch the order that was already marked "fulfilled" automatically by shopify? It is not available under "AssignedFullfillmentOrders" anymore!

simon-skrod
Shopify Partner
150 12 31

AssignedFullfillmentOrders returns only cancelation and fulfillment requests, so it's still part of fulfillment requests flow, it doesn't allow you to make any actions with orders which are already fulfilled. If you want to synchronize only part of your orders into 3-th party fulfillment service (without triggering request fulfillment manually on shopify) you need other solution, I am not sure how other apps achieve this it's either crawling though shopify orders and updating them on app side or there are webhooks which informs app about new order and changes on orders. Unfortunately I can't help you with this flow because this is something I have only seen on other apps. I have only worked with fulfillment requets flow (the one doesn't fit your needs).

Simonas Skrodenis
Developer of Feeds Bridge - Catalog Management System
Email: simonas@feedsbridge.com
Puri007
Tourist
5 0 0

@simon-skrodNo problem. Thanks for the inputs. 

james3423ef
Tourist
4 1 1

To automate fulfillment assignment in Shopify, consider using the Shopify API to monitor new orders and automatically assign them to your fulfillment service. Access the Orders endpoint and filter based on your criteria, then programmatically create fulfillments for eligible orders. Implement webhook subscriptions for real-time updates on new orders. Ensure compliance with Shopify's API usage policies and user consent.