Have your say in Community Polls: What was/is your greatest motivation to start your own business?
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.

FulfillmentCreateV2 Issue

FulfillmentCreateV2 Issue

MaksBrainiac
Shopify Partner
12 1 1

I have an order with several lines, but when I call FulfillmentCreateV2 to create a single fulfillment with multiple items I've got a strange result: Fulfilled (1), Unfulfilled (1), Unfulfilled (1) and Unfulfilled (0) instead of Fulfilled (3)

 

 

"fulfillment": {
    "notifyCustomer": true,
    "originAddress": {
        "countryCode": "US"
    },
    "trackingInfo": {
        "company": "4PX",
        "number": "5555555"
    },
    "lineItemsByFulfillmentOrder": [
        {
            "fulfillmentOrderId": "gid://shopify/FulfillmentOrder/5841962532950",
            "fulfillmentOrderLineItems": {
                "id": "gid://shopify/FulfillmentOrderLineItem/12053578121302",
                "quantity": 1
            }
        },
        {
            "fulfillmentOrderId": "gid://shopify/FulfillmentOrder/5841962532950",
            "fulfillmentOrderLineItems": {
                "id": "gid://shopify/FulfillmentOrderLineItem/12053578154070",
                "quantity": 1
            }
        },
        {
            "fulfillmentOrderId": "gid://shopify/FulfillmentOrder/5841962532950",
            "fulfillmentOrderLineItems": {
                "id": "gid://shopify/FulfillmentOrderLineItem/12053578186838",
                "quantity": 1
            }
        }
    ]
}

 

 

 Is there some error in my graphql request?

X-Request-ID: 19cf00d9-ab1d-4165-a4c9-a26745552c88
Replies 0 (0)