How should i update fulfillment status of a order in shopify

I have a scenario which watch for new orders and only pass through orders that has ‘reseller’ tags attached to it and i want to update the fulfillment status of that particular order to “fulfilled”.