Variant Not Found, while fulfilling an orderline.

Highlighted
New Member
2 0 0

Hi,

I am developer at marketcube.io. We have a scenario here.

- A product don't have any variant as of now.
- A customer place order for this product (i.e, order was placed on default variant of product).
- Now before fulfilling the order, I have added 5 variants to product, now default variant is deleted.
- How will I fulfil order now via api, Because there is no variant which belongs to variant id I had received in order. This is because variant id is of default variant which doesn't exists anymore.
- So if I don't have default variant, So how will I get locationId for default variant? If I am not able to get locationId, I will not be able to fulfil this order-line via shopify api.

How you are managing fulfilment if product/variant is deleted, because via shopify API it does not seems to be a feasible case?

0 Likes
Highlighted
Shopify Partner
72 12 24

Hi,

Just googled and I saw this post => https://community.shopify.com/c/Shopify-APIs-SDKs/How-to-fulfill-an-order-with-deleted-products/td-p...

Maybe it's what you are looking for.

0 Likes