CollectionCreatePayload

Version 2019-04

Return type for collectionCreate mutation.

Show definition
"""
Return type for `collectionCreate` mutation.
"""
type CollectionCreatePayload {
  """
  The collection that has been created.
  """
  collection: Collection
  """
  List of errors that occurred executing the mutation.
  """
  userErrors: [UserError!]!
}

Fields

collection (Collection)

The collection that has been created.

userErrors ([UserError!]!)

List of errors that occurred executing the mutation.

Version 2019-07

Return type for collectionCreate mutation.

Show definition
"""
Return type for `collectionCreate` mutation.
"""
type CollectionCreatePayload {
  """
  The collection that has been created.
  """
  collection: Collection
  """
  List of errors that occurred executing the mutation.
  """
  userErrors: [UserError!]!
}

Fields

collection (Collection)

The collection that has been created.

userErrors ([UserError!]!)

List of errors that occurred executing the mutation.

Version 2019-10 (Latest)

Return type for collectionCreate mutation.

Show definition
"""
Return type for `collectionCreate` mutation.
"""
type CollectionCreatePayload {
  """
  The collection that has been created.
  """
  collection: Collection
  """
  List of errors that occurred executing the mutation.
  """
  userErrors: [UserError!]!
}

Fields

collection (Collection)

The collection that has been created.

userErrors ([UserError!]!)

List of errors that occurred executing the mutation.

Version 2020-01 (Release candidate)

Return type for collectionCreate mutation.

Show definition
"""
Return type for `collectionCreate` mutation.
"""
type CollectionCreatePayload {
  """
  The collection that has been created.
  """
  collection: Collection
  """
  List of errors that occurred executing the mutation.
  """
  userErrors: [UserError!]!
}

Fields

collection (Collection)

The collection that has been created.

userErrors ([UserError!]!)

List of errors that occurred executing the mutation.

Sign up for a Partner account to get started.

Sign up