Cancel fulfillment Shopify

Hello there!
I’m able to create a separate fulfillment for each line item of a Shopify order from Google Sheet changes via make.com.
But I’m not sure how to cancel it.
I tried to use a Cancel a Fulfillment Order, but it requires a Fulfillment Order ID. And when I passed a Fulfillment ID there, I received DataError “Fulfillment order does not exist.”.

So how can I cancel a specific fulfillment? Should I use an API request to Shopify to achieve it?

Thanks in advance!

@ahordii, you are confused between ‘Fulfillment ID’ and ‘Fulfillment Order ID’.

Cancel Fulfilment requires ‘Fulfillment Order ID’, you are passing ‘Fulfillment ID’.

You get a Fulfillment Order ID when you call ‘List Fulfilment Orders’.

Hello @Ronak_Bhagdev, thanks for your reply!
Yes, you are right, I’m confused a bit, but let me try to figure it out.

So when I change the status to unfulfilled for some of the line items on the Google sheet, the make scenario is triggered and receives the needed order id:

It is the correct order, inside which I want to cancel a fulfilment for a line item. But “List Fulfilment Orders” doesn’t return a “Fulfillment Order ID” after that:

Am I’m missing smth here?

Hey @Ronak_Bhagdev did you have time to check it by any chance…?