A space to discuss GraphQL queries, mutations, troubleshooting, throttling, and best practices.
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.
Hi @jake-frate
Are you using an api_client_id token from fulfillment service 62330929469? You can only update or delete the fulfillment service owned by the api client token.
To learn more visit the Shopify Help Center or the Community Blog.