I am having issues when using the mutations “fulfillmentServiceUpdate” and “fulfillmentServiceDelete”.
I know that I have a valid FulfillmentService ID because I can get it with the query “fulfillmentService” :
query FulfillmentService($id: "gid://shopify/FulfillmentService/62330929469") {
fulfillmentService(id:$id) {
id
serviceName
}
}
{
"data": {
"fulfillmentService": {
"id": "gid://shopify/FulfillmentService/62330929469?id=true",
"serviceName": "Frate"
}
}
}
But, when I use that same ID for the mutations “fulfillmentServiceUpdate” and “fulfillmentServiceDelete”, I get the error “Fulfillment service could not be found.”:
mutation FulfillmentServiceUpdate(
$id: "gid://shopify/FulfillmentService/62330929469?id=true"
$name: "Test Name"
) {
fulfillmentServiceUpdate(
id: $id,
name: $name
) {
fulfillmentService {
id
}
userErrors {
field
message
}
}
}
{
"data": {
"fulfillmentServiceUpdate": {
"fulfillmentService": null,
"userErrors": [{
"field": [ "id" ],
"message": "Fulfillment service could not be found."
}]
}
}
}
Does anybody have any guesses/ideas as to why I get this error?
Note: I am sure that my app has both read and write fulfillments access scope enabled, so it’s not an issue of lacking an access scope.