Have your say in Community Polls: What was/is your greatest motivation to start your own business?

Create Draft Order From Order Action returning with shippingLine as null

Create Draft Order From Order Action returning with shippingLine as null

electronworld
Visitor
2 0 0

Hi,
We are receiving shippingLine as null in response whenever we are using createDraftOrderFromOrder graphql API

We tried with and without shipping line while creating order, didn't work.

For both of the APIs we got shippingLine null in response.

We even tried once with custom shipping line, no luck.

 

Due to which when the created draft order is attempted to be marked as complete (to an order), fails with the below response.

 

{
    "data": {
        "draftOrderComplete": {
            "draftOrder": null,
            "userErrors": [
                {
                    "field": null,
                    "message": "Something went wrong with your order, please try checking out again."
                }
            ]
        }
    },
    "extensions": {
        "cost": {
            "requestedQueryCost": 10,
            "actualQueryCost": 10,
            "throttleStatus": {
                "maximumAvailable": 2000.0,
                "currentlyAvailable": 1990,
                "restoreRate": 100.0
            }
        }
    }
}

 

 

 

Replies 0 (0)