---
title: Optional location inputs for inventory transfers - 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/optional-location-inputs-for-inventory-transfers
  md: >-
    https://shopify.dev/changelog/optional-location-inputs-for-inventory-transfers.md
metadata:
  effectiveApiVersion: 2026-01
  affectedApi:
    - displayName: Admin GraphQL API
      handle: admin-graphql
  primaryTag:
    displayName: API
    handle: api
  secondaryTag:
    displayName: Update
    handle: update
  indicatesActionRequired: false
  createdAt: '2025-09-23T10:29:13-04:00'
  postedAt: '2025-10-27T12:00:00-04:00'
  updatedAt: '2025-09-25T16:14:02-04:00'
  effectiveAt: '2025-10-27T12:00:00-04:00'
---

October 27, 2025

Tags:

* Admin GraphQL API
* 2026-01

# Optional location inputs for inventory transfers

You can now create inventory transfers without specifying an origin or destination location.

Previously, the [`InventoryTransferCreateAsReadyToShip`](https://shopify.dev/docs/api/admin-graphql/2025-10/mutations/inventorytransfercreateasreadytoship) mutation required both origin and destination location IDs.

Now, these inputs are optional. This change supports workflows where the transfer's origin or destination is unknown at creation time.

***

**Note:** You must provide at least one of origin or location as input to validate the mutation.

***

Example:

```graphql
mutation OmitOriginExample {
  inventoryTransferCreateAsReadyToShip(
    input: {
      lineItems: [
        { inventoryItemId: "gid://shopify/InventoryItem/...", quantity: 5 }
      ]
      originLocationId: null,
      destinationLocationId: "gid://shopify/Location/...",
    }
  ) {
    inventoryTransfer {
      id
      status
      origin { name }
      destination { name }
    }
  }
}
```

## What you need to do

Nothing.

This isn't a breaking change. No action is required. Existing apps that provide IDs for inventory transfer origins or destinations will continue to function correctly. If your app previously required these fields, then you can update your validation logic to treat them as optional.
