---
title: CollectionCreateSourceTargetInput - GraphQL Admin
description: >-
  The input fields for adding a source to a collection — provide exactly one
  field

  that represents the type of source to create.
api_version: 2026-10
source_url:
  html: >-
    https://shopify.dev/docs/api/admin-graphql/latest/input-objects/CollectionCreateSourceTargetInput
  md: >-
    https://shopify.dev/docs/api/admin-graphql/latest/input-objects/CollectionCreateSourceTargetInput.md
api_name: admin
api_type: graphql
type: input-object
---

# Collection​Create​Source​Target​Input

input\_object

The input fields for adding a source to a collection — provide exactly one field that represents the type of source to create.

## Fields

* shareable​Source

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

  An existing shareable source to link to the collection.

* source

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

  Net new conditions-based source (target\_type products or variants) to create — must belong to one collection.

* sub​Collections

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

  Net new sub-collection source (target\_type collections) whose membership comes from one or more referenced collections.

***

## Input objects using this input

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

  INPUT OBJECT

  The input fields required to create a collection.

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

  INPUT OBJECT

  The input fields required to update a collection.

***

## Map

### Input objects using this input

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