---
title: CollectionUpdateSourceTargetInput - GraphQL Admin
description: >-
  The input fields for updating a collection source - provide the one field that
  represents the type of source to update.
api_version: 2026-07
source_url:
  html: >-
    https://shopify.dev/docs/api/admin-graphql/latest/input-objects/CollectionUpdateSourceTargetInput
  md: >-
    https://shopify.dev/docs/api/admin-graphql/latest/input-objects/CollectionUpdateSourceTargetInput.md
api_name: admin
api_type: graphql
type: input-object
metadata:
  domain: admin
---

# Collection​Update​Source​Target​Input

input\_object

The input fields for updating a collection source - provide the one field that represents the type of source to update.

## Fields

* condition

  [Collection​Update​Conditions​Source​Input](https://shopify.dev/docs/api/admin-graphql/latest/input-objects/CollectionUpdateConditionsSourceInput)

  An update to a shareable conditions-based source.

* sub​Collections

  [Collection​Update​Sub​Collections​Source​Input](https://shopify.dev/docs/api/admin-graphql/latest/input-objects/CollectionUpdateSubCollectionsSourceInput)

  An update to a sub-collection source whose membership comes from one or more referenced collections.

***

## Input objects using this input

* [Collection​Update​Input.sourcesToUpdate](https://shopify.dev/docs/api/admin-graphql/latest/input-objects/CollectionUpdateInput#fields-sourcesToUpdate)

  INPUT OBJECT

  The input fields required to update a collection.

***

## Map

### Input objects using this input

* [Collection​Update​Input.sourcesToUpdate](https://shopify.dev/docs/api/admin-graphql/latest/input-objects/CollectionUpdateInput#fields-sourcesToUpdate)
