Our Partner & Developer boards on the community are moving to a brand new home: the .dev community forums! While you can still access past discussions here, for all your future app and storefront building questions, head over to the new forums.

Substituting Items at Fulfillment

Substituting Items at Fulfillment

anuj-gsynergy
Shopify Partner
1 0 1

We allow our fulfillment center to substitute out-of-stock products with similar products.  Substituting product is not a variant of the ordered product.  Without changing the original order, how can we link the substituting item as fulfilling the original item?  This should, ideally, reduce the inventory of the substituting item and not the substituted item.

 

At https://shopify.dev/docs/api/admin-graphql/2024-01/objects/FulfillmentLineItem, we don't see a way to specify the substituting item, but only a way to specify the the line item which is being fulfilled.

Replies 2 (2)

Kalen_Jordan
Shopify Partner
800 38 144

Are you sure you don't want to edit the original order? That actually seems like the most straight forward approach here and you could automate it.

 

It should still show the removed original product on the order btw which is a good paper trail.

Himachal
Shopify Partner
3 0 1

Business Scenario 

When customer orders Product A ( its not in stock ) you want to give productB ( call it substitute ) without the customer knowing. 

  •  This appears to be flawed business practice as customer paid for A , should get A. You should reverse Order A and redo Order to ProductB manually mark as paid  and send both invoices. 
  • Not sure if product mismatch will be supported by Shopify. Not a good business practice.