--- title: >- New parameter on fulfillmentServiceDelete to control inventory behaviour on location removal - Shopify developer changelog description: >- Shopify’s developer changelog documents all changes to Shopify’s platform. Find the latest news and learn about new platform opportunities. source_url: html: >- https://shopify.dev/changelog/new-parameter-on-fulfillmentservicedelete-to-control-inventory-behaviour-on-location-removal md: >- https://shopify.dev/changelog/new-parameter-on-fulfillmentservicedelete-to-control-inventory-behaviour-on-location-removal.md metadata: effectiveApiVersion: 2024-10 affectedApi: - displayName: Admin GraphQL API handle: admin-graphql primaryTag: displayName: API handle: api secondaryTag: displayName: Update handle: update indicatesActionRequired: false createdAt: '2024-07-31T13:00:32-04:00' postedAt: '2024-10-01T00:00:00-04:00' updatedAt: '2024-08-01T04:55:57-04:00' effectiveAt: '2024-10-01T00:00:00-04:00' --- October 1, 2024 Tags: * Admin GraphQL API * 2024-10 # New parameter on `fulfillmentServiceDelete` to control inventory behaviour on location removal As of GraphQL API version `2024-10` we will introduce a new enum field for the `fulfillmentServiceDelete` mutation. The `inventoryAction` field will allow partners to specifiy the behaviour regarding the inventory when deleting a fulfillment service. The options are: 1. `KEEP` - this option will convert a Fulfillment Service's locations to be owned by the merchant and therefore the inventory at those locations becomes the responsiblity of the merchant. 2. `DELETE` - this option, when there are no outstanding fulfillments, will delete the inventory at the location and then the location itself. 3. `TRANSFER` - this is the existing behaviour, where a `destinationLocationId` is provided as the destination to relocate the inventory to, before the location is deleted. If either `KEEP` or `DELETE` are provided, it is not possible to also specify a `destinationLocationId`. If `KEEP` is provided, then the merchant must have a sufficient remaining quota of locations on their plan for this operation to succeed, an error will be returned if they do not.