nozzlegear / ShopifySharp

ShopifySharp is a .NET library that helps developers easily authenticate with and manage Shopify stores.
https://nozzlegear.com/shopify-development-handbook
MIT License
747 stars 309 forks source link

Merge fulfillment orders? #1037

Open patrickebates opened 7 months ago

patrickebates commented 7 months ago

Is there a way via this library to merge multiple fulfillment orders? We are using a post-purchase upsell that occasionally creates a second or even a third fulfillment order on an order, and it's causing issues with uploading the fulfillment data because we fill everything together. When we run into one of these, we can locate the order in Shopify to trigger a merge there and everything works. We just need to find a way to merge them without requiring the UI.

adearriba commented 7 months ago

Hi @patrickebates,

You have this mutation you can use with the IGraphService: https://shopify.dev/docs/api/admin-graphql/2024-01/mutations/fulfillmentOrderMerge

Best, Alejandro.