How to change the order fulfillment status from unfulfillment to in progress?

TuyenND
Visitor
3 0 3

Hi everyone, I want to change the order fulfillment status from unfulfillment to in progress with GraphQL API, but I can't find the API to handle this. I'm using version 2023-01. Please someone help me resolve this problem!
Thank you.

 

https://shopify.dev/docs/api/admin-graphql/2023-01/enums/OrderDisplayFulfillmentStatus#value-fulfill...

Replies 2 (2)
made4Uo
Shopify Partner
3787 710 1099

Hi @TuyenND,

 

I think this is the one your looking for here

Volunteering to assist you!  Likes and Accept as Solution  is highly appreciated.✌
Coffee fuels my dedication. If helpful, a small Coffee Tip would be greatly appreciated.
Need EXPERIENCED Shopify developer without breaking the bank?
Hire us at Made4Uo.com for quick replies.
Stay in control and maintain your security by avoiding unnecessary store access!
TuyenND
Visitor
3 0 3

Yeah, I tried your solution, there is something I get when I call the fulfillmentOrderAcceptFulfillmentRequest GraphQL API: 

The fulfillment order's assigned fulfillment service must be of api type

I've handled all steps here 

 

This is the response when I get

 

Array
(
    [data] => Array
        (
            [fulfillmentOrderAcceptFulfillmentRequest] => Array
                (
                    [fulfillmentOrder] => 
                    [userErrors] => Array
                        (
                            [0] => Array
                                (
                                    [field] => 
                                    [message] => The fulfillment order's assigned fulfillment service must be of api type
                                )

                        )

                )

        )

    [extensions] => Array
        (
            [cost] => Array
                (
                    [requestedQueryCost] => 10
                    [actualQueryCost] => 10
                    [throttleStatus] => Array
                        (
                            [maximumAvailable] => 1000
                            [currentlyAvailable] => 990
                            [restoreRate] => 50
                        )

                )

        )

)