Hi @IGIT
We can’t provide authenticated support in the forums, but if you are hitting an Oauth page when attempting to use fulfillmentCreateV2 then I would recommend checking if your app has correct scopes for a FulfillmentService or Order Managing app, depending on your use case.
The fulfillmentCreate mutation has also been deprecated so if you haven’t already migrated to using fulfillmentOrders I would recommend doing that too.
Once that is done, this is the format I used with the fulfillmentCreateV2 mutation from my FulfillmentService app to add custom fulfillment.trackingInfo.company names to my fulfillments:
mutation fulfillmentCreateV2($fulfillment: FulfillmentV2Input!) {
fulfillmentCreateV2(fulfillment: $fulfillment) {
fulfillment {
id
}
userErrors {
field
message
}
}
}
{
"fulfillment": {
"trackingInfo": {
"number": "123",
"company": "Baz Fulfillments"
},
"lineItemsByFulfillmentOrder":[{
"fulfillmentOrderId": "gid://shopify/FulfillmentOrder/**********",
"fulfillmentOrderLineItems": {
"id": "gid://shopify/FulfillmentOrderLineItem/**********",
"quantity": 1
}
}
]
}
}