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.

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

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

TuyenND
Visitor
3 0 4

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
3873 718 1221

Hi @TuyenND,

 

I think this is the one your looking for here

If this fixed your issue Likes and Accept as Solution is highly appreciated. Coffee tips fuels my dedication.
Get EXPERIENCED Shopify developers at affordable rates—visit Made4Uo.com for quick quote!
Do not lost your Shopify store! Get FREE trial with ✔️ Rewind Backup: Automatic, reliable, stress-free
TuyenND
Visitor
3 0 4

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
                        )

                )

        )

)