--- title: fulfillmentServiceUpdate - GraphQL Admin description: |- Updates the [`FulfillmentService`](https://shopify.dev/docs/api/admin-graphql/latest/objects/FulfillmentService) configuration, including its name, callback URL, and operational settings. The mutation modifies how the fulfillment service handles inventory tracking, shipping requirements, and package tracking support. > Note: > To update the physical address or other location details of the fulfillment service, use the [`locationEdit`](https://shopify.dev/docs/api/admin-graphql/latest/mutations/locationEdit) mutation instead. Learn more about [editing fulfillment service locations](https://shopify.dev/docs/apps/build/orders-fulfillment/fulfillment-service-apps/build-for-fulfillment-services#step-2-edit-locations). api_version: 2026-01 api_name: admin type: mutation api_type: graphql source_url: html: https://shopify.dev/docs/api/admin-graphql/latest/mutations/fulfillmentserviceupdate md: https://shopify.dev/docs/api/admin-graphql/latest/mutations/fulfillmentserviceupdate.md --- # fulfillment​Service​Update mutation Requires `write_fulfillments` access scope. Also: The user must have fulfill\_and\_ship\_orders permission. Updates the [`FulfillmentService`](https://shopify.dev/docs/api/admin-graphql/latest/objects/FulfillmentService) configuration, including its name, callback URL, and operational settings. The mutation modifies how the fulfillment service handles inventory tracking, shipping requirements, and package tracking support. *** **Note:** To update the physical address or other location details of the fulfillment service, use the [`locationEdit`](https://shopify.dev/docs/api/admin-graphql/latest/mutations/locationEdit) mutation instead. *** Learn more about [editing fulfillment service locations](https://shopify.dev/docs/apps/build/orders-fulfillment/fulfillment-service-apps/build-for-fulfillment-services#step-2-edit-locations). ## Arguments * callbackUrl * id * inventoryManagement * name * requiresShippingMethod * trackingSupport ### Deprecated arguments * fulfillmentOrdersOptIn: deprecated * permitsSkuSharing: deprecated *** ## Fulfillment​Service​Update​Payload returns * fulfillmentService * userErrors *** ## Examples * ### Modify an existing FulfillmentService #### Description A fulfillment service app updates the name of its fulfillment service. #### Query ```graphql mutation fulfillmentServiceUpdate($id: ID!, $name: String!) { fulfillmentServiceUpdate(id: $id, name: $name) { fulfillmentService { id serviceName } userErrors { field message } } } ``` #### Variables ```json { "id": "gid://shopify/FulfillmentService/198258461", "name": "My Updated Fulfillment Warehouse" } ``` #### cURL ```bash curl -X POST \ https://your-development-store.myshopify.com/admin/api/2026-01/graphql.json \ -H 'Content-Type: application/json' \ -H 'X-Shopify-Access-Token: {access_token}' \ -d '{ "query": "mutation fulfillmentServiceUpdate($id: ID!, $name: String!) { fulfillmentServiceUpdate(id: $id, name: $name) { fulfillmentService { id serviceName } userErrors { field message } } }", "variables": { "id": "gid://shopify/FulfillmentService/198258461", "name": "My Updated Fulfillment Warehouse" } }' ``` #### React Router ```javascript import { authenticate } from "../shopify.server"; export const loader = async ({request}) => { const { admin } = await authenticate.admin(request); const response = await admin.graphql( `#graphql mutation fulfillmentServiceUpdate($id: ID!, $name: String!) { fulfillmentServiceUpdate(id: $id, name: $name) { fulfillmentService { id serviceName } userErrors { field message } } }`, { variables: { "id": "gid://shopify/FulfillmentService/198258461", "name": "My Updated Fulfillment Warehouse" }, }, ); const json = await response.json(); return json.data; } ``` #### Ruby ```ruby session = ShopifyAPI::Auth::Session.new( shop: "your-development-store.myshopify.com", access_token: access_token ) client = ShopifyAPI::Clients::Graphql::Admin.new( session: session ) query = <<~QUERY mutation fulfillmentServiceUpdate($id: ID!, $name: String!) { fulfillmentServiceUpdate(id: $id, name: $name) { fulfillmentService { id serviceName } userErrors { field message } } } QUERY variables = { "id": "gid://shopify/FulfillmentService/198258461", "name": "My Updated Fulfillment Warehouse" } response = client.query(query: query, variables: variables) ``` #### Node.js ```javascript const client = new shopify.clients.Graphql({session}); const data = await client.query({ data: { "query": `mutation fulfillmentServiceUpdate($id: ID!, $name: String!) { fulfillmentServiceUpdate(id: $id, name: $name) { fulfillmentService { id serviceName } userErrors { field message } } }`, "variables": { "id": "gid://shopify/FulfillmentService/198258461", "name": "My Updated Fulfillment Warehouse" }, }, }); ``` #### Response ```json { "fulfillmentServiceUpdate": { "fulfillmentService": { "id": "gid://shopify/FulfillmentService/198258461?id=true", "serviceName": "My Updated Fulfillment Warehouse" }, "userErrors": [] } } ``` * ### fulfillmentServiceUpdate reference